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

Standard documentation for MX_inf:

 [INTERNAL] 

::

 inf(int nrow, int ncol) -> MX
 inf((int,int) rc) -> MX
 inf(Sparsity sp) -> MX

create a matrix with all inf

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/mx.hpp#L408

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/mx.cpp#L554-L556

.......

::

 inf(int nrow, int ncol)

[INTERNAL] create a matrix with all inf

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/mx.hpp#L407

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/mx.cpp#L550-L552

.............

.......

::

 inf((int,int) rc)

[INTERNAL] create a matrix with all inf

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/mx.hpp#L408

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/mx.cpp#L554-L556

.............

.......

::

 inf(Sparsity sp)

[INTERNAL] create a matrix with all inf

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/mx.hpp#L406

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/mx.cpp#L558-L560

.............

Extra documentation

To edit, see writing tips.

Clone this wiki locally