gemseo.disciplines.analytic module#
A discipline based on analytic expressions.
- class AnalyticDiscipline(expressions, name='')[source]#
Bases:
Discipline
A discipline based on analytic expressions.
Use SymPy, a symbolic calculation engine.
Compute the Jacobian matrices by automatically differentiating the expressions.
Examples
>>> from gemseo.disciplines.analytic import AnalyticDiscipline >>> discipline = AnalyticDiscipline({"y_1": "2*x**2", "y_2": "4*x**2+5+z**3"})
Initialize self. See help(type(self)) for accurate signature.
- Parameters: