pybamm.StateVector(*y_slices, name=None, domain=None, auxiliary_domains=None, evaluation_array=None)[source]¶node in the expression tree that holds a slice to read from an external vector type
| Parameters: |
|
|---|
diff(variable)[source]¶Differentiate a symbol with respect to a variable. For any symbol that can be differentiated, return 1 if differentiating with respect to yourself, self._diff(variable) if variable is in the expression tree of the symbol, and zero otherwise.
| Parameters: | variable (pybamm.Symbol) – The variable with respect to which to differentiate |
|---|
pybamm.StateVectorDot(*y_slices, name=None, domain=None, auxiliary_domains=None, evaluation_array=None)[source]¶node in the expression tree that holds a slice to read from the ydot
| Parameters: |
|
|---|
diff(variable)[source]¶Differentiate a symbol with respect to a variable. For any symbol that can be differentiated, return 1 if differentiating with respect to yourself, self._diff(variable) if variable is in the expression tree of the symbol, and zero otherwise.
| Parameters: | variable (pybamm.Symbol) – The variable with respect to which to differentiate |
|---|