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

Standard documentation for GenDM_zeros,GenSX_zeros,GenMX_zeros:

 [INTERNAL] 

::

 zeros(int nrow, int ncol) -> DM
 zeros((int,int) rc) -> DM
 zeros(Sparsity sp) -> DM

Create a dense matrix or a matrix with specified sparsity with all entries zero.

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_matrix.hpp#L1087-L1089

.......

::

 zeros(int nrow, int ncol)

[INTERNAL] Create a dense matrix or a matrix with specified sparsity with all entries zero.

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_matrix.hpp#L1083-L1085

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

.......

::

 zeros((int,int) rc)

[INTERNAL] Create a dense matrix or a matrix with specified sparsity with all entries zero.

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_matrix.hpp#L1087-L1089

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

.......

::

 zeros(Sparsity sp)

[INTERNAL] Create a dense matrix or a matrix with specified sparsity with all entries zero.

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

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

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

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

 [INTERNAL] 

::

 zeros(int nrow, int ncol) -> SX
 zeros((int,int) rc) -> SX
 zeros(Sparsity sp) -> SX

Create a dense matrix or a matrix with specified sparsity with all entries zero.

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_matrix.hpp#L1087-L1089

.......

::

 zeros(int nrow, int ncol)

[INTERNAL] Create a dense matrix or a matrix with specified sparsity with all entries zero.

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_matrix.hpp#L1083-L1085

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

.......

::

 zeros((int,int) rc)

[INTERNAL] Create a dense matrix or a matrix with specified sparsity with all entries zero.

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_matrix.hpp#L1087-L1089

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

.......

::

 zeros(Sparsity sp)

[INTERNAL] Create a dense matrix or a matrix with specified sparsity with all entries zero.

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

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

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

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

 [INTERNAL] 

::

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

Create a dense matrix or a matrix with specified sparsity with all entries zero.

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_matrix.hpp#L1087-L1089

.......

::

 zeros(int nrow, int ncol)

[INTERNAL] Create a dense matrix or a matrix with specified sparsity with all entries zero.

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_matrix.hpp#L1083-L1085

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

.......

::

 zeros((int,int) rc)

[INTERNAL] Create a dense matrix or a matrix with specified sparsity with all entries zero.

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_matrix.hpp#L1087-L1089

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

.......

::

 zeros(Sparsity sp)

[INTERNAL] Create a dense matrix or a matrix with specified sparsity with all entries zero.

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

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

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

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

Extra documentation

To edit, see writing tips.

Clone this wiki locally