eqdisco.models.split_terms#
- eqdisco.models.split_terms(expr)[source]#
Split an expression at its top-level
add/sub/negnodes.Returns a list of
(sign, term): the additive terms of the expression, the basis functions of a linear-in-parameters reading of the model. A constant factor of a term (mul(c, F)) is removed, so that2*x0 - 3*sin(x1)gives the termsx0andsin(x1).