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

Standard documentation for mpower:

 Matrix power x^n.

::

 mpower(DM x, DM n) -> DM
 mpower(SX x, SX n) -> SX
 mpower(MX x, MX n) -> MX

Extra doc: https://github.com/casadi/casadi/wiki/L_1bi

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_matrix.hpp#L319

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_matrix.hpp#L319-L321

Extra documentation

To edit, see writing tips.

Clone this wiki locally