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

Standard documentation for Function.export_code:

 [INTERNAL] 

::

 export_code(self, str lang, dict options) -> str
 export_code(self, str lang, str fname, dict options)

Export function in specific language.

Only allowed for (a subset of) SX/MX Functions

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L1244-L1248

.......

::

 export_code(self, str lang, dict options)

[INTERNAL] Export function in specific language.

Only allowed for (a subset of) SX/MX Functions

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L1244-L1248

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

.......

::

 export_code(self, str lang, str fname, dict options)

[INTERNAL] Export function in specific language.

Only allowed for (a subset of) SX/MX Functions

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L1205-L1209

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

Extra documentation

To edit, see writing tips.

Clone this wiki locally