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

Standard documentation for DaeBuilder.create:

 [INTERNAL] 

::

 create(self, str name, dict opts) -> Function
 create(self, str name, [str] name_in, [str] name_out, dict opts) -> Function
 create(self, str fname, [str] name_in, [str] name_out, bool sx, bool lifted_calls) -> Function

Load a function from an FMU DLL, standard IO conforming with

simulator.

Parameters:

name: Name assigned to the resulting function object

opts: Optional settings

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/dae_builder.hpp#L469

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/dae_builder.cpp#L732-L739

.......

::

 create(self, str name, dict opts)

[INTERNAL] Load a function from an FMU DLL, standard IO conforming with

simulator.

Parameters:

name: Name assigned to the resulting function object

opts: Optional settings

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/dae_builder.hpp#L469

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/dae_builder.cpp#L732-L739

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

.......

::

 create(self, str name, [str] name_in, [str] name_out, dict opts)

[INTERNAL] Construct a function object, names provided.

Parameters:

name: Name assigned to the resulting function object

name_in: Names of all the inputs

name_out: Names of all the outputs

opts: Optional settings

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/dae_builder.hpp#L457

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/dae_builder.cpp#L721-L730

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

.......

::

 create(self, str fname, [str] name_in, [str] name_out, bool sx, bool lifted_calls)

[INTERNAL] Construct a function object, legacy syntax.

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/dae_builder.hpp#L445

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/dae_builder.cpp#L710-L719

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

Extra documentation

To edit, see writing tips.

Clone this wiki locally