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

Standard documentation for Function.convert_in,Function.convert_out:

 [INTERNAL] 

::

 convert_in(self, dict:DM arg) -> [DM]
 convert_in(self, [DM] arg) -> dict:DM
 convert_in(self, [SX] arg) -> dict:SX
 convert_in(self, dict:SX arg) -> [SX]
 convert_in(self, dict:MX arg) -> [MX]
 convert_in(self, [MX] arg) -> dict:MX

Convert from/to input/output lists/map.

Will raise an error when an unknown key is used or a list has incorrect size. Does not perform sparsity checking.

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/function.hpp#L996

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L1595-L1597

.......

::

 convert_in(self, dict:DM arg)

[INTERNAL] Convert from/to input/output lists/map.

Will raise an error when an unknown key is used or a list has incorrect size. Does not perform sparsity checking.

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/function.hpp#L988

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L1563-L1565

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

.......

::

 convert_in(self, [DM] arg)

[INTERNAL] Convert from/to input/output lists/map.

Will raise an error when an unknown key is used or a list has incorrect size. Does not perform sparsity checking.

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/function.hpp#L987

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L1559-L1561

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

.......

::

 convert_in(self, [SX] arg)

[INTERNAL] Convert from/to input/output lists/map.

Will raise an error when an unknown key is used or a list has incorrect size. Does not perform sparsity checking.

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/function.hpp#L991

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L1575-L1577

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

.......

::

 convert_in(self, dict:SX arg)

[INTERNAL] Convert from/to input/output lists/map.

Will raise an error when an unknown key is used or a list has incorrect size. Does not perform sparsity checking.

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/function.hpp#L992

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L1579-L1581

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

.......

::

 convert_in(self, dict:MX arg)

[INTERNAL] Convert from/to input/output lists/map.

Will raise an error when an unknown key is used or a list has incorrect size. Does not perform sparsity checking.

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/function.hpp#L996

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L1595-L1597

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

.......

::

 convert_in(self, [MX] arg)

[INTERNAL] Convert from/to input/output lists/map.

Will raise an error when an unknown key is used or a list has incorrect size. Does not perform sparsity checking.

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/function.hpp#L995

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L1591-L1593

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

 [INTERNAL] 

::

 convert_out(self, dict:DM arg) -> [DM]
 convert_out(self, [DM] arg) -> dict:DM
 convert_out(self, [SX] arg) -> dict:SX
 convert_out(self, dict:SX arg) -> [SX]
 convert_out(self, dict:MX arg) -> [MX]
 convert_out(self, [MX] arg) -> dict:MX

Convert from/to input/output lists/map.

Will raise an error when an unknown key is used or a list has incorrect size. Does not perform sparsity checking.

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/function.hpp#L998

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L1603-L1605

.......

::

 convert_out(self, dict:DM arg)

[INTERNAL] Convert from/to input/output lists/map.

Will raise an error when an unknown key is used or a list has incorrect size. Does not perform sparsity checking.

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/function.hpp#L990

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L1571-L1573

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

.......

::

 convert_out(self, [DM] arg)

[INTERNAL] Convert from/to input/output lists/map.

Will raise an error when an unknown key is used or a list has incorrect size. Does not perform sparsity checking.

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/function.hpp#L989

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L1567-L1569

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

.......

::

 convert_out(self, [SX] arg)

[INTERNAL] Convert from/to input/output lists/map.

Will raise an error when an unknown key is used or a list has incorrect size. Does not perform sparsity checking.

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/function.hpp#L993

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L1583-L1585

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

.......

::

 convert_out(self, dict:SX arg)

[INTERNAL] Convert from/to input/output lists/map.

Will raise an error when an unknown key is used or a list has incorrect size. Does not perform sparsity checking.

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/function.hpp#L994

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L1587-L1589

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

.......

::

 convert_out(self, dict:MX arg)

[INTERNAL] Convert from/to input/output lists/map.

Will raise an error when an unknown key is used or a list has incorrect size. Does not perform sparsity checking.

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/function.hpp#L998

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L1603-L1605

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

.......

::

 convert_out(self, [MX] arg)

[INTERNAL] Convert from/to input/output lists/map.

Will raise an error when an unknown key is used or a list has incorrect size. Does not perform sparsity checking.

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/function.hpp#L997

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L1599-L1601

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

Extra documentation

To edit, see writing tips.

Clone this wiki locally