-
Notifications
You must be signed in to change notification settings - Fork 364
L_197
Joris Gillis edited this page Apr 4, 2023
·
2 revisions
extracts polynomial coefficients from an expression
::
poly_coeff(DM ex, DM x) -> DM poly_coeff(SX ex, SX x) -> SX
ex: Scalar expression that represents a polynomial
x: Scalar symbol that the polynomial is build up with
Extra doc: https://github.com/casadi/casadi/wiki/L_197
Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/matrix_decl.hpp#L813
Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/matrix_decl.hpp#L813-L816
To edit, see writing tips.