Skip to content
Joris Gillis edited this page Apr 4, 2023 · 2 revisions

Standard documentation for poly_coeff:

 extracts polynomial coefficients from an expression

::

 poly_coeff(DM ex, DM x) -> DM
 poly_coeff(SX ex, SX x) -> SX

Parameters:

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

Extra documentation

To edit, see writing tips.

Clone this wiki locally