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

Standard documentation for GenDM_sym,GenSX_sym,GenMX_sym:

 [INTERNAL] 

::

 sym(str name, int nrow, int ncol) -> DM
 sym(str name, (int,int) rc) -> DM
 sym(str name, Sparsity sp) -> DM
 sym(str name, Sparsity sp, int p) -> [DM]
 sym(str name, int nrow, int ncol, int p) -> [DM]
 sym(str name, Sparsity sp, int p, int r) -> [[DM]]
 sym(str name, int nrow, int ncol, int p, int r) -> [[DM]]

Create a vector of length r of vectors of length p.

with nrow-by-ncol symbolic primitives

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

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

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

.......

::

 sym(str name, (int,int) rc)

[INTERNAL] Construct a symbolic primitive with given dimensions.

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

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

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

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

.......

::

 sym(str name, int nrow, int ncol, int p)

[INTERNAL] Create a vector of length p with nrow-by-ncol symbolic primitives.

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

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

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

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

.......

::

 sym(str name, int nrow, int ncol)

[INTERNAL] Create an nrow-by-ncol symbolic primitive.

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

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

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

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

.......

::

 sym(str name, Sparsity sp, int p)

[INTERNAL] Create a vector of length p with with matrices.

with symbolic primitives of given sparsity

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

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

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

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

.......

::

 sym(str name, Sparsity sp)

[INTERNAL] Create symbolic primitive with a given sparsity pattern.

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

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

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

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

.......

::

 sym(str name, Sparsity sp, int p, int r)

[INTERNAL] Create a vector of length r of vectors of length p with.

symbolic primitives with given sparsity

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

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

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

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

.......

::

 sym(str name, int nrow, int ncol, int p, int r)

[INTERNAL] Create a vector of length r of vectors of length p.

with nrow-by-ncol symbolic primitives

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

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

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

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

 [INTERNAL] 

::

 sym(str name, int nrow, int ncol) -> SX
 sym(str name, (int,int) rc) -> SX
 sym(str name, Sparsity sp) -> SX
 sym(str name, Sparsity sp, int p) -> [SX]
 sym(str name, int nrow, int ncol, int p) -> [SX]
 sym(str name, Sparsity sp, int p, int r) -> [[SX]]
 sym(str name, int nrow, int ncol, int p, int r) -> [[SX]]

Create a vector of length r of vectors of length p.

with nrow-by-ncol symbolic primitives

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

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

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

.......

::

 sym(str name, (int,int) rc)

[INTERNAL] Construct a symbolic primitive with given dimensions.

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

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

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

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

.......

::

 sym(str name, int nrow, int ncol, int p)

[INTERNAL] Create a vector of length p with nrow-by-ncol symbolic primitives.

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

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

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

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

.......

::

 sym(str name, int nrow, int ncol)

[INTERNAL] Create an nrow-by-ncol symbolic primitive.

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

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

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

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

.......

::

 sym(str name, Sparsity sp, int p)

[INTERNAL] Create a vector of length p with with matrices.

with symbolic primitives of given sparsity

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

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

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

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

.......

::

 sym(str name, Sparsity sp)

[INTERNAL] Create symbolic primitive with a given sparsity pattern.

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

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

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

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

.......

::

 sym(str name, Sparsity sp, int p, int r)

[INTERNAL] Create a vector of length r of vectors of length p with.

symbolic primitives with given sparsity

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

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

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

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

.......

::

 sym(str name, int nrow, int ncol, int p, int r)

[INTERNAL] Create a vector of length r of vectors of length p.

with nrow-by-ncol symbolic primitives

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

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

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

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

 [INTERNAL] 

::

 sym(str name, int nrow, int ncol) -> MX
 sym(str name, (int,int) rc) -> MX
 sym(str name, Sparsity sp) -> MX
 sym(str name, Sparsity sp, int p) -> [MX]
 sym(str name, int nrow, int ncol, int p) -> [MX]
 sym(str name, Sparsity sp, int p, int r) -> [[MX]]
 sym(str name, int nrow, int ncol, int p, int r) -> [[MX]]

Create a vector of length r of vectors of length p.

with nrow-by-ncol symbolic primitives

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

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

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

.......

::

 sym(str name, (int,int) rc)

[INTERNAL] Construct a symbolic primitive with given dimensions.

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

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

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

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

.......

::

 sym(str name, int nrow, int ncol, int p)

[INTERNAL] Create a vector of length p with nrow-by-ncol symbolic primitives.

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

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

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

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

.......

::

 sym(str name, int nrow, int ncol)

[INTERNAL] Create an nrow-by-ncol symbolic primitive.

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

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

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

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

.......

::

 sym(str name, Sparsity sp, int p)

[INTERNAL] Create a vector of length p with with matrices.

with symbolic primitives of given sparsity

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

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

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

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

.......

::

 sym(str name, Sparsity sp)

[INTERNAL] Create symbolic primitive with a given sparsity pattern.

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

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

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

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

.......

::

 sym(str name, Sparsity sp, int p, int r)

[INTERNAL] Create a vector of length r of vectors of length p with.

symbolic primitives with given sparsity

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

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

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

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

.......

::

 sym(str name, int nrow, int ncol, int p, int r)

[INTERNAL] Create a vector of length r of vectors of length p.

with nrow-by-ncol symbolic primitives

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

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

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

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

Extra documentation

To edit, see writing tips.

Clone this wiki locally