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

Standard documentation for Function.generate:

 [INTERNAL] 

::

 generate(self, dict opts) -> str
 generate(self, str fname, dict opts) -> str

Export / Generate C code for the function.

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L1132-L1134

.......

::

 generate(self, dict opts)

[INTERNAL] Export / Generate C code for the function.

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L1132-L1134

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

.......

::

 generate(self, str fname, dict opts)

[INTERNAL] Export / Generate C code for the function.

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

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

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/function.cpp#L1136-L1140

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

Extra documentation

To edit, see writing tips.

Clone this wiki locally