Definition at line 33 of file callback_internal.hpp.
|
| CallbackInternal (const std::string &name, Callback *self) |
| Constructor. More...
|
|
| ~CallbackInternal () override |
| Destructor. More...
|
|
std::string | class_name () const override |
| Get type name. More...
|
|
void | init (const Dict &opts) override |
| Initialize. More...
|
|
void | finalize () override |
| Finalize the object creation. More...
|
|
virtual int | eval (const double **arg, double **res, casadi_int *iw, double *w, void *mem) const override |
| Evaluate numerically. More...
|
|
bool | has_eval_buffer () const |
|
bool | uses_output () const override |
| Do the derivative functions need nondifferentiated outputs? More...
|
|
Function | factory (const std::string &name, const std::vector< std::string > &s_in, const std::vector< std::string > &s_out, const Function::AuxOut &aux, const Dict &opts) const override |
| Customize calls to the function factory. More...
|
|
|
size_t | get_n_in () override |
| Number of function inputs and outputs. More...
|
|
size_t | get_n_out () override |
| Number of function inputs and outputs. More...
|
|
|
Sparsity | get_sparsity_in (casadi_int i) override |
| Sparsities of function inputs and outputs. More...
|
|
Sparsity | get_sparsity_out (casadi_int i) override |
| Sparsities of function inputs and outputs. More...
|
|
|
std::string | get_name_in (casadi_int i) override |
| Names of function input and outputs. More...
|
|
std::string | get_name_out (casadi_int i) override |
| Names of function input and outputs. More...
|
|
|
std::vector< DM > | eval_dm (const std::vector< DM > &arg) const override |
| Evaluate with DM matrices. More...
|
|
bool | has_eval_dm () const override |
| Evaluate with DM matrices. More...
|
|
|
bool | has_jacobian () const override |
| Return Jacobian of all input elements with respect to all output elements. More...
|
|
Function | get_jacobian (const std::string &name, const std::vector< std::string > &inames, const std::vector< std::string > &onames, const Dict &opts) const override |
| Return Jacobian of all input elements with respect to all output elements. More...
|
|
|
bool | has_jac_sparsity (casadi_int oind, casadi_int iind) const override |
| Return sparsity of Jacobian of an output respect to an input. More...
|
|
Sparsity | get_jac_sparsity (casadi_int oind, casadi_int iind, bool symmetric) const override |
| Return sparsity of Jacobian of an output respect to an input. More...
|
|
|
bool | has_forward (casadi_int nfwd) const override |
| Return function that calculates forward derivatives. More...
|
|
Function | get_forward (casadi_int nfwd, const std::string &name, const std::vector< std::string > &inames, const std::vector< std::string > &onames, const Dict &opts) const override |
| Return function that calculates forward derivatives. More...
|
|
|
bool | has_reverse (casadi_int nadj) const override |
| Return function that calculates adjoint derivatives. More...
|
|
Function | get_reverse (casadi_int nadj, const std::string &name, const std::vector< std::string > &inames, const std::vector< std::string > &onames, const Dict &opts) const override |
| Return function that calculates adjoint derivatives. More...
|
|