pybamm.Function(function, *children, name=None, derivative='autograd', differentiated_function=None)[source]¶A node in the expression tree representing an arbitrary function
| Parameters: |
|
|---|
diff(variable)[source]¶See pybamm.Symbol.diff().
get_children_domains(children_list)[source]¶Obtains the unique domain of the children. If the children have different domains then raise an error
pybamm.SpecificFunction(function, child)[source]¶Parent class for the specific functions, which implement their own diff operators directly.
| Parameters: |
|
|---|
pybamm.max(child)[source]¶Returns max function of child. Not to be confused with pybamm.maximum(), which
returns the larger of two objects.
pybamm.min(child)[source]¶Returns min function of child. Not to be confused with pybamm.minimum(), which
returns the smaller of two objects.