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

Standard documentation for DM.erase,SX.erase:

 [INTERNAL] 

::

 erase(self, [int] rr, bool ind1)
 erase(self, [int] rr, [int] cc, bool ind1)

Erase a submatrix (leaving structural zeros in its place)

Erase elements of a matrix

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/matrix_decl.hpp#L937

.......

::

 erase(self, [int] rr, bool ind1)

[INTERNAL] Erase a submatrix (leaving structural zeros in its place)

Erase elements of a matrix

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/matrix_decl.hpp#L937

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

.......

::

 erase(self, [int] rr, [int] cc, bool ind1)

[INTERNAL] Erase a submatrix (leaving structural zeros in its place)

Erase rows and/or columns of a matrix

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/matrix_decl.hpp#L929

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

Extra documentation

To edit, see writing tips.

Clone this wiki locally