#include <callback_internal.hpp>
Definition at line 33 of file callback_internal.hpp.
Public Member Functions | |
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... | |
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... | |
Public Attributes | |
Callback * | self_ |
Pointer to the public class. More... | |
std::vector< casadi_int > | sizes_arg_ |
std::vector< casadi_int > | sizes_res_ |
bool | has_eval_buffer_ |
Friends | |
class | CallbackFunction |
|
explicit |
Extra doc: https://github.com/casadi/casadi/wiki/L_17w
|
override |
Extra doc: https://github.com/casadi/casadi/wiki/L_17x
|
inlineoverride |
Extra doc: https://github.com/casadi/casadi/wiki/L_17y
Definition at line 50 of file callback_internal.hpp.
|
overridevirtual |
Extra doc: https://github.com/casadi/casadi/wiki/L_185
Extra doc: https://github.com/casadi/casadi/wiki/L_184
|
override |
Extra doc: https://github.com/casadi/casadi/wiki/L_183
|
override |
Extra doc: https://github.com/casadi/casadi/wiki/L_189
|
override |
Extra doc: https://github.com/casadi/casadi/wiki/L_188
|
override |
Extra doc: https://github.com/casadi/casadi/wiki/L_187
|
override |
Extra doc: https://github.com/casadi/casadi/wiki/L_17z
|
override |
Extra doc: https://github.com/casadi/casadi/wiki/L_17z
|
override |
Extra doc: https://github.com/casadi/casadi/wiki/L_181
|
override |
Extra doc: https://github.com/casadi/casadi/wiki/L_181
|
override |
Extra doc: https://github.com/casadi/casadi/wiki/L_18a
|
override |
Extra doc: https://github.com/casadi/casadi/wiki/L_180
|
override |
Extra doc: https://github.com/casadi/casadi/wiki/L_180
bool casadi::CallbackInternal::has_eval_buffer | ( | ) | const |
|
inlineoverride |
Extra doc: https://github.com/casadi/casadi/wiki/L_184
Definition at line 91 of file callback_internal.hpp.
|
override |
Extra doc: https://github.com/casadi/casadi/wiki/L_189
|
override |
Extra doc: https://github.com/casadi/casadi/wiki/L_188
|
override |
Extra doc: https://github.com/casadi/casadi/wiki/L_187
|
override |
Extra doc: https://github.com/casadi/casadi/wiki/L_18a
|
override |
Extra doc: https://github.com/casadi/casadi/wiki/L_182
|
override |
Extra doc: https://github.com/casadi/casadi/wiki/L_186
|
friend |
Definition at line 34 of file callback_internal.hpp.
bool casadi::CallbackInternal::has_eval_buffer_ |
Definition at line 154 of file callback_internal.hpp.
Callback* casadi::CallbackInternal::self_ |
Extra doc: https://github.com/casadi/casadi/wiki/L_18b
Definition at line 150 of file callback_internal.hpp.
std::vector<casadi_int> casadi::CallbackInternal::sizes_arg_ |
Definition at line 153 of file callback_internal.hpp.
std::vector<casadi_int> casadi::CallbackInternal::sizes_res_ |
Definition at line 153 of file callback_internal.hpp.