'fast_newton' plugin for Rootfinder More...
#include <fast_newton.hpp>
Implements simple newton iterations to solve an implicit function.
Extra doc: https://github.com/casadi/casadi/wiki/L_237
Id | Type | Description |
---|---|---|
abstol | OT_DOUBLE | Stopping criterion tolerance on ||g||__inf) |
abstolStep | OT_DOUBLE | Stopping criterion tolerance on step size |
max_iter | OT_INT | Maximum number of Newton iterations to perform before returning. |
Id | Type | Description | Used in |
---|---|---|---|
abstol | OT_DOUBLE | Stopping criterion tolerance on ||g||__inf) | casadi::FastNewton |
abstolStep | OT_DOUBLE | Stopping criterion tolerance on step size | casadi::FastNewton |
ad_weight | OT_DOUBLE | Weighting factor for derivative calculation.When there is an option of either using forward or reverse mode directional derivatives, the condition ad_weight*nf<=(1-ad_weight)*na is used where nf and na are estimates of the number of forward/reverse mode directional derivatives needed. By default, ad_weight is calculated automatically, but this can be overridden by setting this option. In particular, 0 means forcing forward mode and 1 forcing reverse mode. Leave unset for (class specific) heuristics. | casadi::FunctionInternal |
ad_weight_sp | OT_DOUBLE | Weighting factor for sparsity pattern calculation calculation.Overrides default behavior. Set to 0 and 1 to force forward and reverse mode respectively. Cf. option "ad_weight". When set to -1, sparsity is completely ignored and dense matrices are used. | casadi::FunctionInternal |
always_inline | OT_BOOL | Force inlining. | casadi::FunctionInternal |
cache | OT_DICT | Prepopulate the function cache. Default: empty | casadi::FunctionInternal |
common_options | OT_DICT | Options for auto-generated functions | casadi::OracleFunction |
compiler | OT_STRING | Just-in-time compiler plugin to be used. | casadi::FunctionInternal |
constraints | OT_INTVECTOR | Constrain the unknowns. 0 (default): no constraint on ui, 1: ui >= 0.0, -1: ui <= 0.0, 2: ui > 0.0, -2: ui < 0.0. | casadi::Rootfinder |
custom_jacobian | OT_FUNCTION | Override CasADi's AD. Use together with 'jac_penalty': 0. Note: Highly experimental. Syntax may break often. | casadi::FunctionInternal |
der_options | OT_DICT | Default options to be used to populate forward_options, reverse_options, and jacobian_options before those options are merged in. | casadi::FunctionInternal |
derivative_of | OT_FUNCTION | The function is a derivative of another function. The type of derivative (directional derivative, Jacobian) is inferred from the function name. | casadi::FunctionInternal |
dump | OT_BOOL | Dump function to file upon first evaluation. [false] | casadi::FunctionInternal |
dump_dir | OT_STRING | Directory to dump inputs/outputs to. Make sure the directory exists [.] | casadi::FunctionInternal |
dump_format | OT_STRING | Choose file format to dump matrices. See DM.from_file [mtx] | casadi::FunctionInternal |
dump_in | OT_BOOL | Dump numerical values of inputs to file (readable with DM.from_file) [default: false] | casadi::FunctionInternal |
dump_out | OT_BOOL | Dump numerical values of outputs to file (readable with DM.from_file) [default: false] | casadi::FunctionInternal |
enable_fd | OT_BOOL | Enable derivative calculation by finite differencing. [default: false]] | casadi::FunctionInternal |
enable_forward | OT_BOOL | Enable derivative calculation using generated functions for Jacobian-times-vector products - typically using forward mode AD - if available. [default: true] | casadi::FunctionInternal |
enable_jacobian | OT_BOOL | Enable derivative calculation using generated functions for Jacobians of all differentiable outputs with respect to all differentiable inputs - if available. [default: true] | casadi::FunctionInternal |
enable_reverse | OT_BOOL | Enable derivative calculation using generated functions for transposed Jacobian-times-vector products - typically using reverse mode AD - if available. [default: true] | casadi::FunctionInternal |
error_on_fail | OT_BOOL | Throw exceptions when function evaluation fails (default true). | casadi::ProtoFunction |
expand | OT_BOOL | Replace MX with SX expressions in problem formulation [false] This happens before creating derivatives unless indicated by postpone_expand | casadi::OracleFunction |
external_transform | OT_VECTORVECTOR | List of external_transform instruction arguments. Default: empty | casadi::FunctionInternal |
fd_method | OT_STRING | Method for finite differencing [default 'central'] | casadi::FunctionInternal |
fd_options | OT_DICT | Options to be passed to the finite difference instance | casadi::FunctionInternal |
forward_options | OT_DICT | Options to be passed to a forward mode constructor | casadi::FunctionInternal |
gather_stats | OT_BOOL | Deprecated option (ignored): Statistics are now always collected. | casadi::FunctionInternal |
implicit_input | OT_INT | Index of the input that corresponds to the actual root-finding | casadi::Rootfinder |
implicit_output | OT_INT | Index of the output that corresponds to the actual root-finding | casadi::Rootfinder |
input_scheme | OT_STRINGVECTOR | Deprecated option (ignored) | casadi::FunctionInternal |
inputs_check | OT_BOOL | Throw exceptions when the numerical values of the inputs don't make sense | casadi::FunctionInternal |
is_diff_in | OT_BOOLVECTOR | Indicate for each input if it should be differentiable. | casadi::FunctionInternal |
is_diff_out | OT_BOOLVECTOR | Indicate for each output if it should be differentiable. | casadi::FunctionInternal |
jac_penalty | OT_DOUBLE | When requested for a number of forward/reverse directions, it may be cheaper to compute first the full jacobian and then multiply with seeds, rather than obtain the requested directions in a straightforward manner. Casadi uses a heuristic to decide which is cheaper. A high value of 'jac_penalty' makes it less likely for the heurstic to chose the full Jacobian strategy. The special value -1 indicates never to use the full Jacobian strategy | casadi::FunctionInternal |
jacobian_function | OT_FUNCTION | Function object for calculating the Jacobian (autogenerated by default) | casadi::Rootfinder |
jacobian_options | OT_DICT | Options to be passed to a Jacobian constructor | casadi::FunctionInternal |
jit | OT_BOOL | Use just-in-time compiler to speed up the evaluation | casadi::FunctionInternal |
jit_cleanup | OT_BOOL | Cleanup up the temporary source file that jit creates. Default: true | casadi::FunctionInternal |
jit_name | OT_STRING | The file name used to write out code. The actual file names used depend on 'jit_temp_suffix' and include extensions. Default: 'jit_tmp' | casadi::FunctionInternal |
jit_options | OT_DICT | Options to be passed to the jit compiler. | casadi::FunctionInternal |
jit_serialize | OT_STRING | Specify behaviour when serializing a jitted function: SOURCE|link|embed. | casadi::FunctionInternal |
jit_temp_suffix | OT_BOOL | Use a temporary (seemingly random) filename suffix for generated code and libraries. This is desired for thread-safety. This behaviour may defeat caching compiler wrappers. Default: true | casadi::FunctionInternal |
linear_solver | OT_STRING | User-defined linear solver class. Needed for sensitivities. | casadi::Rootfinder |
linear_solver_options | OT_DICT | Options to be passed to the linear solver. | casadi::Rootfinder |
max_io | OT_INT | Acceptable number of inputs and outputs. Warn if exceeded. | casadi::FunctionInternal |
max_iter | OT_INT | Maximum number of Newton iterations to perform before returning. | casadi::FastNewton |
max_num_dir | OT_INT | Specify the maximum number of directions for derivative functions. Overrules the builtin optimized_num_dir. | casadi::FunctionInternal |
monitor | OT_STRINGVECTOR | Set of user problem functions to be monitored | casadi::OracleFunction |
never_inline | OT_BOOL | Forbid inlining. | casadi::FunctionInternal |
output_scheme | OT_STRINGVECTOR | Deprecated option (ignored) | casadi::FunctionInternal |
post_expand | OT_BOOL | After construction, expand this Function. Default: False | casadi::FunctionInternal |
post_expand_options | OT_DICT | Options to be passed to post-construction expansion. Default: empty | casadi::FunctionInternal |
postpone_expand | OT_BOOL | When expand is active, postpone it until after creation of derivatives. Default: False | casadi::OracleFunction |
print_in | OT_BOOL | Print numerical values of inputs [default: false] | casadi::FunctionInternal |
print_out | OT_BOOL | Print numerical values of outputs [default: false] | casadi::FunctionInternal |
print_time | OT_BOOL | print information about execution time. Implies record_time. | casadi::ProtoFunction |
record_time | OT_BOOL | record information about execution time, for retrieval with stats(). | casadi::ProtoFunction |
regularity_check | OT_BOOL | Throw exceptions when NaN or Inf appears during evaluation | casadi::ProtoFunction |
reverse_options | OT_DICT | Options to be passed to a reverse mode constructor | casadi::FunctionInternal |
show_eval_warnings | OT_BOOL | Show warnings generated from function evaluations [true] | casadi::OracleFunction |
specific_options | OT_DICT | Options for specific auto-generated functions, overwriting the defaults from common_options. Nested dictionary. | casadi::OracleFunction |
user_data | OT_VOIDPTR | A user-defined field that can be used to identify the function or pass additional information | casadi::FunctionInternal |
verbose | OT_BOOL | Verbose evaluation – for debugging | casadi::ProtoFunction |
Definition at line 63 of file fast_newton.hpp.
Public Types | |
typedef Rootfinder *(* | Creator) (const std::string &name, const Function &oracle) |
using | weak_ref_type = WeakRefInternal |
typedef int(* | RegFcn) (Plugin *plugin) |
Public Member Functions | |
FastNewton (const std::string &name, const Function &f) | |
Constructor. More... | |
~FastNewton () override | |
Destructor. More... | |
const char * | plugin_name () const override |
std::string | class_name () const override |
Readable name of the internal class. More... | |
Dict | get_stats (void *mem) const override |
Get all statistics. More... | |
void | init (const Dict &opts) override |
Initialize. More... | |
void * | alloc_mem () const override |
Create memory block. More... | |
int | init_mem (void *mem) const override |
Initalize memory block. More... | |
void | free_mem (void *mem) const override |
Free memory block. More... | |
void | set_work (void *mem, const double **&arg, double **&res, casadi_int *&iw, double *&w) const override |
Set the (persistent) work vectors. More... | |
int | solve (void *mem) const override |
Solve the system of equations and calculate derivatives. More... | |
void | codegen_body (CodeGenerator &g) const override |
Generate code for the function body. More... | |
void | codegen_declarations (CodeGenerator &g) const override |
Generate code for the declarations of the C function. More... | |
void | serialize_body (SerializingStream &s) const override |
Serialize an object without type information. More... | |
int | eval (const double **arg, double **res, casadi_int *iw, double *w, void *mem) const override |
Evaluate numerically. More... | |
int | sp_forward (const bvec_t **arg, bvec_t **res, casadi_int *iw, bvec_t *w, void *mem) const override |
Propagate sparsity forward. More... | |
int | sp_reverse (bvec_t **arg, bvec_t **res, casadi_int *iw, bvec_t *w, void *mem) const override |
Propagate sparsity backwards. More... | |
bool | uses_output () const override |
Do the derivative functions need nondifferentiated outputs? More... | |
virtual void | ad_forward (const std::vector< MX > &arg, const std::vector< MX > &res, const std::vector< std::vector< MX > > &fseed, std::vector< std::vector< MX > > &fsens, bool always_inline, bool never_inline) const |
Create call to (cached) derivative function, forward mode. More... | |
virtual void | ad_reverse (const std::vector< MX > &arg, const std::vector< MX > &res, const std::vector< std::vector< MX > > &aseed, std::vector< std::vector< MX > > &asens, bool always_inline, bool never_inline) const |
Create call to (cached) derivative function, reverse mode. More... | |
void | serialize_type (SerializingStream &s) const override |
Serialize type information. More... | |
std::string | serialize_base_function () const override |
String used to identify the immediate FunctionInternal subclass. More... | |
void | finalize () override |
Finalize initialization. More... | |
void | join_results (OracleMemory *m) const |
Combine results from different threads. More... | |
const Function & | oracle () const override |
Get oracle. More... | |
void | expand () |
Function | create_function (const Function &oracle, const std::string &fname, const std::vector< std::string > &s_in, const std::vector< std::string > &s_out, const Function::AuxOut &aux=Function::AuxOut(), const Dict &opts=Dict()) |
Function | create_function (const std::string &fname, const std::vector< std::string > &s_in, const std::vector< std::string > &s_out, const Function::AuxOut &aux=Function::AuxOut(), const Dict &opts=Dict()) |
Function | create_function (const std::string &fname, const std::vector< MX > &e_in, const std::vector< MX > &e_out, const std::vector< std::string > &s_in, const std::vector< std::string > &s_out, const Dict &opts=Dict()) |
Function | create_forward (const std::string &fname, casadi_int nfwd) |
void | set_function (const Function &fcn, const std::string &fname, bool jit=false) |
void | set_function (const Function &fcn) |
int | calc_function (OracleMemory *m, const std::string &fcn, const double *const *arg=nullptr, int thread_id=0) const |
int | calc_sp_forward (const std::string &fcn, const bvec_t **arg, bvec_t **res, casadi_int *iw, bvec_t *w) const |
int | calc_sp_reverse (const std::string &fcn, bvec_t **arg, bvec_t **res, casadi_int *iw, bvec_t *w) const |
std::vector< std::string > | get_function () const override |
Get list of dependency functions. More... | |
const Function & | get_function (const std::string &name) const override |
virtual bool | monitored (const std::string &name) const |
bool | has_function (const std::string &fname) const override |
std::string | generate_dependencies (const std::string &fname, const Dict &opts) const override |
Export / Generate C code for the generated functions. More... | |
void | jit_dependencies (const std::string &fname) override |
JIT for dependencies. More... | |
int | local_init_mem (void *mem) const |
Initalize memory block. More... | |
void | set_temp (void *mem, const double **arg, double **res, casadi_int *iw, double *w) const override |
Set the work vectors. More... | |
virtual void | codegen_body_enter (CodeGenerator &g) const |
Generate code for the function body. More... | |
virtual void | codegen_body_exit (CodeGenerator &g) const |
Generate code for the function body. More... | |
virtual std::string | getAdaptorSolverName () const |
Obtain solver name from Adaptor. More... | |
Dict | generate_options (const std::string &target) const override |
Reconstruct options dict. More... | |
void | change_option (const std::string &option_name, const GenericType &option_value) override |
Change option after object creation for debugging. More... | |
Function | self () const |
Get a public class instance. More... | |
virtual 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 |
void | add_embedded (std::map< FunctionInternal *, Function > &all_fun, const Function &dep, casadi_int max_depth) const |
virtual void | find (std::map< FunctionInternal *, Function > &all_fun, casadi_int max_depth) const |
virtual std::vector< bool > | which_depends (const std::string &s_in, const std::vector< std::string > &s_out, casadi_int order, bool tr=false) const |
Which variables enter with some order. More... | |
virtual int | eval_sx (const SXElem **arg, SXElem **res, casadi_int *iw, SXElem *w, void *mem, bool always_inline, bool never_inline) const |
Evaluate with symbolic scalars. More... | |
virtual void | eval_mx (const MXVector &arg, MXVector &res, bool always_inline, bool never_inline) const |
Evaluate with symbolic matrices. More... | |
template<typename M > | |
void | call (const std::vector< M > &arg, std::vector< M > &res, bool always_inline, bool never_inline) const |
Call a function, templated. More... | |
template<typename M > | |
bool | matching_arg (const std::vector< M > &arg, casadi_int &npar) const |
Check if input arguments that needs to be replaced. More... | |
template<typename M > | |
bool | matching_res (const std::vector< M > &arg, casadi_int &npar) const |
Check if output arguments that needs to be replaced. More... | |
template<typename M > | |
std::vector< M > | replace_arg (const std::vector< M > &arg, casadi_int npar) const |
Replace 0-by-0 inputs. More... | |
template<typename M > | |
std::vector< M > | project_arg (const std::vector< M > &arg, casadi_int npar) const |
Project sparsities. More... | |
template<typename M > | |
std::vector< M > | project_res (const std::vector< M > &arg, casadi_int npar) const |
Project sparsities. More... | |
template<typename M > | |
std::vector< M > | replace_res (const std::vector< M > &res, casadi_int npar) const |
Replace 0-by-0 outputs. More... | |
template<typename M > | |
std::vector< std::vector< M > > | replace_fseed (const std::vector< std::vector< M >> &fseed, casadi_int npar) const |
Replace 0-by-0 forward seeds. More... | |
template<typename M > | |
std::vector< std::vector< M > > | replace_fseed (const std::vector< std::vector< M > > &fseed, casadi_int npar) const |
template<typename M > | |
std::vector< std::vector< M > > | replace_aseed (const std::vector< std::vector< M >> &aseed, casadi_int npar) const |
Replace 0-by-0 reverse seeds. More... | |
template<typename M > | |
std::vector< std::vector< M > > | replace_aseed (const std::vector< std::vector< M > > &aseed, casadi_int npar) const |
std::vector< MX > | mapsum_mx (const std::vector< MX > &arg, const std::string ¶llelization) |
Parallel evaluation. More... | |
std::string | diff_prefix (const std::string &prefix) const |
Determine prefix for differentiated functions. More... | |
virtual Function | slice (const std::string &name, const std::vector< casadi_int > &order_in, const std::vector< casadi_int > &order_out, const Dict &opts) const |
returns a new function with a selection of inputs/outputs of the original More... | |
bool | has_derivative () const |
Can derivatives be calculated in any way? More... | |
virtual double | ad_weight () const |
Weighting factor for chosing forward/reverse mode. More... | |
virtual double | sp_weight () const |
Weighting factor for chosing forward/reverse mode,. More... | |
virtual std::vector< MX > | free_mx () const |
Get free variables (MX) More... | |
virtual std::vector< SX > | free_sx () const |
Get free variables (SX) More... | |
virtual bool | has_free () const |
Does the function have free variables. More... | |
virtual void | generate_lifted (Function &vdef_fcn, Function &vinit_fcn) const |
Extract the functions needed for the Lifted Newton method. More... | |
virtual casadi_int | n_instructions () const |
Get the number of atomic operations. More... | |
virtual casadi_int | instruction_id (casadi_int k) const |
Get an atomic operation operator index. More... | |
virtual std::vector< casadi_int > | instruction_input (casadi_int k) const |
Get the (integer) input arguments of an atomic operation. More... | |
virtual double | instruction_constant (casadi_int k) const |
Get the floating point output argument of an atomic operation. More... | |
virtual std::vector< casadi_int > | instruction_output (casadi_int k) const |
Get the (integer) output argument of an atomic operation. More... | |
virtual casadi_int | n_nodes () const |
Number of nodes in the algorithm. More... | |
virtual MX | instruction_MX (casadi_int k) const |
get MX expression associated with instruction More... | |
virtual SX | instructions_sx () const |
get SX expression associated with instructions More... | |
Function | wrap () const |
Wrap in an Function instance consisting of only one MX call. More... | |
Function | wrap_as_needed (const Dict &opts) const |
Wrap in an Function instance consisting of only one MX call. More... | |
Dict | cache () const |
Get all functions in the cache. More... | |
bool | incache (const std::string &fname, Function &f, const std::string &suffix="") const |
Get function in cache. More... | |
void | tocache (const Function &f, const std::string &suffix="") const |
Save function to cache. More... | |
void | tocache_if_missing (Function &f, const std::string &suffix="") const |
Save function to cache, only if missing. More... | |
void | codegen (CodeGenerator &g, const std::string &fname) const |
Generate code the function. More... | |
void | codegen_meta (CodeGenerator &g) const |
Generate meta-information allowing a user to evaluate a generated function. More... | |
void | codegen_sparsities (CodeGenerator &g) const |
Codegen sparsities. More... | |
virtual std::string | codegen_name (const CodeGenerator &g, bool ns=true) const |
Get name in codegen. More... | |
std::string | codegen_mem (CodeGenerator &g, const std::string &index="mem") const |
Get thread-local memory object. More... | |
virtual void | codegen_incref (CodeGenerator &g) const |
Codegen incref for dependencies. More... | |
virtual void | codegen_decref (CodeGenerator &g) const |
Codegen decref for dependencies. More... | |
virtual void | codegen_alloc_mem (CodeGenerator &g) const |
Codegen decref for alloc_mem. More... | |
virtual void | codegen_init_mem (CodeGenerator &g) const |
Codegen decref for init_mem. More... | |
virtual void | codegen_free_mem (CodeGenerator &g) const |
Codegen for free_mem. More... | |
virtual void | codegen_checkout (CodeGenerator &g) const |
Codegen for checkout. More... | |
virtual void | codegen_release (CodeGenerator &g) const |
Codegen for release. More... | |
std::string | signature (const std::string &fname) const |
Code generate the function. More... | |
std::string | signature_unrolled (const std::string &fname) const |
Code generate the function. More... | |
virtual std::string | codegen_mem_type () const |
Thread-local memory object type. More... | |
virtual bool | has_codegen () const |
Is codegen supported? More... | |
virtual void | export_code (const std::string &lang, std::ostream &stream, const Dict &options) const |
Export function in a specific language. More... | |
void | disp (std::ostream &stream, bool more) const override |
Display object. More... | |
virtual void | disp_more (std::ostream &stream) const |
Print more. More... | |
std::string | definition () const |
Get function signature: name:(inputs)->(outputs) More... | |
void | print_dimensions (std::ostream &stream) const |
Print dimensions of inputs and outputs. More... | |
virtual std::vector< std::string > | get_free () const |
Print free variables. More... | |
void | get_partition (casadi_int iind, casadi_int oind, Sparsity &D1, Sparsity &D2, bool compact, bool symmetric, bool allow_forward, bool allow_reverse) const |
Get the unidirectional or bidirectional partition. More... | |
virtual double | get_default_in (casadi_int ind) const |
Get default input value. More... | |
virtual double | get_max_in (casadi_int ind) const |
Get largest input value. More... | |
virtual double | get_min_in (casadi_int ind) const |
Get smallest input value. More... | |
virtual std::vector< double > | get_nominal_in (casadi_int ind) const |
virtual std::vector< double > | get_nominal_out (casadi_int ind) const |
virtual double | get_reltol () const |
Get relative tolerance. More... | |
virtual double | get_abstol () const |
Get absolute tolerance. More... | |
virtual bool | get_diff_in (casadi_int i) |
Which inputs are differentiable. More... | |
virtual bool | get_diff_out (casadi_int i) |
Which outputs are differentiable. More... | |
casadi_int | index_in (const std::string &name) const |
Get input scheme index by name. More... | |
casadi_int | index_out (const std::string &name) const |
Get output scheme index by name. More... | |
virtual int | sp_forward_block (const bvec_t **arg, bvec_t **res, casadi_int *iw, bvec_t *w, void *mem, casadi_int oind, casadi_int iind) const |
Propagate sparsity forward, specific block. More... | |
void | sz_work (size_t &sz_arg, size_t &sz_res, size_t &sz_iw, size_t &sz_w) const |
Get number of temporary variables needed. More... | |
size_t | sz_arg () const |
Get required length of arg field. More... | |
size_t | sz_res () const |
Get required length of res field. More... | |
size_t | sz_iw () const |
Get required length of iw field. More... | |
size_t | sz_w () const |
Get required length of w field. More... | |
void | alloc_arg (size_t sz_arg, bool persistent=false) |
Ensure required length of arg field. More... | |
void | alloc_res (size_t sz_res, bool persistent=false) |
Ensure required length of res field. More... | |
void | alloc_iw (size_t sz_iw, bool persistent=false) |
Ensure required length of iw field. More... | |
void | alloc_w (size_t sz_w, bool persistent=false) |
Ensure required length of w field. More... | |
void | alloc (const Function &f, bool persistent=false, int num_threads=1) |
Ensure work vectors long enough to evaluate function. More... | |
void | setup (void *mem, const double **arg, double **res, casadi_int *iw, double *w) const |
Set the (persistent and temporary) work vectors. More... | |
virtual Dict | info () const |
Function | map (casadi_int n, const std::string ¶llelization) const |
Generate/retrieve cached serial map. More... | |
void | generate_in (const std::string &fname, const double **arg) const |
Export an input file that can be passed to generate C code with a main. More... | |
void | generate_out (const std::string &fname, double **res) const |
virtual bool | is_a (const std::string &type, bool recursive) const |
Check if the function is of a particular type. More... | |
virtual void | merge (const std::vector< MX > &arg, std::vector< MX > &subs_from, std::vector< MX > &subs_to) const |
List merge opportunitities. More... | |
template<typename MatType > | |
std::vector< std::vector< MatType > > | fwd_seed (casadi_int nfwd) const |
Symbolic expressions for the forward seeds. More... | |
template<typename MatType > | |
std::vector< std::vector< MatType > > | symbolicAdjSeed (casadi_int nadj, const std::vector< MatType > &v) const |
Symbolic expressions for the adjoint seeds. More... | |
void | print_in (std::ostream &stream, const double **arg, bool truncate) const |
Print inputs. More... | |
void | print_out (std::ostream &stream, double **res, bool truncate) const |
Print outputs. More... | |
void | construct (const Dict &opts) |
Construct. More... | |
void | print_options (std::ostream &stream) const |
Print list of options. More... | |
void | print_option (const std::string &name, std::ostream &stream) const |
Print all information there is to know about a certain option. More... | |
bool | has_option (const std::string &option_name) const |
Does a particular option exist. More... | |
int | checkout () const |
Checkout a memory object. More... | |
void | release (int mem) const |
Release a memory object. More... | |
void * | memory (int ind) const |
Memory objects. More... | |
bool | has_memory (int ind) const |
Check for existance of memory object. More... | |
virtual void | check_mem_count (casadi_int n) const |
Check for validatity of memory object count. More... | |
void | clear_mem () |
Clear all memory (called from destructor) More... | |
void | print (const char *fmt,...) const |
C-style formatted printing during evaluation. More... | |
void | sprint (char *buf, size_t buf_sz, const char *fmt,...) const |
C-style formatted printing to string. More... | |
void | format_time (char *buffer, double time) const |
Format time in a fixed width 8 format. More... | |
void | print_time (const std::map< std::string, FStats > &fstats) const |
Print timing statistics. More... | |
void | serialize (SerializingStream &s) const |
Serialize an object. More... | |
casadi_int | getCount () const |
Get the reference count. More... | |
std::string | debug_repr (const SharedObjectInternal *) const |
GenericWeakRef< SharedObject, SharedObjectInternal > * | weak () |
Get a weak reference to the object. 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... | |
bool | has_spfwd () const override |
bool | has_sprev () const override |
bool | has_forward (casadi_int nfwd) const override |
Generate a function that calculates nfwd 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 |
Generate a function that calculates nfwd forward derivatives. More... | |
bool | has_reverse (casadi_int nadj) const override |
Generate a function that calculates nadj 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 |
Generate a function that calculates nadj adjoint derivatives. More... | |
int | eval_gen (const double **arg, double **res, casadi_int *iw, double *w, void *mem, bool always_inline, bool never_inline) const |
Evaluate numerically. More... | |
int | eval_gen (const SXElem **arg, SXElem **res, casadi_int *iw, SXElem *w, void *mem, bool always_inline, bool never_inline) const |
Evaluate a function, overloaded. More... | |
int | eval_gen (const bvec_t **arg, bvec_t **res, casadi_int *iw, bvec_t *w, void *mem, bool always_inline, bool never_inline) const |
Evaluate a function, overloaded. More... | |
virtual std::vector< DM > | eval_dm (const std::vector< DM > &arg) const |
Evaluate with DM matrices. More... | |
virtual bool | has_eval_dm () const |
Evaluate with DM matrices. More... | |
void | call_gen (const MXVector &arg, MXVector &res, casadi_int npar, bool always_inline, bool never_inline) const |
Call a function, overloaded. More... | |
template<typename D > | |
void | call_gen (const std::vector< Matrix< D > > &arg, std::vector< Matrix< D > > &res, casadi_int npar, bool always_inline, bool never_inline) const |
Call a function, overloaded. More... | |
template<typename M > | |
void | check_arg (const std::vector< M > &arg, casadi_int &npar) const |
Check if input arguments have correct length and dimensions. More... | |
template<typename M > | |
void | check_res (const std::vector< M > &res, casadi_int &npar) const |
Check if output arguments have correct length and dimensions. More... | |
template<typename M > | |
std::map< std::string, M > | convert_arg (const std::vector< M > &arg) const |
Convert from/to input/output lists/map. More... | |
template<typename M > | |
std::vector< M > | convert_arg (const std::map< std::string, M > &arg) const |
Convert from/to input/output lists/map. More... | |
template<typename M > | |
std::map< std::string, M > | convert_res (const std::vector< M > &res) const |
Convert from/to input/output lists/map. More... | |
template<typename M > | |
std::vector< M > | convert_res (const std::map< std::string, M > &res) const |
Convert from/to input/output lists/map. More... | |
std::vector< double > | nz_in (const std::vector< DM > &arg) const |
Convert from/to flat vector of input/output nonzeros. More... | |
std::vector< DM > | nz_in (const std::vector< double > &arg) const |
Convert from/to flat vector of input/output nonzeros. More... | |
std::vector< double > | nz_out (const std::vector< DM > &res) const |
Convert from/to flat vector of input/output nonzeros. More... | |
std::vector< DM > | nz_out (const std::vector< double > &res) const |
Convert from/to flat vector of input/output nonzeros. More... | |
virtual void | call_forward (const std::vector< MX > &arg, const std::vector< MX > &res, const std::vector< std::vector< MX > > &fseed, std::vector< std::vector< MX > > &fsens, bool always_inline, bool never_inline) const |
Forward mode AD, virtual functions overloaded in derived classes. More... | |
virtual void | call_forward (const std::vector< SX > &arg, const std::vector< SX > &res, const std::vector< std::vector< SX > > &fseed, std::vector< std::vector< SX > > &fsens, bool always_inline, bool never_inline) const |
Forward mode AD, virtual functions overloaded in derived classes. More... | |
virtual void | call_reverse (const std::vector< MX > &arg, const std::vector< MX > &res, const std::vector< std::vector< MX > > &aseed, std::vector< std::vector< MX > > &asens, bool always_inline, bool never_inline) const |
Reverse mode, virtual functions overloaded in derived classes. More... | |
virtual void | call_reverse (const std::vector< SX > &arg, const std::vector< SX > &res, const std::vector< std::vector< SX > > &aseed, std::vector< std::vector< SX > > &asens, bool always_inline, bool never_inline) const |
Reverse mode, virtual functions overloaded in derived classes. More... | |
Function | jacobian () const |
Return Jacobian of all input elements with respect to all output elements. More... | |
virtual bool | has_jacobian () const |
Return Jacobian of all input elements with respect to all output elements. More... | |
virtual Function | get_jacobian (const std::string &name, const std::vector< std::string > &inames, const std::vector< std::string > &onames, const Dict &opts) const |
Return Jacobian of all input elements with respect to all output elements. More... | |
Sparsity & | jac_sparsity (casadi_int oind, casadi_int iind, bool compact, bool symmetric) const |
Get Jacobian sparsity. More... | |
virtual bool | has_jac_sparsity (casadi_int oind, casadi_int iind) const |
Get Jacobian sparsity. More... | |
virtual Sparsity | get_jac_sparsity (casadi_int oind, casadi_int iind, bool symmetric) const |
Get Jacobian sparsity. More... | |
Function | forward (casadi_int nfwd) const |
Return function that calculates forward derivatives. More... | |
Function | reverse (casadi_int nadj) const |
Return function that calculates adjoint derivatives. More... | |
virtual const SX | sx_in (casadi_int ind) const |
Get function input(s) and output(s) More... | |
virtual const std::vector< SX > | sx_in () const |
Get function input(s) and output(s) More... | |
virtual const SX | sx_out (casadi_int ind) const |
Get function input(s) and output(s) More... | |
virtual const std::vector< SX > | sx_out () const |
Get function input(s) and output(s) More... | |
virtual const MX | mx_in (casadi_int ind) const |
Get function input(s) and output(s) More... | |
virtual const std::vector< MX > | mx_in () const |
Get function input(s) and output(s) More... | |
virtual const MX | mx_out (casadi_int ind) const |
Get function input(s) and output(s) More... | |
virtual const std::vector< MX > | mx_out () const |
Get function input(s) and output(s) More... | |
const DM | dm_in (casadi_int ind) const |
Get function input(s) and output(s) More... | |
const std::vector< DM > | dm_in () const |
Get function input(s) and output(s) More... | |
const DM | dm_out (casadi_int ind) const |
Get function input(s) and output(s) More... | |
const std::vector< DM > | dm_out () const |
Get function input(s) and output(s) More... | |
casadi_int | nnz_in () const |
Number of input/output nonzeros. More... | |
casadi_int | nnz_in (casadi_int ind) const |
Number of input/output nonzeros. More... | |
casadi_int | nnz_out () const |
Number of input/output nonzeros. More... | |
casadi_int | nnz_out (casadi_int ind) const |
Number of input/output nonzeros. More... | |
casadi_int | numel_in () const |
Number of input/output elements. More... | |
casadi_int | numel_in (casadi_int ind) const |
Number of input/output elements. More... | |
casadi_int | numel_out (casadi_int ind) const |
Number of input/output elements. More... | |
casadi_int | numel_out () const |
Number of input/output elements. More... | |
casadi_int | size1_in (casadi_int ind) const |
Input/output dimensions. More... | |
casadi_int | size2_in (casadi_int ind) const |
Input/output dimensions. More... | |
casadi_int | size1_out (casadi_int ind) const |
Input/output dimensions. More... | |
casadi_int | size2_out (casadi_int ind) const |
Input/output dimensions. More... | |
std::pair< casadi_int, casadi_int > | size_in (casadi_int ind) const |
Input/output dimensions. More... | |
std::pair< casadi_int, casadi_int > | size_out (casadi_int ind) const |
Input/output dimensions. More... | |
const Sparsity & | sparsity_in (casadi_int ind) const |
Input/output sparsity. More... | |
const Sparsity & | sparsity_out (casadi_int ind) const |
Input/output sparsity. More... | |
bool | all_scalar () const |
Are all inputs and outputs scalar. More... | |
virtual bool | jac_is_symm (casadi_int oind, casadi_int iind) const |
Is a Jacobian block known to be symmetric a priori? More... | |
Sparsity | to_compact (casadi_int oind, casadi_int iind, const Sparsity &sp) const |
Convert to compact Jacobian sparsity pattern. More... | |
Sparsity | from_compact (casadi_int oind, casadi_int iind, const Sparsity &sp) const |
Convert from compact Jacobian sparsity pattern. More... | |
template<bool fwd> | |
Sparsity | get_jac_sparsity_gen (casadi_int oind, casadi_int iind) const |
Get the sparsity pattern via sparsity seed propagation. More... | |
Sparsity | get_jac_sparsity_hierarchical (casadi_int oind, casadi_int iind) const |
A flavor of get_jac_sparsity_gen that does hierarchical block structure recognition. More... | |
Sparsity | get_jac_sparsity_hierarchical_symm (casadi_int oind, casadi_int iind) const |
virtual std::vector< MX > | symbolic_output (const std::vector< MX > &arg) const |
Get a vector of symbolic variables corresponding to the outputs. More... | |
virtual size_t | codegen_sz_arg (const CodeGenerator &g) const |
Get required lengths, for codegen. More... | |
virtual size_t | codegen_sz_res (const CodeGenerator &g) const |
Get required lengths, for codegen. More... | |
virtual size_t | codegen_sz_iw (const CodeGenerator &g) const |
Get required lengths, for codegen. More... | |
virtual size_t | codegen_sz_w (const CodeGenerator &g) const |
Get required lengths, for codegen. More... | |
virtual bool | fwdViaJac (casadi_int nfwd) const |
Calculate derivatives by multiplying the full Jacobian and multiplying. More... | |
virtual bool | adjViaJac (casadi_int nadj) const |
Calculate derivatives by multiplying the full Jacobian and multiplying. More... | |
Static Public Member Functions | |
static Rootfinder * | creator (const std::string &name, const Function &f) |
Create a new Rootfinder. More... | |
static ProtoFunction * | deserialize (DeserializingStream &s) |
Deserialize into MX. More... | |
static std::string | shortname () |
Short name. More... | |
template<typename XType > | |
static Function | create_oracle (const std::map< std::string, XType > &d, const Dict &opts) |
Convert dictionary to Problem. More... | |
static std::string | forward_name (const std::string &fcn, casadi_int nfwd) |
Helper function: Get name of forward derivative function. More... | |
static std::string | reverse_name (const std::string &fcn, casadi_int nadj) |
Helper function: Get name of adjoint derivative function. More... | |
template<typename MatType > | |
static MatType | ensure_stacked (const MatType &v, const Sparsity &sp, casadi_int n) |
Ensure that a matrix's sparsity is a horizontal multiple of another, or empty. More... | |
template<typename MatType > | |
static bool | purgable (const std::vector< MatType > &seed) |
Can a derivative direction be skipped. More... | |
static std::string | string_from_UnifiedReturnStatus (UnifiedReturnStatus status) |
static bool | has_plugin (const std::string &pname, bool verbose=false) |
Check if a plugin is available or can be loaded. More... | |
static const Options & | plugin_options (const std::string &pname) |
Get the plugin options. More... | |
static Deserialize | plugin_deserialize (const std::string &pname) |
Get the plugin deserialize_map. More... | |
static Plugin | pluginFromRegFcn (RegFcn regfcn) |
Instantiate a Plugin struct from a factory function. More... | |
static Plugin | load_plugin (const std::string &pname, bool register_plugin=true, bool needs_lock=true) |
Load a plugin dynamically. More... | |
static handle_t | load_library (const std::string &libname, std::string &resultpath, bool global) |
Load a library dynamically. More... | |
static void | registerPlugin (const Plugin &plugin, bool needs_lock=true) |
Register an integrator in the factory. More... | |
static void | registerPlugin (RegFcn regfcn, bool needs_lock=true) |
Register an integrator in the factory. More... | |
static Plugin & | getPlugin (const std::string &pname) |
Load and get the creator function. More... | |
static Rootfinder * | instantiate (const std::string &fname, const std::string &pname, Problem problem) |
static bool | check_mat (const Sparsity &arg, const Sparsity &inp, casadi_int &npar) |
Public Attributes | |
casadi_int | n_ |
Number of equations. More... | |
Linsol | linsol_ |
Linear solver. More... | |
Sparsity | sp_jac_ |
std::vector< casadi_int > | u_c_ |
Constraints on decision variables. More... | |
casadi_int | iin_ |
Indices of the input and output that correspond to the actual root-finding. More... | |
casadi_int | iout_ |
bool | always_inline_ |
bool | never_inline_ |
size_t | n_in_ |
Number of inputs and outputs. More... | |
size_t | n_out_ |
std::vector< bool > | is_diff_in_ |
Are inputs and outputs differentiable? More... | |
std::vector< bool > | is_diff_out_ |
std::vector< Sparsity > | sparsity_in_ |
Input and output sparsity. More... | |
std::vector< Sparsity > | sparsity_out_ |
std::vector< std::string > | name_in_ |
Input and output scheme. More... | |
std::vector< std::string > | name_out_ |
bool | jit_ |
Use just-in-time compiler. More... | |
bool | jit_cleanup_ |
Cleanup jit source file. More... | |
std::string | jit_serialize_ |
Serialize behaviour. More... | |
std::string | jit_name_ |
Name if jit source file. More... | |
std::string | jit_base_name_ |
bool | jit_temp_suffix_ |
Use a temporary name. More... | |
eval_t | eval_ |
Numerical evaluation redirected to a C function. More... | |
casadi_checkout_t | checkout_ |
Checkout redirected to a C function. More... | |
casadi_release_t | release_ |
Release redirected to a C function. More... | |
Dict | stats_ |
Dict of statistics (resulting from evaluate) More... | |
bool | has_refcount_ |
Reference counting in codegen? More... | |
Dict | cache_init_ |
Values to prepopulate the function cache with. More... | |
WeakCache< std::string, Function > | cache_ |
Function cache. More... | |
std::vector< Sparsity > | jac_sparsity_ [2] |
Cache for sparsities of the Jacobian blocks. More... | |
Function | derivative_of_ |
If the function is the derivative of another function. More... | |
void * | user_data_ |
User-set field. More... | |
std::string | compiler_plugin_ |
Just-in-time compiler. More... | |
Importer | compiler_ |
Dict | jit_options_ |
double | jac_penalty_ |
Penalty factor for using a complete Jacobian to calculate directional derivatives. More... | |
bool | enable_forward_ |
bool | enable_reverse_ |
bool | enable_jacobian_ |
bool | enable_fd_ |
bool | enable_forward_op_ |
bool | enable_reverse_op_ |
bool | enable_jacobian_op_ |
bool | enable_fd_op_ |
double | ad_weight_ |
Weighting factor for derivative calculation and sparsity pattern calculation. More... | |
double | ad_weight_sp_ |
casadi_int | max_num_dir_ |
Maximum number of sensitivity directions. More... | |
bool | inputs_check_ |
Errors are thrown if numerical values of inputs look bad. More... | |
Dict | fd_options_ |
double | fd_step_ |
std::string | fd_method_ |
bool | print_in_ |
bool | print_out_ |
casadi_int | max_io_ |
bool | dump_in_ |
bool | dump_out_ |
bool | dump_ |
std::string | dump_dir_ |
std::string | dump_format_ |
Dict | forward_options_ |
Dict | reverse_options_ |
Dict | jacobian_options_ |
Dict | der_options_ |
Function | custom_jacobian_ |
casadi_int | dump_count_ |
std::string | name_ |
Name. More... | |
bool | verbose_ |
Verbose printout. More... | |
bool | print_time_ |
bool | record_time_ |
bool | regularity_check_ |
Errors are thrown when NaN is produced. More... | |
bool | error_on_fail_ |
Throw an exception on failure? More... | |
Static Public Attributes | |
static const std::string | meta_doc |
A documentation string. More... | |
static std::map< std::string, Plugin > | solvers_ |
Collection of solvers. More... | |
static const std::string | infix_ = "rootfinder" |
Infix. More... | |
static std::map< std::string, ProtoFunction *(*)(DeserializingStream &)> | deserialize_map |
Protected Member Functions | |
FastNewton (DeserializingStream &s) | |
Deserializing constructor. More... | |
void | set_jac_sparsity (casadi_int oind, casadi_int iind, const Sparsity &sp) |
Populate jac_sparsity_ and jac_sparsity_compact_ during initialization. More... | |
void | initSingleton () |
void | destroySingleton () |
B | shared_from_this () |
Get a shared object from the current internal object. More... | |
const B | shared_from_this () const |
Get a shared object from the current internal object. More... | |
Protected Attributes | |
casadi_int | max_iter_ |
Maximum number of Newton iterations. More... | |
double | abstol_ |
Absolute tolerance that should be met on residual. More... | |
double | abstolStep_ |
Absolute tolerance that should be met on step. More... | |
Function | jac_g_x_ |
Reference to jacobian function. More... | |
Sparsity | sp_v_ |
Data for qr. More... | |
Sparsity | sp_r_ |
std::vector< casadi_int > | prinv_ |
std::vector< casadi_int > | pc_ |
Function | oracle_ |
Oracle: Used to generate other functions. More... | |
Dict | common_options_ |
Options for creating functions. More... | |
Dict | specific_options_ |
bool | show_eval_warnings_ |
Show evaluation warnings. More... | |
int | max_num_threads_ |
std::map< std::string, RegFun > | all_functions_ |
std::vector< std::string > | monitor_ |
size_t | stride_arg_ |
size_t | stride_res_ |
size_t | stride_iw_ |
size_t | stride_w_ |
bool | post_expand_ |
static const Options | options_ |
Options. More... | |
const Options & | get_options () const override |
Options. More... | |
|
inherited |
Definition at line 196 of file rootfinder_impl.hpp.
|
inherited |
Definition at line 73 of file plugin_interface.hpp.
|
inherited |
Definition at line 152 of file shared_object.hpp.
|
explicit |
Definition at line 49 of file fast_newton.cpp.
|
override |
Definition at line 53 of file fast_newton.cpp.
References casadi::ProtoFunction::clear_mem().
|
explicitprotected |
Definition at line 255 of file fast_newton.cpp.
References abstol_, abstolStep_, jac_g_x_, max_iter_, pc_, prinv_, sp_r_, sp_v_, casadi::DeserializingStream::unpack(), and casadi::DeserializingStream::version().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1ok
Definition at line 450 of file rootfinder.cpp.
References casadi::FunctionInternal::call_forward(), casadi::OracleFunction::get_function(), casadi::MXNode::get_solve(), casadi::Rootfinder::iin_, casadi::Rootfinder::iout_, casadi::Rootfinder::linsol_, casadi::FunctionInternal::n_out_, casadi::OracleFunction::oracle_, and casadi::FunctionInternal::size_in().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1ol
Definition at line 493 of file rootfinder.cpp.
References casadi::FunctionInternal::call_reverse(), casadi::OracleFunction::get_function(), casadi::MXNode::get_solve(), casadi::Rootfinder::iin_, casadi::Rootfinder::iout_, casadi::Rootfinder::linsol_, casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, casadi::OracleFunction::oracle_, casadi::FunctionInternal::size_in(), and casadi::FunctionInternal::size_out().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l5
Definition at line 3190 of file function_internal.cpp.
References casadi::FunctionInternal::ad_weight_, casadi::FunctionInternal::enable_fd_, casadi::FunctionInternal::enable_forward_, and casadi::FunctionInternal::enable_reverse_.
Referenced by casadi::FunctionInternal::adjViaJac(), casadi::Function::expand(), casadi::FunctionInternal::fwdViaJac(), casadi::FunctionInternal::get_partition(), casadi::FunctionInternal::wrap(), and casadi::FunctionInternal::wrap_as_needed().
|
inherited |
Definition at line 3633 of file function_internal.cpp.
References casadi::FunctionInternal::find(), casadi::Function::get(), and casadi::GenericShared< Shared, Internal >::is_null().
Referenced by casadi::MXFunction::find(), casadi::Switch::find(), casadi::SXFunction::find(), and casadi::BSplineInterpolant::find().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nc
Definition at line 2925 of file function_internal.cpp.
References casadi::FunctionInternal::ad_weight(), casadi::FunctionInternal::enable_fd_, casadi::FunctionInternal::enable_forward_, casadi::FunctionInternal::enable_reverse_, casadi::FunctionInternal::jac_penalty_, casadi::FunctionInternal::nnz_in(), and casadi::FunctionInternal::nnz_out().
Referenced by casadi::FunctionInternal::call_reverse().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mi
Definition at line 3664 of file function_internal.cpp.
References casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, casadi::FunctionInternal::sparsity_in_, and casadi::FunctionInternal::sparsity_out_.
Referenced by casadi::FunctionInternal::call().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_n8
Definition at line 2874 of file function_internal.cpp.
References casadi::FunctionInternal::alloc_arg(), casadi::FunctionInternal::alloc_iw(), casadi::FunctionInternal::alloc_res(), casadi::FunctionInternal::alloc_w(), casadi::GenericShared< Shared, Internal >::is_null(), casadi::FunctionInternal::sz_arg(), casadi::FunctionInternal::sz_iw(), casadi::FunctionInternal::sz_res(), casadi::FunctionInternal::sz_w(), and casadi::Function::sz_work().
Referenced by casadi::OracleFunction::finalize(), casadi::KinsolInterface::get_jtimes(), casadi::FiniteDiff::init(), casadi::Nlpsol::init(), casadi::Rootfinder::init(), casadi::Switch::init(), casadi::Feasiblesqpmethod::init(), casadi::ImplicitToNlp::init(), casadi::QpToNlp::init(), casadi::Qrsqp::init(), casadi::Scpgen::init(), and casadi::Sqpmethod::init().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_n4
Definition at line 2842 of file function_internal.cpp.
References casadi::FunctionInternal::sz_arg().
Referenced by casadi::FunctionInternal::alloc(), casadi::External::init(), casadi::FunctionInternal::init(), casadi::Map::init(), casadi::OmpMap::init(), casadi::ThreadMap::init(), casadi::MapSum::init(), casadi::MXFunction::init(), casadi::Nlpsol::init(), casadi::SXFunction::init(), casadi::ClarabelInterface::init(), casadi::DaqpInterface::init(), casadi::FatropConicInterface::init(), casadi::FatropInterface::init(), casadi::HighsInterface::init(), casadi::HpipmInterface::init(), casadi::MadnlpInterface::init(), casadi::BSplineInterpolant::init(), and casadi::Qrqp::init().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_n6
Definition at line 2858 of file function_internal.cpp.
References casadi::FunctionInternal::sz_iw().
Referenced by casadi::FunctionInternal::alloc(), casadi::BlazingSplineFunction::init(), casadi::External::init(), casadi::FmuFunction::init(), casadi::Integrator::init(), casadi::Interpolant::init(), casadi::Map::init(), casadi::OmpMap::init(), casadi::ThreadMap::init(), casadi::MapSum::init(), casadi::MXFunction::init(), casadi::Nlpsol::init(), casadi::SXFunction::init(), casadi::Blocksqp::init(), casadi::ClarabelInterface::init(), casadi::DaqpInterface::init(), casadi::FatropConicInterface::init(), casadi::FatropInterface::init(), casadi::GurobiInterface::init(), casadi::HighsInterface::init(), casadi::HpipmInterface::init(), casadi::IpoptInterface::init(), casadi::MadnlpInterface::init(), casadi::OoqpInterface::init(), casadi::SlicotDple::init(), casadi::SlicotExpm::init(), casadi::SundialsInterface::init(), casadi::BSplineInterpolant::init(), casadi::Feasiblesqpmethod::init(), casadi::Ipqp::init(), casadi::LinearInterpolant::init(), casadi::LinearInterpolantJac::init(), casadi::Qrqp::init(), and casadi::Sqpmethod::init().
|
inlineoverridevirtual |
Reimplemented from casadi::OracleFunction.
Definition at line 95 of file fast_newton.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_n5
Definition at line 2850 of file function_internal.cpp.
References casadi::FunctionInternal::sz_res().
Referenced by casadi::FunctionInternal::alloc(), casadi::External::init(), casadi::FiniteDiff::init(), casadi::FunctionInternal::init(), casadi::Map::init(), casadi::OmpMap::init(), casadi::ThreadMap::init(), casadi::MapSum::init(), casadi::MXFunction::init(), casadi::Nlpsol::init(), casadi::SXFunction::init(), casadi::Blocksqp::init(), casadi::ClarabelInterface::init(), casadi::DaqpInterface::init(), casadi::FatropConicInterface::init(), casadi::FatropInterface::init(), casadi::HighsInterface::init(), casadi::HpipmInterface::init(), casadi::MadnlpInterface::init(), casadi::BSplineInterpolant::init(), and casadi::Qrqp::init().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_n7
Definition at line 2866 of file function_internal.cpp.
References casadi::FunctionInternal::sz_w().
Referenced by casadi::FunctionInternal::alloc(), casadi::BlazingSplineFunction::init(), casadi::External::init(), casadi::FiniteDiff::init(), casadi::FmuFunction::init(), casadi::Integrator::init(), casadi::FixedStepIntegrator::init(), casadi::Interpolant::init(), casadi::JitFunction::init(), casadi::Map::init(), casadi::OmpMap::init(), casadi::ThreadMap::init(), casadi::MapSum::init(), casadi::MXFunction::init(), casadi::Nlpsol::init(), casadi::Rootfinder::init(), casadi::Switch::init(), casadi::SXFunction::init(), casadi::Blocksqp::init(), casadi::BonminInterface::init(), casadi::CbcInterface::init(), casadi::ClarabelInterface::init(), casadi::ClpInterface::init(), casadi::CplexInterface::init(), casadi::DaqpInterface::init(), casadi::FatropConicInterface::init(), casadi::FatropInterface::init(), casadi::GurobiInterface::init(), casadi::HighsInterface::init(), casadi::HpipmInterface::init(), casadi::IpoptInterface::init(), casadi::KnitroInterface::init(), casadi::MadnlpInterface::init(), casadi::OoqpInterface::init(), casadi::OsqpInterface::init(), casadi::ProxqpInterface::init(), casadi::QpoasesInterface::init(), casadi::SLEQPInterface::init(), casadi::SlicotDple::init(), casadi::SlicotExpm::init(), casadi::SnoptInterface::init(), casadi::CvodesInterface::init(), casadi::IdasInterface::init(), casadi::KinsolInterface::init(), casadi::SundialsInterface::init(), casadi::SuperscsInterface::init(), casadi::WorhpInterface::init(), casadi::BSplineInterpolant::init(), init(), casadi::Feasiblesqpmethod::init(), casadi::ImplicitToNlp::init(), casadi::Ipqp::init(), casadi::LinearInterpolant::init(), casadi::LinearInterpolantJac::init(), casadi::Newton::init(), casadi::QpToNlp::init(), casadi::Qrqp::init(), casadi::Qrsqp::init(), casadi::Scpgen::init(), and casadi::Sqpmethod::init().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_26g
Definition at line 970 of file function_internal.cpp.
References casadi::FunctionInternal::cache_.
|
inherited |
Definition at line 302 of file oracle_function.cpp.
References casadi::InterruptHandler::check(), casadi::OracleFunction::get_function(), casadi::OracleFunction::max_num_threads_, casadi::OracleFunction::monitored(), casadi::Function::n_in(), casadi::Function::n_out(), casadi::ProtoFunction::name_, casadi::Function::name_in(), casadi::Function::name_out(), casadi::Function::nnz_in(), casadi::Function::nnz_out(), casadi::Matrix< double >::print_scalar(), casadi::ProtoFunction::regularity_check_, casadi::Sparsity::repr_el(), casadi::OracleFunction::show_eval_warnings_, casadi::Function::sparsity_out(), and casadi::OracleMemory::thread_local_mem.
Referenced by casadi::KinsolInterface::bjac(), casadi::SundialsInterface::calc_daeB(), casadi::SundialsInterface::calc_daeF(), casadi::Integrator::calc_edot(), casadi::calc_function(), casadi::SundialsInterface::calc_jacF(), casadi::SundialsInterface::calc_jtimesF(), casadi::SundialsInterface::calc_quadB(), casadi::SundialsInterface::calc_quadF(), casadi::casadi_func_cons_jac(), casadi::casadi_func_cons_val(), casadi::casadi_func_hess_prod(), casadi::casadi_func_obj_grad(), casadi::casadi_func_obj_val(), casadi::KinsolInterface::djac(), casadi::Nlpsol::eval(), casadi::AlpaqaProblem::eval_f(), casadi::BonminUserClass::eval_f(), casadi::IpoptUserClass::eval_f(), casadi::AlpaqaProblem::eval_f_grad_f(), casadi::AlpaqaProblem::eval_g(), casadi::BonminUserClass::eval_g(), casadi::IpoptUserClass::eval_g(), casadi::BonminUserClass::eval_grad_f(), casadi::IpoptUserClass::eval_grad_f(), casadi::AlpaqaProblem::eval_grad_L(), casadi::BonminUserClass::eval_h(), casadi::IpoptUserClass::eval_h(), casadi::AlpaqaProblem::eval_hess_L(), casadi::AlpaqaProblem::eval_hess_L_prod(), casadi::AlpaqaProblem::eval_hess_ψ(), casadi::AlpaqaProblem::eval_hess_ψ_prod(), casadi::AlpaqaProblem::eval_jac_g(), casadi::BonminUserClass::eval_jac_g(), casadi::IpoptUserClass::eval_jac_g(), casadi::AlpaqaProblem::eval_ψ(), casadi::AlpaqaProblem::eval_ψ_grad_ψ(), casadi::Blocksqp::evaluate(), casadi::Feasiblesqpmethod::feasibility_iterations(), casadi::KinsolInterface::psetup(), casadi::KnitroInterface::solve(), casadi::SnoptInterface::solve(), casadi::WorhpInterface::solve(), casadi::Feasiblesqpmethod::solve(), casadi::Newton::solve(), casadi::Qrsqp::solve(), casadi::Sqpmethod::solve(), casadi::FixedStepIntegrator::stepB(), casadi::FixedStepIntegrator::stepF(), casadi::Integrator::trigger_event(), and casadi::SnoptInterface::userfun().
|
inherited |
Definition at line 418 of file oracle_function.cpp.
References casadi::OracleFunction::get_function().
Referenced by casadi::Integrator::bdae_sp_forward(), casadi::Integrator::bquad_sp_forward(), casadi::Integrator::fdae_sp_forward(), and casadi::Integrator::fquad_sp_forward().
|
inherited |
Definition at line 423 of file oracle_function.cpp.
References casadi::OracleFunction::get_function().
Referenced by casadi::Integrator::bdae_sp_reverse(), casadi::Integrator::bquad_sp_reverse(), casadi::Integrator::fdae_sp_reverse(), and casadi::Integrator::fquad_sp_reverse().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kh
Definition at line 1536 of file function_internal.hpp.
References casadi::FunctionInternal::all_scalar(), casadi::FunctionInternal::call_gen(), casadi::FunctionInternal::matching_arg(), casadi::FunctionInternal::n_out_, and casadi::FunctionInternal::replace_arg().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ku
Definition at line 2945 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name(), casadi::FunctionInternal::enable_fd_, casadi::FunctionInternal::enable_forward_, casadi::FunctionInternal::forward(), casadi::FunctionInternal::fwdViaJac(), casadi::FunctionInternal::has_derivative(), casadi::FunctionInternal::has_forward(), casadi::FunctionInternal::jacobian(), casadi::FunctionInternal::matching_arg(), casadi::FunctionInternal::max_num_dir_, casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, casadi::ProtoFunction::name_, casadi::FunctionInternal::replace_fseed(), casadi::FunctionInternal::size2_out(), and casadi::FunctionInternal::size_out().
Referenced by casadi::Rootfinder::ad_forward(), casadi::Call::ad_forward(), casadi::MXFunction::ad_forward(), casadi::XFunction< DerivedType, MatType, NodeType >::call_forward(), casadi::MX::forward(), casadi::Integrator::get_forward_dae(), and casadi::Scpgen::init().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ku
Definition at line 3164 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kg
Definition at line 3838 of file function_internal.cpp.
References casadi::FunctionInternal::eval_mx(), casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, and casadi::FunctionInternal::size2_in().
Referenced by casadi::FunctionInternal::call().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kg
Definition at line 1640 of file function_internal.hpp.
References casadi::ProtoFunction::error_on_fail_, casadi::FunctionInternal::eval_gen(), casadi::get_ptr(), casadi::ProtoFunction::memory(), casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, casadi::FunctionInternal::nnz_in(), casadi::FunctionInternal::nnz_out(), casadi::FunctionInternal::project_arg(), casadi::FunctionInternal::size2_in(), casadi::FunctionInternal::sparsity_out(), casadi::FunctionInternal::sz_arg(), casadi::FunctionInternal::sz_iw(), casadi::FunctionInternal::sz_res(), casadi::FunctionInternal::sz_w(), and casadi::GenericMatrix< Matrix< Scalar > >::zeros().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kv
Definition at line 3050 of file function_internal.cpp.
References casadi::FunctionInternal::adjViaJac(), casadi::SharedObjectInternal::class_name(), casadi::FunctionInternal::enable_reverse_, casadi::FunctionInternal::has_derivative(), casadi::FunctionInternal::has_reverse(), casadi::FunctionInternal::jacobian(), casadi::FunctionInternal::matching_res(), casadi::FunctionInternal::max_num_dir_, casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, casadi::ProtoFunction::name_, casadi::FunctionInternal::replace_aseed(), casadi::FunctionInternal::reverse(), casadi::FunctionInternal::size2_in(), casadi::FunctionInternal::size_in(), and casadi::T.
Referenced by casadi::Rootfinder::ad_reverse(), casadi::MXFunction::ad_reverse(), casadi::Call::ad_reverse(), casadi::XFunction< DerivedType, MatType, NodeType >::call_reverse(), casadi::Scpgen::init(), and casadi::MX::reverse().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kv
Definition at line 3177 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_k5
Reimplemented from casadi::ProtoFunction.
Reimplemented in casadi::MXFunction.
Definition at line 423 of file function_internal.cpp.
References casadi::FunctionInternal::ad_weight_, casadi::FunctionInternal::ad_weight_sp_, casadi::ProtoFunction::change_option(), casadi::FunctionInternal::dump_, casadi::FunctionInternal::dump_dir_, casadi::FunctionInternal::dump_format_, casadi::FunctionInternal::dump_in_, casadi::FunctionInternal::dump_out_, casadi::FunctionInternal::print_in_, casadi::FunctionInternal::print_out_, and casadi::GenericType::to_string().
Referenced by casadi::FmuFunction::change_option(), and casadi::MXFunction::change_option().
|
inherited |
Raises errors.
npar[in] | normal usage: 1, disallow pararallel calls: -1 | |
[out] | npar | max number of horizontal repetitions across all arguments (or -1) |
Extra doc: https://github.com/casadi/casadi/wiki/L_ki
Definition at line 1687 of file function_internal.hpp.
References casadi::FunctionInternal::check_mat(), casadi::FunctionInternal::n_in_, casadi::FunctionInternal::name_in_, casadi::FunctionInternal::size1_in(), casadi::FunctionInternal::size2_in(), casadi::FunctionInternal::sparsity_in(), and casadi::str().
Referenced by casadi::FunctionInternal::mapsum_mx(), and casadi::FunctionInternal::matching_arg().
|
staticinherited |
Helper function
npar[in] | normal usage: 1, disallow pararallel calls: -1 |
npar[out] | required number of parallel calls (or -1) |
Definition at line 3376 of file function_internal.cpp.
References casadi::Sparsity::is_empty(), casadi::Sparsity::is_scalar(), casadi::Sparsity::is_vector(), casadi::Sparsity::size(), casadi::Sparsity::size1(), and casadi::Sparsity::size2().
Referenced by casadi::FunctionInternal::check_arg(), casadi::FunctionInternal::check_res(), and casadi::FunctionInternal::mapsum_mx().
|
inlinevirtualinherited |
Purpose if to allow more helpful error messages
Extra doc: https://github.com/casadi/casadi/wiki/L_2b7
Reimplemented in casadi::FmuFunction.
Definition at line 179 of file function_internal.hpp.
Referenced by casadi::ProtoFunction::checkout().
|
inherited |
Raises errors.
npar[in] | normal usage: 1, disallow pararallel calls: -1 | |
[out] | npar | max number of horizontal repetitions across all arguments (or -1) |
Extra doc: https://github.com/casadi/casadi/wiki/L_kj
Definition at line 1711 of file function_internal.hpp.
References casadi::FunctionInternal::check_mat(), casadi::FunctionInternal::n_out_, casadi::FunctionInternal::name_out_, casadi::FunctionInternal::size_out(), casadi::FunctionInternal::sparsity_out(), and casadi::str().
Referenced by casadi::FunctionInternal::matching_res().
|
inherited |
Definition at line 3585 of file function_internal.cpp.
References casadi::ProtoFunction::alloc_mem(), casadi::ProtoFunction::check_mem_count(), and casadi::ProtoFunction::init_mem().
Referenced by casadi::ProtoFunction::finalize(), casadi::FunctionBuffer::FunctionBuffer(), and casadi::Sqpmethod::init_mem().
|
inlineoverridevirtual |
Implements casadi::SharedObjectInternal.
Definition at line 75 of file fast_newton.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_jq
Definition at line 3473 of file function_internal.cpp.
References casadi::ProtoFunction::free_mem().
Referenced by casadi::AlpaqaInterface::~AlpaqaInterface(), casadi::AmplInterface::~AmplInterface(), casadi::BlazingSplineFunction::~BlazingSplineFunction(), casadi::Blocksqp::~Blocksqp(), casadi::BonminInterface::~BonminInterface(), casadi::BSplineInterpolant::~BSplineInterpolant(), casadi::CallbackInternal::~CallbackInternal(), casadi::CbcInterface::~CbcInterface(), casadi::ClarabelInterface::~ClarabelInterface(), casadi::ClpInterface::~ClpInterface(), casadi::CplexInterface::~CplexInterface(), casadi::CsparseInterface::~CsparseInterface(), casadi::CvodesInterface::~CvodesInterface(), casadi::DaqpInterface::~DaqpInterface(), casadi::External::~External(), ~FastNewton(), casadi::FatropConicInterface::~FatropConicInterface(), casadi::FatropInterface::~FatropInterface(), casadi::Feasiblesqpmethod::~Feasiblesqpmethod(), casadi::FiniteDiff::~FiniteDiff(), casadi::FixedStepIntegrator::~FixedStepIntegrator(), casadi::FmuFunction::~FmuFunction(), casadi::GurobiInterface::~GurobiInterface(), casadi::HighsInterface::~HighsInterface(), casadi::HpipmInterface::~HpipmInterface(), casadi::HpmpcInterface::~HpmpcInterface(), casadi::IdasInterface::~IdasInterface(), casadi::ImplicitToNlp::~ImplicitToNlp(), casadi::IpoptInterface::~IpoptInterface(), casadi::Ipqp::~Ipqp(), casadi::JitFunction::~JitFunction(), casadi::KinsolInterface::~KinsolInterface(), casadi::KnitroInterface::~KnitroInterface(), casadi::LapackLu::~LapackLu(), casadi::LapackQr::~LapackQr(), casadi::LinearInterpolant::~LinearInterpolant(), casadi::LinearInterpolantJac::~LinearInterpolantJac(), casadi::LinsolLdl::~LinsolLdl(), casadi::LinsolQr::~LinsolQr(), casadi::LinsolTridiag::~LinsolTridiag(), casadi::Lsqr::~Lsqr(), casadi::Ma27Interface::~Ma27Interface(), casadi::MadnlpInterface::~MadnlpInterface(), casadi::Map::~Map(), casadi::MapSum::~MapSum(), casadi::MumpsInterface::~MumpsInterface(), casadi::MXFunction::~MXFunction(), casadi::Newton::~Newton(), casadi::Nlpsol::~Nlpsol(), casadi::OmpMap::~OmpMap(), casadi::OoqpInterface::~OoqpInterface(), casadi::OsqpInterface::~OsqpInterface(), casadi::ProxqpInterface::~ProxqpInterface(), casadi::QpoasesInterface::~QpoasesInterface(), casadi::QpToNlp::~QpToNlp(), casadi::Qrqp::~Qrqp(), casadi::Qrsqp::~Qrsqp(), casadi::Scpgen::~Scpgen(), casadi::SLEQPInterface::~SLEQPInterface(), casadi::SlicotDple::~SlicotDple(), casadi::SlicotExpm::~SlicotExpm(), casadi::SnoptInterface::~SnoptInterface(), casadi::Sqpmethod::~Sqpmethod(), casadi::SuperscsInterface::~SuperscsInterface(), casadi::Switch::~Switch(), casadi::SXFunction::~SXFunction(), casadi::SymbolicQr::~SymbolicQr(), casadi::ThreadMap::~ThreadMap(), and casadi::WorhpInterface::~WorhpInterface().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lm
Definition at line 2306 of file function_internal.cpp.
References casadi::CodeGenerator::body, casadi::FunctionInternal::codegen_body(), casadi::FunctionInternal::definition(), casadi::CodeGenerator::flush(), casadi::CodeGenerator::scope_enter(), casadi::CodeGenerator::scope_exit(), and casadi::FunctionInternal::signature().
Referenced by casadi::CodeGenerator::add_dependency().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lt
Reimplemented in casadi::External.
Definition at line 2354 of file function_internal.cpp.
References casadi::FunctionInternal::codegen_mem_type(), casadi::FunctionInternal::codegen_name(), and casadi::CodeGenerator::shorthand().
Referenced by casadi::CodeGenerator::add_dependency().
|
overridevirtual |
Reimplemented from casadi::FunctionInternal.
Definition at line 170 of file fast_newton.cpp.
References abstol_, abstolStep_, casadi::CodeGenerator::add_auxiliary(), casadi::CodeGenerator::arg(), casadi::CodeGenerator::AUX_NEWTON, casadi::CodeGenerator::comment(), casadi::CodeGenerator::constant(), casadi::CodeGenerator::copy(), casadi::OracleFunction::get_function(), casadi::Rootfinder::iin_, casadi::Rootfinder::iout_, casadi::CodeGenerator::local(), max_iter_, casadi::Rootfinder::n_, casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, casadi::Sparsity::nnz(), pc_, prinv_, casadi::CodeGenerator::res(), casadi::Sparsity::size1(), casadi::Sparsity::size2(), casadi::Rootfinder::sp_jac_, sp_r_, sp_v_, casadi::CodeGenerator::sparsity(), and casadi::str().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_27q
Reimplemented in casadi::Nlpsol.
Definition at line 295 of file oracle_function.cpp.
References casadi::CodeGenerator::local().
Referenced by casadi::Nlpsol::codegen_body_enter().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_27r
Reimplemented in casadi::Nlpsol.
Definition at line 299 of file oracle_function.cpp.
Referenced by casadi::Nlpsol::codegen_body_exit().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lw
Reimplemented in casadi::External.
Definition at line 2363 of file function_internal.cpp.
References casadi::FunctionInternal::alloc_mem(), casadi::CodeGenerator::auxiliaries, casadi::FunctionInternal::codegen_mem_type(), casadi::FunctionInternal::codegen_name(), casadi::ProtoFunction::init_mem(), and casadi::CodeGenerator::shorthand().
Referenced by casadi::CodeGenerator::add_dependency().
|
overridevirtual |
Reimplemented from casadi::FunctionInternal.
Definition at line 221 of file fast_newton.cpp.
References casadi::CodeGenerator::add_dependency(), and casadi::OracleFunction::get_function().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ls
Reimplemented in casadi::MXFunction, and casadi::External.
Definition at line 849 of file function_internal.hpp.
Referenced by casadi::CodeGenerator::add_dependency(), and casadi::FunctionInternal::codegen_meta().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lv
Reimplemented in casadi::OsqpInterface, casadi::MadnlpInterface, casadi::IpoptInterface, casadi::HighsInterface, casadi::FatropInterface, casadi::DaqpInterface, casadi::ClarabelInterface, and casadi::External.
Definition at line 864 of file function_internal.hpp.
Referenced by casadi::CodeGenerator::add_dependency().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lr
Reimplemented in casadi::MXFunction, and casadi::External.
Definition at line 844 of file function_internal.hpp.
Referenced by casadi::CodeGenerator::add_dependency(), and casadi::FunctionInternal::codegen_meta().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lu
Reimplemented in casadi::OsqpInterface, casadi::MadnlpInterface, casadi::IpoptInterface, casadi::HighsInterface, casadi::FatropInterface, casadi::DaqpInterface, casadi::ClarabelInterface, and casadi::External.
Definition at line 2350 of file function_internal.cpp.
Referenced by casadi::CodeGenerator::add_dependency().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lq
Definition at line 2732 of file function_internal.cpp.
References casadi::FunctionInternal::codegen_name(), and casadi::CodeGenerator::shorthand().
Referenced by casadi::ClarabelInterface::codegen_body(), casadi::DaqpInterface::codegen_body(), casadi::FatropInterface::codegen_body(), casadi::HighsInterface::codegen_body(), casadi::IpoptInterface::codegen_body(), casadi::MadnlpInterface::codegen_body(), casadi::OsqpInterface::codegen_body(), casadi::Sqpmethod::codegen_body(), casadi::ClarabelInterface::codegen_free_mem(), casadi::DaqpInterface::codegen_free_mem(), casadi::FatropInterface::codegen_free_mem(), casadi::HighsInterface::codegen_free_mem(), casadi::IpoptInterface::codegen_free_mem(), casadi::MadnlpInterface::codegen_free_mem(), casadi::OsqpInterface::codegen_free_mem(), casadi::ClarabelInterface::codegen_init_mem(), casadi::DaqpInterface::codegen_init_mem(), casadi::FatropInterface::codegen_init_mem(), casadi::HighsInterface::codegen_init_mem(), casadi::IpoptInterface::codegen_init_mem(), casadi::MadnlpInterface::codegen_init_mem(), and casadi::OsqpInterface::codegen_init_mem().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_m1
Reimplemented in casadi::Sqpmethod, casadi::OsqpInterface, casadi::MadnlpInterface, casadi::IpoptInterface, casadi::HighsInterface, casadi::FatropInterface, casadi::DaqpInterface, casadi::ClarabelInterface, and casadi::External.
Definition at line 899 of file function_internal.hpp.
Referenced by casadi::CodeGenerator::add_dependency(), casadi::FunctionInternal::codegen_alloc_mem(), casadi::FunctionInternal::codegen_checkout(), casadi::FunctionInternal::codegen_meta(), casadi::CodeGenerator::operator()(), and casadi::CodeGenerator::setup_callback().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ln
Definition at line 2400 of file function_internal.cpp.
References casadi::all(), casadi::CodeGenerator::array(), casadi::CodeGenerator::body, casadi::FunctionInternal::codegen_decref(), casadi::FunctionInternal::codegen_incref(), casadi::FunctionInternal::codegen_mem_type(), casadi::FunctionInternal::codegen_name(), casadi::FunctionInternal::codegen_sparsities(), casadi::FunctionInternal::codegen_sz_arg(), casadi::FunctionInternal::codegen_sz_iw(), casadi::FunctionInternal::codegen_sz_res(), casadi::FunctionInternal::codegen_sz_w(), casadi::CodeGenerator::constant(), casadi::CodeGenerator::declare(), casadi::CodeGenerator::flush(), casadi::CodeGenerator::from_mex(), casadi::FunctionInternal::get_default_in(), casadi::CodeGenerator::header, casadi::FunctionInternal::is_diff_in_, casadi::FunctionInternal::is_diff_out_, casadi::CodeGenerator::main, casadi::CodeGenerator::mex, casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, casadi::ProtoFunction::name_, casadi::FunctionInternal::name_in_, casadi::FunctionInternal::name_out_, casadi::FunctionInternal::nnz_in(), casadi::FunctionInternal::nnz_out(), casadi::CodeGenerator::printf(), casadi::CodeGenerator::res(), casadi::Sparsity::size1(), casadi::Sparsity::size2(), casadi::FunctionInternal::sparsity_in_, casadi::FunctionInternal::sparsity_out_, casadi::str(), casadi::FunctionInternal::sz_arg(), casadi::FunctionInternal::sz_iw(), casadi::FunctionInternal::sz_res(), casadi::FunctionInternal::sz_w(), casadi::CodeGenerator::to_mex(), casadi::CodeGenerator::with_header, and casadi::CodeGenerator::with_mem.
Referenced by casadi::CodeGenerator::add().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lp
Definition at line 2717 of file function_internal.cpp.
References casadi::CodeGenerator::added_functions_, casadi::ProtoFunction::name_, and casadi::str().
Referenced by casadi::FunctionInternal::codegen_alloc_mem(), casadi::FunctionInternal::codegen_checkout(), casadi::Call::codegen_decref(), casadi::Call::codegen_incref(), casadi::FunctionInternal::codegen_mem(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::codegen_release(), and casadi::CodeGenerator::mem().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lx
Reimplemented in casadi::External.
Definition at line 2389 of file function_internal.cpp.
References casadi::FunctionInternal::codegen_name(), and casadi::CodeGenerator::shorthand().
Referenced by casadi::CodeGenerator::add_dependency().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lo
Definition at line 2396 of file function_internal.cpp.
References casadi::CodeGenerator::add_io_sparsities(), casadi::ProtoFunction::name_, casadi::FunctionInternal::sparsity_in_, and casadi::FunctionInternal::sparsity_out_.
Referenced by casadi::FunctionInternal::codegen_meta().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_29g
Definition at line 2829 of file function_internal.cpp.
References casadi::FunctionInternal::sz_arg().
Referenced by casadi::FunctionInternal::codegen_meta().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_29g
Definition at line 2835 of file function_internal.cpp.
References casadi::FunctionInternal::sz_iw().
Referenced by casadi::FunctionInternal::codegen_meta().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_29g
Definition at line 2832 of file function_internal.cpp.
References casadi::FunctionInternal::sz_res().
Referenced by casadi::FunctionInternal::codegen_meta().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_29g
Reimplemented in casadi::SXFunction.
Definition at line 2838 of file function_internal.cpp.
References casadi::FunctionInternal::sz_w().
Referenced by casadi::FunctionInternal::codegen_meta().
|
inherited |
Prepares the function for evaluation
Extra doc: https://github.com/casadi/casadi/wiki/L_jf
Definition at line 137 of file function_internal.cpp.
References casadi::Options::check(), casadi::SharedObjectInternal::class_name(), casadi::ProtoFunction::finalize(), casadi::ProtoFunction::get_options(), casadi::ProtoFunction::init(), casadi::Options::is_sane(), casadi::ProtoFunction::name_, and casadi::Options::sanitize().
Referenced by casadi::Function::create(), casadi::FmuFunction::factory(), casadi::FmuFunction::get_forward(), casadi::FmuFunction::get_jacobian(), casadi::LinearInterpolant::get_jacobian(), and casadi::FmuFunction::get_reverse().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ks
Definition at line 1811 of file function_internal.hpp.
References casadi::FunctionInternal::get_default_in(), casadi::FunctionInternal::index_in(), and casadi::FunctionInternal::n_in_.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ks
Definition at line 1799 of file function_internal.hpp.
References casadi::FunctionInternal::n_in_, casadi::FunctionInternal::name_in_, and casadi::str().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ks
Definition at line 1840 of file function_internal.hpp.
References casadi::FunctionInternal::index_out(), and casadi::FunctionInternal::n_out_.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ks
Definition at line 1828 of file function_internal.hpp.
References casadi::FunctionInternal::n_out_, casadi::FunctionInternal::name_out_, and casadi::str().
|
inherited |
Create an oracle function as a forward derivative of a different function
Definition at line 278 of file oracle_function.cpp.
References casadi::FunctionInternal::forward_name(), casadi::OracleFunction::get_function(), casadi::OracleFunction::has_function(), and casadi::OracleFunction::set_function().
Referenced by casadi::Integrator::init(), casadi::ImplicitFixedStepIntegrator::init(), casadi::SLEQPInterface::init(), casadi::SundialsInterface::init(), and casadi::RungeKutta::setup_step().
|
inherited |
Create an oracle function, using a different oracle function Temporary addition to allow transition from one oracle formulation to another.
Definition at line 235 of file oracle_function.cpp.
References casadi::combine(), casadi::OracleFunction::common_options_, casadi::Function::factory(), casadi::Function::get_free(), casadi::Function::has_free(), casadi::FunctionInternal::incache(), casadi::Function::n_in(), casadi::Function::n_out(), casadi::ProtoFunction::name_, casadi::OracleFunction::oracle(), casadi::OracleFunction::set_function(), casadi::OracleFunction::specific_options_, casadi::str(), casadi::FunctionInternal::tocache_if_missing(), and casadi::ProtoFunction::verbose_.
Referenced by casadi::OracleFunction::create_function(), casadi::Integrator::init(), casadi::Nlpsol::init(), casadi::AlpaqaInterface::init(), casadi::Blocksqp::init(), casadi::BonminInterface::init(), casadi::FatropInterface::init(), casadi::IpoptInterface::init(), casadi::KnitroInterface::init(), casadi::MadnlpInterface::init(), casadi::SLEQPInterface::init(), casadi::SnoptInterface::init(), casadi::SundialsInterface::init(), casadi::WorhpInterface::init(), casadi::Feasiblesqpmethod::init(), casadi::Qrsqp::init(), and casadi::Sqpmethod::init().
|
inherited |
Create an oracle function from MX
Definition at line 187 of file oracle_function.cpp.
References casadi::combine(), casadi::OracleFunction::common_options_, casadi::FunctionInternal::Function, casadi::Function::get_free(), casadi::Function::has_free(), casadi::FunctionInternal::incache(), casadi::Function::n_in(), casadi::Function::n_out(), casadi::ProtoFunction::name_, casadi::OracleFunction::set_function(), casadi::OracleFunction::specific_options_, casadi::str(), casadi::FunctionInternal::tocache_if_missing(), and casadi::ProtoFunction::verbose_.
|
inherited |
Create an oracle function
Definition at line 179 of file oracle_function.cpp.
References casadi::OracleFunction::create_function(), and casadi::OracleFunction::oracle_.
|
staticinherited |
Definition at line 122 of file rootfinder.cpp.
References casadi::FunctionInternal::Function, casadi::RFP_G, casadi::RFP_NUM_IN, casadi::RFP_NUM_OUT, casadi::RFP_P, and casadi::RFP_X.
Referenced by casadi::rootfinder().
|
inlinestatic |
Definition at line 78 of file fast_newton.hpp.
Referenced by casadi::casadi_register_rootfinder_fast_newton().
|
inherited |
Definition at line 62 of file generic_shared_internal.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ma
Definition at line 941 of file function_internal.cpp.
References casadi::FunctionInternal::is_diff_in_, casadi::FunctionInternal::is_diff_out_, casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, casadi::ProtoFunction::name_, casadi::FunctionInternal::name_in_, casadi::FunctionInternal::name_out_, casadi::FunctionInternal::sparsity_in_, and casadi::FunctionInternal::sparsity_out_.
Referenced by casadi::FunctionInternal::codegen(), casadi::FunctionInternal::disp(), casadi::MXFunction::should_inline(), and casadi::SXFunction::should_inline().
|
inlinestatic |
Definition at line 123 of file fast_newton.hpp.
Referenced by casadi::casadi_register_rootfinder_fast_newton().
|
inlineprotectedinherited |
Called in the destructor of singletons
Definition at line 77 of file generic_shared_internal.hpp.
|
inherited |
Definition at line 2043 of file function_internal.cpp.
References casadi::FunctionInternal::name_in_, and casadi::FunctionInternal::name_out_.
Referenced by casadi::FunctionInternal::forward(), and casadi::FunctionInternal::reverse().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_m8
Implements casadi::SharedObjectInternal.
Definition at line 962 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name(), casadi::FunctionInternal::definition(), and casadi::FunctionInternal::disp_more().
Referenced by casadi::MXFunction::eval(), and casadi::SXFunction::eval().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_m9
Reimplemented in casadi::SXFunction, casadi::Switch, casadi::Nlpsol, and casadi::MXFunction.
Definition at line 940 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::disp().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Definition at line 3244 of file function_internal.cpp.
References casadi::FunctionInternal::n_in_.
Referenced by casadi::FunctionInternal::nz_in().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Definition at line 3220 of file function_internal.cpp.
References casadi::FunctionInternal::sparsity_in(), and casadi::GenericMatrix< MatType >::zeros().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Definition at line 3252 of file function_internal.cpp.
References casadi::FunctionInternal::n_out_.
Referenced by casadi::FunctionInternal::nz_out().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Definition at line 3224 of file function_internal.cpp.
References casadi::FunctionInternal::sparsity_out(), and casadi::GenericMatrix< MatType >::zeros().
|
staticinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_26j
Definition at line 1857 of file function_internal.hpp.
References casadi::Sparsity::size1(), and casadi::Sparsity::size2().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kb
Reimplemented from casadi::FunctionInternal.
Definition at line 283 of file rootfinder.cpp.
References casadi::ProtoFunction::error_on_fail_, casadi::FunctionInternal::setup(), and casadi::Rootfinder::solve().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ke
Reimplemented in casadi::CallbackInternal.
Definition at line 2026 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
Referenced by casadi::FunctionInternal::eval().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kf
Definition at line 430 of file function_internal.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kb
Definition at line 830 of file function_internal.cpp.
References casadi::FunctionInternal::checkout_, casadi::FunctionInternal::dump_, casadi::FunctionInternal::dump_in_, casadi::FunctionInternal::dump_out_, casadi::FunctionInternal::eval(), casadi::FunctionInternal::eval_, casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, casadi::FunctionInternal::name_in_, casadi::FunctionInternal::name_out_, casadi::FunctionInternal::nnz_in(), casadi::FunctionInternal::nnz_out(), casadi::FunctionInternal::print_in(), casadi::FunctionInternal::print_in_, casadi::FunctionInternal::print_out(), casadi::FunctionInternal::print_out_, casadi::ProtoFunction::print_time(), casadi::ProtoFunction::regularity_check_, casadi::FunctionInternal::release_, casadi::FunctionInternal::sparsity_out(), casadi::FunctionMemory::stats_available, casadi::str(), casadi::FunctionInternal::sz_w(), and casadi::uout().
Referenced by casadi::FunctionInternal::call_gen().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kf
Definition at line 426 of file function_internal.hpp.
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kd
Reimplemented in casadi::SXFunction, and casadi::MXFunction.
Definition at line 2241 of file function_internal.cpp.
References casadi::FunctionInternal::always_inline_, casadi::Function::call(), casadi::Call::create(), casadi::ProtoFunction::name_, casadi::FunctionInternal::never_inline_, casadi::str(), and casadi::FunctionInternal::wrap().
Referenced by casadi::FunctionInternal::call_gen(), casadi::MXFunction::eval_mx(), and casadi::SXFunction::eval_mx().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kc
Reimplemented in casadi::SXFunction, casadi::Switch, casadi::MXFunction, casadi::MapSum, and casadi::Map.
Definition at line 2030 of file function_internal.cpp.
References casadi::FunctionInternal::always_inline_, casadi::SharedObjectInternal::class_name(), casadi::CallSX::eval_sx(), and casadi::FunctionInternal::never_inline_.
Referenced by casadi::MXFunction::eval_sx(), and casadi::SXFunction::eval_sx().
|
inherited |
Definition at line 455 of file oracle_function.cpp.
References casadi::Function::expand(), and casadi::OracleFunction::oracle_.
Referenced by casadi::OracleFunction::init().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_m5
Reimplemented in casadi::XFunction< DerivedType, MatType, NodeType >, casadi::XFunction< MXFunction, MX, MXNode >, and casadi::XFunction< SXFunction, Matrix< SXElem >, SXNode >.
Definition at line 2201 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
virtualinherited |
Reimplemented in casadi::XFunction< DerivedType, MatType, NodeType >, casadi::XFunction< MXFunction, MX, MXNode >, casadi::XFunction< SXFunction, Matrix< SXElem >, SXNode >, casadi::FmuFunction, and casadi::External.
Definition at line 3613 of file function_internal.cpp.
References casadi::Function::factory(), and casadi::FunctionInternal::wrap().
Referenced by casadi::Function::factory(), casadi::External::factory(), and casadi::FmuFunction::factory().
|
overridevirtualinherited |
Reimplemented from casadi::FunctionInternal.
Definition at line 122 of file oracle_function.cpp.
References casadi::OracleFunction::all_functions_, casadi::FunctionInternal::alloc(), casadi::Function::expand(), casadi::FunctionInternal::finalize(), casadi::OracleFunction::get_function(), casadi::join(), casadi::OracleFunction::max_num_threads_, casadi::OracleFunction::monitor_, casadi::OracleFunction::post_expand_, casadi::OracleFunction::specific_options_, casadi::OracleFunction::stride_arg_, casadi::OracleFunction::stride_iw_, casadi::OracleFunction::stride_res_, casadi::OracleFunction::stride_w_, casadi::FunctionInternal::sz_arg(), casadi::FunctionInternal::sz_iw(), casadi::FunctionInternal::sz_res(), casadi::FunctionInternal::sz_w(), and casadi::Function::sz_work().
|
inlinevirtualinherited |
Reimplemented in casadi::BSplineInterpolant, casadi::SXFunction, casadi::Switch, and casadi::MXFunction.
Definition at line 371 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::add_embedded(), casadi::MX::cse(), casadi::FunctionInternal::from_compact(), and casadi::FunctionInternal::to_compact().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_jt
Definition at line 3772 of file function_internal.cpp.
References casadi::ProtoFunction::sprint().
Referenced by casadi::ProtoFunction::print_time().
|
inherited |
forward(nfwd) returns a cached instance if available, and calls Function get_forward(casadi_int nfwd)
if no cached version is available.
Extra doc: https://github.com/casadi/casadi/wiki/L_l0
Definition at line 2079 of file function_internal.cpp.
References casadi::Function::assert_size_in(), casadi::Function::assert_sparsity_out(), casadi::combine(), casadi::Function::create(), casadi::FunctionInternal::der_options_, casadi::FunctionInternal::diff_prefix(), casadi::FunctionInternal::enable_fd_, casadi::FunctionInternal::enable_forward_, casadi::FunctionInternal::fd_method_, casadi::FunctionInternal::fd_options_, casadi::Function::forward(), casadi::FunctionInternal::forward_name(), casadi::FunctionInternal::forward_options_, casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::get_forward(), casadi::FunctionInternal::has_derivative(), casadi::FunctionInternal::incache(), casadi::Function::n_in(), casadi::FunctionInternal::n_in_, casadi::Function::n_out(), casadi::FunctionInternal::n_out_, casadi::ProtoFunction::name_, casadi::FunctionInternal::name_in_, casadi::FunctionInternal::name_out_, casadi::FunctionInternal::size1_in(), casadi::FunctionInternal::size1_out(), casadi::FunctionInternal::size2_in(), casadi::FunctionInternal::size2_out(), casadi::FunctionInternal::sparsity_out(), casadi::FunctionInternal::tocache_if_missing(), and casadi::FunctionInternal::wrap().
Referenced by casadi::FunctionInternal::call_forward(), and casadi::Function::forward().
|
inlinestaticinherited |
Definition at line 633 of file function_internal.hpp.
References casadi::str().
Referenced by casadi::Integrator::bdae_sp_forward(), casadi::Integrator::bdae_sp_reverse(), casadi::Integrator::bquad_sp_forward(), casadi::Integrator::bquad_sp_reverse(), casadi::SundialsInterface::calc_daeB(), casadi::SundialsInterface::calc_daeF(), casadi::Integrator::calc_edot(), casadi::SundialsInterface::calc_jtimesF(), casadi::SundialsInterface::calc_quadB(), casadi::SundialsInterface::calc_quadF(), casadi::OracleFunction::create_forward(), casadi::Integrator::fdae_sp_forward(), casadi::Integrator::fdae_sp_reverse(), casadi::FunctionInternal::forward(), casadi::Integrator::fquad_sp_forward(), casadi::Integrator::fquad_sp_reverse(), casadi::Integrator::sp_jac_dae(), casadi::Integrator::sp_jac_rdae(), casadi::FixedStepIntegrator::stepB(), casadi::FixedStepIntegrator::stepF(), and casadi::Integrator::trigger_event().
|
inlineoverridevirtual |
Reimplemented from casadi::OracleFunction.
Definition at line 101 of file fast_newton.hpp.
|
virtualinherited |
Reimplemented in casadi::MXFunction.
Definition at line 3293 of file function_internal.cpp.
|
virtualinherited |
Reimplemented in casadi::SXFunction.
Definition at line 3297 of file function_internal.cpp.
|
inherited |
Definition at line 1844 of file function_internal.cpp.
References casadi::Sparsity::enlargeColumns(), casadi::Sparsity::enlargeRows(), casadi::FunctionInternal::find(), casadi::FunctionInternal::nnz_in(), casadi::FunctionInternal::nnz_out(), casadi::FunctionInternal::numel_in(), casadi::FunctionInternal::numel_out(), casadi::Sparsity::size1(), casadi::Sparsity::size2(), casadi::FunctionInternal::sparsity_in(), and casadi::FunctionInternal::sparsity_out().
Referenced by casadi::FunctionInternal::jac_sparsity().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nr
Definition at line 1496 of file function_internal.hpp.
References casadi::FunctionInternal::is_diff_in_, casadi::FunctionInternal::n_in_, casadi::FunctionInternal::name_in_, casadi::FunctionInternal::size_in(), casadi::FunctionInternal::sparsity_in(), and casadi::str().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nc
Definition at line 2909 of file function_internal.cpp.
References casadi::FunctionInternal::ad_weight(), casadi::FunctionInternal::enable_fd_, casadi::FunctionInternal::enable_forward_, casadi::FunctionInternal::enable_reverse_, casadi::FunctionInternal::jac_penalty_, casadi::FunctionInternal::nnz_in(), and casadi::FunctionInternal::nnz_out().
Referenced by casadi::FunctionInternal::call_forward().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_j
Reimplemented from casadi::FunctionInternal.
Definition at line 428 of file oracle_function.cpp.
References casadi::CodeGenerator::add(), casadi::OracleFunction::all_functions_, casadi::CodeGenerator::generate(), and casadi::OracleFunction::oracle_.
Referenced by casadi::OracleFunction::jit_dependencies().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ne
Definition at line 731 of file function_internal.cpp.
References casadi::FunctionInternal::n_in_, casadi::FunctionInternal::nnz_in(), casadi::normalized_out(), casadi::normalized_setup(), and casadi::Filesystem::open().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l9
Reimplemented in casadi::MXFunction.
Definition at line 3301 of file function_internal.cpp.
|
overridevirtualinherited |
Reimplemented from casadi::ProtoFunction.
Reimplemented in casadi::SXFunction, and casadi::MXFunction.
Definition at line 382 of file function_internal.cpp.
References casadi::FunctionInternal::ad_weight_, casadi::FunctionInternal::ad_weight_sp_, casadi::FunctionInternal::always_inline_, casadi::FunctionInternal::compiler_plugin_, casadi::FunctionInternal::der_options_, casadi::FunctionInternal::derivative_of_, casadi::FunctionInternal::dump_, casadi::FunctionInternal::dump_dir_, casadi::FunctionInternal::dump_format_, casadi::FunctionInternal::dump_in_, casadi::FunctionInternal::dump_out_, casadi::FunctionInternal::enable_fd_op_, casadi::FunctionInternal::enable_forward_op_, casadi::FunctionInternal::enable_jacobian_op_, casadi::FunctionInternal::enable_reverse_op_, casadi::FunctionInternal::fd_method_, casadi::FunctionInternal::fd_options_, casadi::FunctionInternal::forward_options_, casadi::ProtoFunction::generate_options(), casadi::FunctionInternal::inputs_check_, casadi::FunctionInternal::jac_penalty_, casadi::FunctionInternal::jacobian_options_, casadi::FunctionInternal::jit_, casadi::FunctionInternal::jit_base_name_, casadi::FunctionInternal::jit_cleanup_, casadi::FunctionInternal::jit_options_, casadi::FunctionInternal::jit_serialize_, casadi::FunctionInternal::jit_temp_suffix_, casadi::FunctionInternal::max_io_, casadi::FunctionInternal::max_num_dir_, casadi::FunctionInternal::never_inline_, casadi::FunctionInternal::print_in_, casadi::FunctionInternal::print_out_, casadi::FunctionInternal::reverse_options_, and casadi::FunctionInternal::user_data_.
Referenced by casadi::FunctionInternal::forward(), casadi::MXFunction::generate_options(), casadi::SXFunction::generate_options(), casadi::BlazingSplineFunction::get_jacobian(), and casadi::FunctionInternal::reverse().
|
inherited |
Definition at line 747 of file function_internal.cpp.
References casadi::FunctionInternal::n_out_, casadi::FunctionInternal::nnz_out(), casadi::normalized_out(), casadi::normalized_setup(), and casadi::Filesystem::open().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mp
Reimplemented in casadi::SundialsInterface, casadi::Smoothing, casadi::CentralDiff, and casadi::ForwardDiff.
Definition at line 1094 of file function_internal.hpp.
References casadi::eps.
Referenced by casadi::FiniteDiff::init().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ml
Reimplemented in casadi::SXFunction, casadi::Nlpsol, casadi::MXFunction, casadi::MapSum, casadi::Map, casadi::FiniteDiff, casadi::Conic, and casadi::External.
Definition at line 1058 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::convert_arg(), and casadi::External::get_default_in().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ms
Reimplemented in casadi::BSplineInterpolant, casadi::Interpolant, casadi::GenericExternal, casadi::Expm, and casadi::BlazingSplineFunction.
Definition at line 1111 of file function_internal.hpp.
Referenced by casadi::GenericExternal::get_diff_in(), and casadi::FunctionInternal::init().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mt
Reimplemented in casadi::GenericExternal.
Definition at line 1116 of file function_internal.hpp.
Referenced by casadi::GenericExternal::get_diff_out(), and casadi::FunctionInternal::init().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1oi
Reimplemented from casadi::FunctionInternal.
Definition at line 315 of file rootfinder.cpp.
References casadi::GenericMatrix< MX >::sym().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mc
Reimplemented in casadi::SXFunction, and casadi::MXFunction.
Definition at line 936 of file function_internal.cpp.
References casadi::FunctionInternal::has_free().
|
overridevirtualinherited |
-1 Indicates irregularity
Extra doc: https://github.com/casadi/casadi/wiki/L_i
Reimplemented from casadi::FunctionInternal.
Definition at line 531 of file oracle_function.cpp.
References casadi::OracleFunction::all_functions_.
Referenced by casadi::Rootfinder::ad_forward(), casadi::Rootfinder::ad_reverse(), casadi::OracleFunction::calc_function(), casadi::OracleFunction::calc_sp_forward(), casadi::OracleFunction::calc_sp_reverse(), codegen_body(), casadi::Feasiblesqpmethod::codegen_body(), casadi::Sqpmethod::codegen_body(), casadi::Nlpsol::codegen_body_exit(), casadi::Nlpsol::codegen_declarations(), casadi::FatropInterface::codegen_declarations(), casadi::IpoptInterface::codegen_declarations(), casadi::MadnlpInterface::codegen_declarations(), codegen_declarations(), casadi::Feasiblesqpmethod::codegen_declarations(), casadi::Sqpmethod::codegen_declarations(), casadi::Feasiblesqpmethod::codegen_feasibility_iterations(), casadi::FixedStepIntegrator::create_advanced(), casadi::OracleFunction::create_forward(), casadi::AlpaqaProblem::eval_hess_L(), casadi::AlpaqaProblem::eval_hess_ψ(), casadi::OracleFunction::finalize(), casadi::Nlpsol::get_forward(), casadi::OracleFunction::get_function(), casadi::AlpaqaProblem::get_hess_L_num_nonzeros(), casadi::AlpaqaProblem::get_hess_ψ_num_nonzeros(), casadi::Nlpsol::get_reverse(), casadi::FixedStepIntegrator::init(), casadi::ImplicitFixedStepIntegrator::init(), casadi::Blocksqp::init(), casadi::BonminInterface::init(), casadi::FatropInterface::init(), casadi::IpoptInterface::init(), casadi::MadnlpInterface::init(), casadi::SLEQPInterface::init(), casadi::SundialsInterface::init(), init(), casadi::Feasiblesqpmethod::init(), casadi::Sqpmethod::init(), casadi::OracleFunction::monitored(), casadi::FatropInterface::set_fatrop_prob(), casadi::IpoptInterface::set_ipopt_prob(), casadi::MadnlpInterface::set_madnlp_prob(), casadi::SundialsInterface::set_work(), casadi::Collocation::setup_step(), casadi::RungeKutta::setup_step(), casadi::Integrator::sp_jac_dae(), and casadi::Integrator::sp_jac_rdae().
|
overridevirtualinherited |
Reimplemented from casadi::FunctionInternal.
Definition at line 540 of file oracle_function.cpp.
References casadi::OracleFunction::all_functions_, casadi::OracleFunction::get_function(), casadi::join(), and casadi::ProtoFunction::name_.
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kz Get, if necessary generate, the sparsity of a Jacobian block
Reimplemented in casadi::FmuFunction, casadi::GenericExternal, casadi::Expm, and casadi::CallbackInternal.
Definition at line 1787 of file function_internal.cpp.
References casadi::bvec_size, casadi::FunctionInternal::get_jac_sparsity_hierarchical(), casadi::FunctionInternal::get_jac_sparsity_hierarchical_symm(), casadi::FunctionInternal::has_spfwd(), casadi::FunctionInternal::has_sprev(), casadi::GlobalOptions::hierarchical_sparsity, casadi::FunctionInternal::nnz_in(), casadi::FunctionInternal::nnz_out(), casadi::FunctionInternal::nz_in(), casadi::FunctionInternal::nz_out(), casadi::FunctionInternal::sp_weight(), and casadi::FunctionInternal::sparsity_out_.
Referenced by casadi::Expm::get_jac_sparsity(), casadi::GenericExternal::get_jac_sparsity(), and casadi::FunctionInternal::jac_sparsity().
|
inherited |
Definition at line 1132 of file function_internal.cpp.
References casadi::bvec_size, casadi::Sparsity::density(), casadi::get_ptr(), casadi::ProtoFunction::memory(), casadi::Sparsity::nnz(), casadi::FunctionInternal::nnz_in(), casadi::FunctionInternal::nnz_out(), casadi::FunctionInternal::nz_in(), casadi::FunctionInternal::nz_out(), casadi::Sparsity::size(), casadi::str(), casadi::FunctionInternal::sz_arg(), casadi::FunctionInternal::sz_iw(), casadi::FunctionInternal::sz_res(), casadi::FunctionInternal::sz_w(), casadi::Sparsity::triplet(), and casadi::ProtoFunction::verbose_.
|
inherited |
Decide which ad_mode to take
Definition at line 1472 of file function_internal.cpp.
References casadi::bvec_or(), casadi::bvec_size, casadi::bvec_toggle(), casadi::Sparsity::colind(), casadi::D, casadi::Sparsity::dense(), casadi::Sparsity::density(), casadi::diff(), casadi::Sparsity::dim(), casadi::Sparsity::get_nz(), casadi::get_ptr(), casadi::lookupvector(), casadi::ProtoFunction::memory(), casadi::Sparsity::nnz(), casadi::FunctionInternal::nnz_in(), casadi::FunctionInternal::nnz_out(), casadi::FunctionInternal::nz_in(), casadi::FunctionInternal::nz_out(), casadi::range(), casadi::Sparsity::row(), casadi::Sparsity::size(), casadi::Sparsity::size1(), casadi::Sparsity::size2(), casadi::FunctionInternal::sp_weight(), casadi::Matrix< Scalar >::sparsity(), casadi::str(), casadi::FunctionInternal::sz_arg(), casadi::FunctionInternal::sz_iw(), casadi::FunctionInternal::sz_res(), casadi::FunctionInternal::sz_w(), casadi::Sparsity::T(), casadi::Sparsity::triplet(), casadi::Matrix< casadi_int >::triplet(), casadi::Sparsity::uni_coloring(), and casadi::ProtoFunction::verbose_.
Referenced by casadi::FunctionInternal::get_jac_sparsity().
|
inherited |
A flavor of get_jac_sparsity_gen that does hierarchical block structure recognition for symmetric Jacobians
Definition at line 1237 of file function_internal.cpp.
References casadi::bvec_or(), casadi::bvec_size, casadi::bvec_toggle(), casadi::Sparsity::colind(), casadi::D, casadi::Sparsity::dense(), casadi::Sparsity::density(), casadi::diff(), casadi::Sparsity::dim(), casadi::Sparsity::get_nz(), casadi::get_ptr(), casadi::FunctionInternal::has_spfwd(), casadi::lookupvector(), casadi::Sparsity::nnz(), casadi::FunctionInternal::nnz_in(), casadi::FunctionInternal::nnz_out(), casadi::range(), casadi::Sparsity::row(), casadi::Sparsity::size(), casadi::Matrix< Scalar >::sparsity(), casadi::Sparsity::star_coloring(), casadi::str(), casadi::FunctionInternal::sz_arg(), casadi::FunctionInternal::sz_iw(), casadi::FunctionInternal::sz_res(), casadi::FunctionInternal::sz_w(), casadi::Sparsity::T(), casadi::Sparsity::triplet(), casadi::Matrix< casadi_int >::triplet(), and casadi::ProtoFunction::verbose_.
Referenced by casadi::FunctionInternal::get_jac_sparsity().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ky
Reimplemented in casadi::LinearInterpolantJac, casadi::LinearInterpolant, casadi::BSplineInterpolant, casadi::XFunction< DerivedType, MatType, NodeType >, casadi::XFunction< MXFunction, MX, MXNode >, casadi::XFunction< SXFunction, Matrix< SXElem >, SXNode >, casadi::JitFunction, casadi::FmuFunction, casadi::External, casadi::CallbackInternal, and casadi::BlazingSplineFunction.
Definition at line 2298 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
Referenced by casadi::External::get_jacobian(), casadi::BSplineInterpolant::get_jacobian(), casadi::LinearInterpolantJac::get_jacobian(), and casadi::FunctionInternal::jacobian().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mm
Definition at line 1065 of file function_internal.hpp.
References casadi::inf.
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mn
Definition at line 1072 of file function_internal.hpp.
References casadi::inf.
|
inlineoverridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1o9
Reimplemented from casadi::FunctionInternal.
Definition at line 71 of file rootfinder_impl.hpp.
|
inlineoverridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1o9
Reimplemented from casadi::FunctionInternal.
Definition at line 72 of file rootfinder_impl.hpp.
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1ob
Reimplemented from casadi::FunctionInternal.
Definition at line 72 of file rootfinder.cpp.
References casadi::Rootfinder::iin_, casadi::Function::name_in(), and casadi::OracleFunction::oracle_.
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1ob
Reimplemented from casadi::FunctionInternal.
Definition at line 77 of file rootfinder.cpp.
References casadi::Rootfinder::iin_, casadi::Rootfinder::iout_, casadi::Function::name_in(), casadi::Function::name_out(), and casadi::OracleFunction::oracle_.
|
inlinevirtualinherited |
Reimplemented in casadi::FmuFunction.
Definition at line 1076 of file function_internal.hpp.
Referenced by casadi::FmuFunction::get_nominal_in().
|
inlinevirtualinherited |
Reimplemented in casadi::FmuFunction.
Definition at line 1080 of file function_internal.hpp.
Referenced by casadi::FmuFunction::get_nominal_out().
|
inlineoverridevirtual |
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_md
Definition at line 1927 of file function_internal.cpp.
References casadi::FunctionInternal::ad_weight(), casadi::FunctionInternal::enable_fd_, casadi::FunctionInternal::enable_forward_, casadi::FunctionInternal::enable_reverse_, casadi::GenericShared< Shared, Internal >::is_null(), casadi::FunctionInternal::jac_sparsity(), casadi::ProtoFunction::name_, casadi::Sparsity::size1(), casadi::Sparsity::size2(), casadi::Sparsity::star_coloring(), casadi::str(), casadi::Sparsity::T(), casadi::Sparsity::uni_coloring(), and casadi::ProtoFunction::verbose_.
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mo
Reimplemented in casadi::SundialsInterface.
Definition at line 1087 of file function_internal.hpp.
References casadi::eps.
Referenced by casadi::FiniteDiff::init().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1oj
Reimplemented from casadi::FunctionInternal.
Definition at line 346 of file rootfinder.cpp.
References casadi::GenericMatrix< MX >::sym().
|
inlineoverridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1oa
Reimplemented from casadi::FunctionInternal.
Definition at line 79 of file rootfinder_impl.hpp.
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1oa
Reimplemented from casadi::FunctionInternal.
Definition at line 82 of file rootfinder.cpp.
References casadi::Rootfinder::iin_, casadi::Rootfinder::iout_, casadi::OracleFunction::oracle_, casadi::Function::sparsity_in(), and casadi::Function::sparsity_out().
|
overridevirtual |
Reimplemented from casadi::Rootfinder.
Definition at line 246 of file fast_newton.cpp.
References casadi::Rootfinder::get_stats(), and casadi::return_code().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_k3
Definition at line 304 of file function_internal.hpp.
|
inherited |
Definition at line 60 of file generic_shared_internal.hpp.
|
staticinherited |
Definition at line 102 of file plugin_interface.hpp.
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_m3
Reimplemented in casadi::LinearInterpolantJac, casadi::LinearInterpolant, casadi::BSplineInterpolant, casadi::XFunction< DerivedType, MatType, NodeType >, casadi::XFunction< MXFunction, MX, MXNode >, casadi::XFunction< SXFunction, Matrix< SXElem >, SXNode >, casadi::Switch, casadi::MapSum, casadi::Map, casadi::JitFunction, casadi::FiniteDiff, and casadi::BlazingSplineFunction.
Definition at line 909 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::finalize().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l4
Definition at line 2905 of file function_internal.cpp.
References casadi::FunctionInternal::enable_fd_, casadi::FunctionInternal::enable_forward_, casadi::FunctionInternal::enable_jacobian_, and casadi::FunctionInternal::enable_reverse_.
Referenced by casadi::FunctionInternal::call_forward(), casadi::FunctionInternal::call_reverse(), casadi::FunctionInternal::forward(), casadi::FunctionInternal::jacobian(), and casadi::FunctionInternal::reverse().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ke
Reimplemented in casadi::CallbackInternal.
Definition at line 419 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::eval().
|
inlineoverridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1oi
Reimplemented from casadi::FunctionInternal.
Definition at line 148 of file rootfinder_impl.hpp.
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l8
Reimplemented in casadi::SXFunction, and casadi::MXFunction.
Definition at line 738 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::get_free().
|
overridevirtualinherited |
Reimplemented from casadi::FunctionInternal.
Definition at line 556 of file oracle_function.cpp.
References casadi::OracleFunction::all_functions_.
Referenced by casadi::OracleFunction::create_forward(), casadi::FixedStepIntegrator::init(), casadi::BonminInterface::init(), casadi::FatropInterface::init(), casadi::IpoptInterface::init(), casadi::MadnlpInterface::init(), casadi::SLEQPInterface::init(), casadi::Feasiblesqpmethod::init(), casadi::Sqpmethod::init(), casadi::OracleFunction::set_function(), and casadi::Integrator::trigger_event().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kz Get, if necessary generate, the sparsity of a Jacobian block
Reimplemented in casadi::FmuFunction, casadi::GenericExternal, casadi::Expm, and casadi::CallbackInternal.
Definition at line 628 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::get_sparsity_out(), casadi::GenericExternal::has_jac_sparsity(), and casadi::FunctionInternal::jac_sparsity().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ky
Reimplemented in casadi::LinearInterpolantJac, casadi::LinearInterpolant, casadi::BSplineInterpolant, casadi::XFunction< DerivedType, MatType, NodeType >, casadi::XFunction< MXFunction, MX, MXNode >, casadi::XFunction< SXFunction, Matrix< SXElem >, SXNode >, casadi::JitFunction, casadi::FmuFunction, casadi::External, casadi::CallbackInternal, and casadi::BlazingSplineFunction.
Definition at line 615 of file function_internal.hpp.
Referenced by casadi::External::has_jacobian(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::jacobian().
|
inherited |
Definition at line 3581 of file function_internal.cpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_jj
Definition at line 920 of file function_internal.cpp.
References casadi::Options::find(), and casadi::ProtoFunction::get_options().
|
staticinherited |
Definition at line 76 of file plugin_interface.hpp.
|
inlineoverridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1oj
Reimplemented from casadi::FunctionInternal.
Definition at line 159 of file rootfinder_impl.hpp.
|
inlineoverridevirtualinherited |
Is the class able to propagate seeds through the algorithm?
Reimplemented from casadi::FunctionInternal.
Definition at line 135 of file rootfinder_impl.hpp.
|
inlineoverridevirtualinherited |
Is the class able to propagate seeds through the algorithm?
Reimplemented from casadi::FunctionInternal.
Definition at line 136 of file rootfinder_impl.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lk
Definition at line 994 of file function_internal.cpp.
References casadi::FunctionInternal::cache_.
Referenced by casadi::MapSum::create(), casadi::OracleFunction::create_function(), casadi::FunctionInternal::forward(), casadi::BlazingSplineFunction::get_jacobian(), casadi::FunctionInternal::jacobian(), casadi::FunctionInternal::map(), casadi::FunctionInternal::reverse(), and casadi::FunctionInternal::wrap().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mu
Definition at line 1121 of file function_internal.hpp.
References casadi::str().
Referenced by casadi::FunctionInternal::convert_arg().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mv
Definition at line 1133 of file function_internal.hpp.
References casadi::str().
Referenced by casadi::FunctionInternal::convert_res().
|
virtualinherited |
Obtain information about function
Reimplemented in casadi::Switch, and casadi::Map.
Definition at line 2941 of file function_internal.cpp.
Referenced by casadi::MXFunction::export_code_body(), casadi::Blocksqp::feasibilityRestorationPhase(), casadi::Blocksqp::filterLineSearch(), casadi::Blocksqp::fullstep(), casadi::BSplineInterpolant::init(), casadi::Blocksqp::kktErrorReduction(), casadi::Feasiblesqpmethod::print_iteration(), casadi::Sqpmethod::print_iteration(), casadi::Blocksqp::secondOrderCorrection(), casadi::SnoptInterface::solve(), casadi::Feasiblesqpmethod::solve(), casadi::Sqpmethod::solve(), and casadi::Sqpmethod::solve_elastic_mode().
|
overridevirtual |
Reimplemented from casadi::Rootfinder.
Definition at line 71 of file fast_newton.cpp.
References abstol_, abstolStep_, casadi::FunctionInternal::alloc_w(), casadi::OracleFunction::get_function(), casadi::Rootfinder::init(), casadi::GenericShared< Shared, Internal >::is_null(), jac_g_x_, casadi::Rootfinder::linsol_, max_iter_, casadi::Rootfinder::n_, casadi::Function::n_in(), casadi::Sparsity::nnz(), casadi::OracleFunction::oracle_, pc_, prinv_, casadi::Sparsity::qr_sparse(), casadi::Sparsity::size1(), casadi::Sparsity::size2(), casadi::Rootfinder::sp_jac_, sp_r_, and sp_v_.
|
overridevirtual |
Reimplemented from casadi::Rootfinder.
Definition at line 225 of file fast_newton.cpp.
References casadi::Rootfinder::init_mem(), and casadi::FastNewtonMemory::return_status.
|
inlineprotectedinherited |
Called in the constructor of singletons to avoid that the counter reaches zero
Definition at line 71 of file generic_shared_internal.hpp.
|
staticinherited |
Definition at line 106 of file plugin_interface.hpp.
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ld
Reimplemented in casadi::SXFunction.
Definition at line 3318 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lb
Reimplemented in casadi::SXFunction, and casadi::MXFunction.
Definition at line 3310 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lc
Reimplemented in casadi::SXFunction, and casadi::MXFunction.
Definition at line 3314 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
virtualinherited |
Reimplemented in casadi::MXFunction.
Definition at line 3326 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_le
Reimplemented in casadi::SXFunction, and casadi::MXFunction.
Definition at line 3322 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
virtualinherited |
Reimplemented in casadi::SXFunction.
Definition at line 3330 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_np
Reimplemented in casadi::XFunction< DerivedType, MatType, NodeType >, casadi::XFunction< MXFunction, MX, MXNode >, casadi::XFunction< SXFunction, Matrix< SXElem >, SXNode >, casadi::SXFunction, casadi::Nlpsol, casadi::MXFunction, casadi::ThreadMap, casadi::OmpMap, casadi::Map, and casadi::Conic.
Definition at line 3284 of file function_internal.cpp.
Referenced by casadi::Conic::is_a(), casadi::Map::is_a(), casadi::Nlpsol::is_a(), and casadi::XFunction< DerivedType, MatType, NodeType >::is_a().
|
virtualinherited |
Definition at line 1774 of file function_internal.cpp.
References casadi::FunctionInternal::derivative_of_, casadi::GenericShared< Shared, Internal >::is_null(), casadi::Function::name(), and casadi::ProtoFunction::name_.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kz Get, if necessary generate, the sparsity of a Jacobian block
Definition at line 1862 of file function_internal.cpp.
References casadi::Sparsity::dense(), casadi::FunctionInternal::from_compact(), casadi::FunctionInternal::get_jac_sparsity(), casadi::FunctionInternal::has_jac_sparsity(), casadi::FunctionInternal::has_spfwd(), casadi::FunctionInternal::has_sprev(), casadi::FunctionInternal::is_diff_in_, casadi::FunctionInternal::is_diff_out_, casadi::GenericShared< Shared, Internal >::is_null(), casadi::Sparsity::is_symmetric(), casadi::FunctionInternal::jac_sparsity_, casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, casadi::FunctionInternal::nnz_in(), casadi::FunctionInternal::nnz_out(), casadi::Sparsity::size1(), casadi::Sparsity::size2(), casadi::Sparsity::T(), and casadi::FunctionInternal::to_compact().
Referenced by casadi::FunctionInternal::get_partition(), casadi::FunctionInternal::sp_forward_block(), and casadi::FunctionInternal::sp_reverse().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ky
Definition at line 2257 of file function_internal.cpp.
References casadi::combine(), casadi::FunctionInternal::der_options_, casadi::FunctionInternal::enable_jacobian_, casadi::FunctionInternal::get_jacobian(), casadi::FunctionInternal::has_derivative(), casadi::FunctionInternal::has_jacobian(), casadi::FunctionInternal::incache(), casadi::Function::jacobian(), casadi::FunctionInternal::jacobian_options_, casadi::Function::n_in(), casadi::FunctionInternal::n_in_, casadi::Function::n_out(), casadi::FunctionInternal::n_out_, casadi::ProtoFunction::name_, casadi::FunctionInternal::name_in_, casadi::FunctionInternal::name_out_, casadi::str(), casadi::FunctionInternal::tocache_if_missing(), and casadi::FunctionInternal::wrap().
Referenced by casadi::FunctionInternal::call_forward(), casadi::FunctionInternal::call_reverse(), and casadi::Function::jacobian().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_k
Reimplemented from casadi::FunctionInternal.
Definition at line 438 of file oracle_function.cpp.
References casadi::OracleFunction::all_functions_, casadi::FunctionInternal::compiler_, casadi::FunctionInternal::compiler_plugin_, casadi::external(), casadi::OracleFunction::generate_dependencies(), casadi::GenericShared< Shared, Internal >::is_null(), casadi::FunctionInternal::jit_options_, and casadi::ProtoFunction::verbose_.
|
inherited |
Definition at line 168 of file oracle_function.cpp.
References casadi::ProtoFunctionMemory::fstats, casadi::OracleFunction::max_num_threads_, and casadi::OracleMemory::thread_local_mem.
Referenced by casadi::Nlpsol::eval(), and casadi::Integrator::eval().
|
staticinherited |
Definition at line 92 of file plugin_interface.hpp.
|
staticinherited |
Definition at line 88 of file plugin_interface.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_m
Definition at line 465 of file oracle_function.cpp.
References casadi::ProtoFunctionMemory::add_stat(), casadi::OracleFunction::all_functions_, and casadi::ProtoFunction::init_mem().
Referenced by casadi::OracleFunction::init_mem().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nd
Definition at line 1007 of file function_internal.cpp.
References casadi::Map::create(), casadi::FunctionInternal::incache(), casadi::Function::name(), casadi::ProtoFunction::name_, casadi::str(), and casadi::FunctionInternal::tocache_if_missing().
Referenced by casadi::Dple::get_forward(), casadi::Dple::get_reverse(), and casadi::FunctionInternal::mapsum_mx().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kw
Definition at line 3339 of file function_internal.cpp.
References casadi::FunctionInternal::check_arg(), casadi::FunctionInternal::check_mat(), casadi::FunctionInternal::map(), casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, casadi::range(), casadi::replace_mat(), casadi::FunctionInternal::size2_in(), and casadi::FunctionInternal::sparsity_in_.
|
inherited |
Raises errors
npar[in] | normal usage: 1, disallow pararallel calls: -1 | |
[out] | npar | max number of horizontal repetitions across all arguments (or -1) |
Extra doc: https://github.com/casadi/casadi/wiki/L_kk
Definition at line 1722 of file function_internal.hpp.
References casadi::FunctionInternal::check_arg(), casadi::FunctionInternal::n_in_, casadi::FunctionInternal::size1_in(), and casadi::FunctionInternal::size2_in().
Referenced by casadi::MXFunction::ad_forward(), casadi::SXFunction::ad_forward(), casadi::FunctionInternal::call(), casadi::FunctionInternal::call_forward(), and casadi::FunctionInternal::nz_in().
|
inherited |
Raises errors
npar[in] | normal usage: 1, disallow pararallel calls: -1 | |
[out] | npar | max number of horizontal repetitions across all arguments (or -1) |
Extra doc: https://github.com/casadi/casadi/wiki/L_kl
Definition at line 1732 of file function_internal.hpp.
References casadi::FunctionInternal::check_res(), casadi::FunctionInternal::n_out_, casadi::FunctionInternal::size1_out(), and casadi::FunctionInternal::size2_out().
Referenced by casadi::MXFunction::ad_reverse(), casadi::SXFunction::ad_reverse(), casadi::FunctionInternal::call_reverse(), and casadi::FunctionInternal::nz_out().
|
inherited |
Definition at line 3574 of file function_internal.cpp.
Referenced by casadi::FunctionInternal::call_gen(), casadi::FunctionInternal::get_jac_sparsity_gen(), casadi::FunctionInternal::get_jac_sparsity_hierarchical(), casadi::Sqpmethod::solve_ela_QP(), and casadi::Sqpmethod::solve_QP().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_2b8
Reimplemented in casadi::BlazingSplineFunction.
Definition at line 3288 of file function_internal.cpp.
|
virtualinherited |
Definition at line 548 of file oracle_function.cpp.
References casadi::OracleFunction::all_functions_, casadi::OracleFunction::get_function(), casadi::join(), and casadi::ProtoFunction::name_.
Referenced by casadi::OracleFunction::calc_function().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Reimplemented in casadi::MXFunction.
Definition at line 3268 of file function_internal.cpp.
References casadi::FunctionInternal::n_in_.
Referenced by casadi::Nlpsol::get_forward(), casadi::LinearInterpolantJac::get_jacobian(), casadi::Nlpsol::get_reverse(), casadi::FunctionInternal::wrap(), and casadi::FunctionInternal::wrap_as_needed().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Reimplemented in casadi::MXFunction.
Definition at line 3260 of file function_internal.cpp.
References casadi::FunctionInternal::name_in_, casadi::FunctionInternal::sparsity_in(), and casadi::GenericMatrix< MX >::sym().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Definition at line 3276 of file function_internal.cpp.
References casadi::FunctionInternal::n_out_.
Referenced by casadi::Nlpsol::get_forward(), and casadi::Nlpsol::get_reverse().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Definition at line 3264 of file function_internal.cpp.
References casadi::FunctionInternal::name_out_, casadi::FunctionInternal::sparsity_out(), and casadi::GenericMatrix< MX >::sym().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_la
Reimplemented in casadi::SXFunction, and casadi::MXFunction.
Definition at line 3306 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lf
Reimplemented in casadi::SXFunction, and casadi::MXFunction.
Definition at line 3334 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_me
Definition at line 2217 of file function_internal.cpp.
References casadi::FunctionInternal::n_in_.
Referenced by casadi::FunctionInternal::adjViaJac(), casadi::FunctionInternal::call_gen(), casadi::JitFunction::codegen_body(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::eval_gen(), casadi::CallbackInternal::finalize(), casadi::FunctionInternal::from_compact(), casadi::FunctionInternal::fwdViaJac(), casadi::FunctionInternal::generate_in(), casadi::FunctionInternal::get_jac_sparsity(), casadi::Expm::get_jac_sparsity(), casadi::FmuFunction::get_jac_sparsity(), casadi::FunctionInternal::get_jac_sparsity_gen(), casadi::FunctionInternal::get_jac_sparsity_hierarchical(), casadi::FunctionInternal::get_jac_sparsity_hierarchical_symm(), casadi::JitFunction::init(), casadi::Nlpsol::init(), casadi::CbcInterface::init(), casadi::ClpInterface::init(), casadi::CplexInterface::init(), casadi::OoqpInterface::init(), casadi::ProxqpInterface::init(), casadi::QpoasesInterface::init(), casadi::ImplicitToNlp::init(), casadi::FunctionInternal::jac_sparsity(), casadi::FunctionInternal::nz_in(), casadi::ImplicitToNlp::set_work(), casadi::CbcInterface::solve(), casadi::ClpInterface::solve(), casadi::CplexInterface::solve(), casadi::OoqpInterface::solve(), casadi::ProxqpInterface::solve(), casadi::QpToNlp::solve(), casadi::KinsolInterface::solve(), casadi::FunctionInternal::sp_forward(), and casadi::FunctionInternal::sp_reverse().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_me
Definition at line 969 of file function_internal.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_me
Definition at line 2223 of file function_internal.cpp.
References casadi::FunctionInternal::n_out_.
Referenced by casadi::FunctionInternal::adjViaJac(), casadi::FunctionInternal::call_gen(), casadi::Nlpsol::check_inputs(), casadi::JitFunction::codegen_body(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::eval_gen(), casadi::SXFunction::eval_mx(), casadi::Switch::eval_sx(), casadi::CallbackInternal::finalize(), casadi::FunctionInternal::from_compact(), casadi::FunctionInternal::fwdViaJac(), casadi::FunctionInternal::generate_out(), casadi::FunctionInternal::get_jac_sparsity(), casadi::Expm::get_jac_sparsity(), casadi::FmuFunction::get_jac_sparsity(), casadi::FunctionInternal::get_jac_sparsity_gen(), casadi::FunctionInternal::get_jac_sparsity_hierarchical(), casadi::FunctionInternal::get_jac_sparsity_hierarchical_symm(), casadi::JitFunction::init(), casadi::Nlpsol::init(), casadi::FunctionInternal::jac_sparsity(), casadi::FunctionInternal::nz_out(), casadi::KinsolInterface::solve(), casadi::FunctionInternal::sp_forward(), and casadi::FunctionInternal::sp_reverse().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_me
Definition at line 971 of file function_internal.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mf
Definition at line 2229 of file function_internal.cpp.
References casadi::FunctionInternal::n_in_.
Referenced by casadi::FunctionInternal::from_compact(), and casadi::Integrator::get_reverse().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mf
Definition at line 979 of file function_internal.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mf
Definition at line 2235 of file function_internal.cpp.
References casadi::FunctionInternal::n_out_.
Referenced by casadi::FunctionInternal::from_compact(), and casadi::Integrator::get_reverse().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mf
Definition at line 980 of file function_internal.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kt
Definition at line 3429 of file function_internal.cpp.
References casadi::FunctionInternal::matching_arg(), casadi::FunctionInternal::n_in_, casadi::FunctionInternal::nnz_in(), casadi::FunctionInternal::project_arg(), and casadi::FunctionInternal::replace_arg().
Referenced by casadi::SXFunction::call_fwd(), casadi::SXFunction::call_rev(), casadi::SXFunction::call_setup(), casadi::FunctionInternal::get_jac_sparsity(), casadi::FunctionInternal::get_jac_sparsity_gen(), and casadi::FunctionInternal::get_jac_sparsity_hierarchical().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kt
Definition at line 3399 of file function_internal.cpp.
References casadi::FunctionInternal::dm_in(), casadi::FunctionInternal::n_in_, casadi::FunctionInternal::nnz_in(), casadi::Matrix< Scalar >::ptr(), and casadi::str().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kt
Definition at line 3447 of file function_internal.cpp.
References casadi::FunctionInternal::matching_res(), casadi::FunctionInternal::n_out_, casadi::FunctionInternal::nnz_out(), casadi::FunctionInternal::project_res(), and casadi::FunctionInternal::replace_res().
Referenced by casadi::SXFunction::call_fwd(), casadi::SXFunction::call_rev(), casadi::SXFunction::call_setup(), casadi::FunctionInternal::get_jac_sparsity(), casadi::FunctionInternal::get_jac_sparsity_gen(), and casadi::FunctionInternal::get_jac_sparsity_hierarchical().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kt
Definition at line 3414 of file function_internal.cpp.
References casadi::FunctionInternal::dm_out(), casadi::FunctionInternal::n_out_, casadi::FunctionInternal::nnz_out(), casadi::Matrix< Scalar >::ptr(), and casadi::str().
|
inlineoverridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_h
Reimplemented from casadi::FunctionInternal.
Definition at line 147 of file oracle_function.hpp.
Referenced by casadi::OracleFunction::create_function(), casadi::AmplInterface::init(), and casadi::Scpgen::init().
|
staticinherited |
Definition at line 82 of file plugin_interface.hpp.
|
inlineoverridevirtual |
Implements casadi::PluginInterface< Rootfinder >.
Definition at line 72 of file fast_newton.hpp.
|
staticinherited |
Definition at line 79 of file plugin_interface.hpp.
|
staticinherited |
Definition at line 85 of file plugin_interface.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_jr
Definition at line 3813 of file function_internal.cpp.
References casadi::uout().
Referenced by casadi::Feasiblesqpmethod::anderson_acc_step_update(), casadi::Nlpsol::callback(), casadi::Blocksqp::convertHessian(), casadi::FmuFunction::eval_task(), casadi::Feasiblesqpmethod::feasibility_iterations(), casadi::Blocksqp::feasibilityRestorationPhase(), casadi::Blocksqp::fullstep(), casadi::Blocksqp::init(), casadi::Feasiblesqpmethod::init(), casadi::Ipqp::init(), casadi::Qrqp::init(), casadi::Qrsqp::init(), casadi::Sqpmethod::init(), casadi::LinsolQr::nfact(), casadi::Feasiblesqpmethod::print_iteration(), casadi::Qrsqp::print_iteration(), casadi::Sqpmethod::print_iteration(), casadi::SundialsInterface::print_stats(), casadi::ProtoFunction::print_time(), casadi::Blocksqp::printInfo(), casadi::Blocksqp::printProgress(), casadi::Blocksqp::run(), casadi::Blocksqp::solve(), casadi::Feasiblesqpmethod::solve(), casadi::Qrsqp::solve(), casadi::Sqpmethod::solve(), casadi::Sqpmethod::solve_ela_QP(), casadi::Feasiblesqpmethod::solve_LP(), casadi::Feasiblesqpmethod::solve_QP(), casadi::Qrsqp::solve_QP(), casadi::Sqpmethod::solve_QP(), and casadi::Blocksqp::solveQP().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mb
Definition at line 899 of file function_internal.cpp.
References casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, casadi::FunctionInternal::name_in_, casadi::FunctionInternal::name_out_, casadi::FunctionInternal::sparsity_in_, and casadi::FunctionInternal::sparsity_out_.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nv
Definition at line 804 of file function_internal.cpp.
References casadi::FunctionInternal::n_in_, casadi::ProtoFunction::name_, casadi::FunctionInternal::name_in_, casadi::Matrix< double >::print_default(), and casadi::FunctionInternal::sparsity_in_.
Referenced by casadi::FunctionInternal::eval_gen().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ji
Definition at line 916 of file function_internal.cpp.
References casadi::ProtoFunction::get_options(), and casadi::Options::print_one().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_jh
Definition at line 912 of file function_internal.cpp.
References casadi::ProtoFunction::get_options(), and casadi::Options::print_all().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nw
Definition at line 817 of file function_internal.cpp.
References casadi::FunctionInternal::n_out_, casadi::ProtoFunction::name_, casadi::FunctionInternal::name_out_, casadi::Matrix< double >::print_default(), and casadi::FunctionInternal::sparsity_out_.
Referenced by casadi::FunctionInternal::eval_gen().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ju
Definition at line 3733 of file function_internal.cpp.
References casadi::ProtoFunction::format_time(), casadi::ProtoFunction::name_, casadi::ProtoFunction::print(), casadi::ProtoFunction::print_time_, and casadi::ProtoFunction::sprint().
Referenced by casadi::FunctionInternal::eval_gen().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kn
Definition at line 1594 of file function_internal.hpp.
References casadi::FunctionInternal::n_in_, casadi::FunctionInternal::size2_in(), and casadi::FunctionInternal::sparsity_in().
Referenced by casadi::FunctionInternal::call_gen(), and casadi::FunctionInternal::nz_in().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ko
Definition at line 1634 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::nz_out().
|
staticinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nq
Definition at line 1487 of file function_internal.hpp.
Referenced by casadi::MXFunction::ad_forward(), and casadi::MXFunction::ad_reverse().
|
staticinherited |
Definition at line 96 of file plugin_interface.hpp.
|
staticinherited |
Definition at line 99 of file plugin_interface.hpp.
|
inherited |
Definition at line 3606 of file function_internal.cpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_km
Definition at line 1767 of file function_internal.hpp.
References casadi::replace_mat(), and casadi::FunctionInternal::sparsity_in().
Referenced by casadi::FunctionInternal::call(), casadi::FunctionInternal::nz_in(), and casadi::FunctionInternal::replace_fseed().
|
inherited |
Definition at line 1791 of file function_internal.hpp.
References casadi::FunctionInternal::replace_res().
|
inherited |
|
inherited |
Definition at line 1783 of file function_internal.hpp.
References casadi::FunctionInternal::replace_arg().
|
inherited |
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kp
Definition at line 1775 of file function_internal.hpp.
References casadi::replace_mat(), and casadi::FunctionInternal::sparsity_out().
Referenced by casadi::FunctionInternal::nz_out(), and casadi::FunctionInternal::replace_aseed().
|
inherited |
reverse(nadj) returns a cached instance if available, and calls Function get_reverse(casadi_int nadj)
if no cached version is available.
Extra doc: https://github.com/casadi/casadi/wiki/L_l1
Definition at line 2140 of file function_internal.cpp.
References casadi::Function::assert_size_in(), casadi::Function::assert_sparsity_out(), casadi::combine(), casadi::FunctionInternal::der_options_, casadi::FunctionInternal::diff_prefix(), casadi::FunctionInternal::enable_reverse_, casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::get_reverse(), casadi::FunctionInternal::has_derivative(), casadi::FunctionInternal::incache(), casadi::Function::n_in(), casadi::FunctionInternal::n_in_, casadi::Function::n_out(), casadi::FunctionInternal::n_out_, casadi::ProtoFunction::name_, casadi::FunctionInternal::name_in_, casadi::FunctionInternal::name_out_, casadi::Function::reverse(), casadi::FunctionInternal::reverse_name(), casadi::FunctionInternal::reverse_options_, casadi::FunctionInternal::size1_in(), casadi::FunctionInternal::size1_out(), casadi::FunctionInternal::size2_in(), casadi::FunctionInternal::size2_out(), casadi::FunctionInternal::sparsity_in(), casadi::FunctionInternal::tocache_if_missing(), and casadi::FunctionInternal::wrap().
Referenced by casadi::FunctionInternal::call_reverse(), and casadi::Function::reverse().
|
inlinestaticinherited |
Definition at line 657 of file function_internal.hpp.
References casadi::str().
Referenced by casadi::FunctionInternal::reverse(), and casadi::FixedStepIntegrator::stepB().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_k8
Definition at line 348 of file function_internal.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_jv
Definition at line 4090 of file function_internal.cpp.
References casadi::ProtoFunction::serialize_body(), and casadi::ProtoFunction::serialize_type().
|
inlineoverridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1op
Reimplemented from casadi::ProtoFunction.
Definition at line 236 of file rootfinder_impl.hpp.
|
overridevirtual |
Reimplemented from casadi::Rootfinder.
Definition at line 267 of file fast_newton.cpp.
References abstol_, abstolStep_, jac_g_x_, max_iter_, casadi::SerializingStream::pack(), pc_, prinv_, casadi::Rootfinder::serialize_body(), sp_r_, sp_v_, and casadi::SerializingStream::version().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1on
Reimplemented from casadi::FunctionInternal.
Definition at line 587 of file rootfinder.cpp.
References casadi::PluginInterface< Derived >::serialize_type(), and casadi::FunctionInternal::serialize_type().
|
inlineinherited |
Register the function for evaluation and statistics gathering
Definition at line 183 of file oracle_function.hpp.
References casadi::Function::name(), and casadi::OracleFunction::set_function().
Referenced by casadi::OracleFunction::set_function().
|
inherited |
Register the function for evaluation and statistics gathering
Definition at line 286 of file oracle_function.cpp.
References casadi::OracleFunction::all_functions_, casadi::OracleFunction::RegFun::f, casadi::OracleFunction::has_function(), and casadi::OracleFunction::RegFun::jit.
Referenced by casadi::OracleFunction::create_forward(), casadi::OracleFunction::create_function(), casadi::Integrator::init(), casadi::ImplicitFixedStepIntegrator::init(), casadi::Rootfinder::init(), casadi::BonminInterface::init(), casadi::IpoptInterface::init(), casadi::SundialsInterface::init(), casadi::Feasiblesqpmethod::init(), casadi::Newton::init(), casadi::Sqpmethod::init(), casadi::Collocation::setup_step(), and casadi::RungeKutta::setup_step().
|
protectedinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nx
Definition at line 3677 of file function_internal.cpp.
References casadi::FunctionInternal::jac_sparsity_, casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, and casadi::FunctionInternal::to_compact().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_q
Reimplemented from casadi::FunctionInternal.
Definition at line 505 of file oracle_function.cpp.
References casadi::OracleMemory::arg, casadi::OracleFunction::max_num_threads_, casadi::OracleFunction::stride_arg_, casadi::OracleFunction::stride_iw_, casadi::OracleFunction::stride_res_, and casadi::OracleFunction::stride_w_.
|
overridevirtual |
Reimplemented from casadi::Rootfinder.
Definition at line 114 of file fast_newton.cpp.
References abstol_, abstolStep_, casadi::get_ptr(), casadi::Rootfinder::n_, casadi::Sparsity::nnz(), pc_, prinv_, casadi::Rootfinder::set_work(), casadi::Sparsity::size1(), casadi::Sparsity::size2(), casadi::Rootfinder::sp_jac_, sp_r_, and sp_v_.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nb
Definition at line 3465 of file function_internal.cpp.
References casadi::FunctionInternal::set_temp(), casadi::FunctionInternal::set_work(), and casadi::FunctionMemory::stats_available.
Referenced by casadi::Conic::eval(), casadi::Nlpsol::eval(), casadi::CallbackInternal::eval(), casadi::FiniteDiff::eval(), casadi::FmuFunction::eval(), casadi::Integrator::eval(), casadi::Map::eval(), casadi::OmpMap::eval(), casadi::ThreadMap::eval(), casadi::MapSum::eval(), casadi::MXFunction::eval(), casadi::Rootfinder::eval(), casadi::Switch::eval(), casadi::SXFunction::eval(), casadi::SlicotDple::eval(), casadi::SlicotExpm::eval(), casadi::BSplineInterpolant::eval(), and casadi::LinearInterpolant::eval().
|
inlineprotectedinherited |
Definition at line 83 of file generic_shared_internal.hpp.
|
inlineprotectedinherited |
Definition at line 92 of file generic_shared_internal.hpp.
|
inlinestaticinherited |
Definition at line 209 of file rootfinder_impl.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ly
Definition at line 2329 of file function_internal.cpp.
Referenced by casadi::CodeGenerator::add(), casadi::FunctionInternal::codegen(), and casadi::External::codegen_declarations().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_27o
Definition at line 2334 of file function_internal.cpp.
References casadi::join(), casadi::FunctionInternal::name_in_, casadi::FunctionInternal::name_out_, and casadi::str().
Referenced by casadi::CodeGenerator::add().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mg
Definition at line 988 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::check_arg(), casadi::FmuFunction::eval(), casadi::FmuFunction::eval_task(), casadi::FunctionInternal::forward(), casadi::Integrator::get_forward(), casadi::Integrator::get_reverse(), casadi::FunctionInternal::matching_arg(), and casadi::FunctionInternal::reverse().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mg
Definition at line 990 of file function_internal.hpp.
Referenced by casadi::FmuFunction::eval_task(), casadi::FunctionInternal::forward(), casadi::Integrator::get_forward(), casadi::LinearInterpolantJac::get_jacobian(), casadi::FunctionInternal::matching_res(), and casadi::FunctionInternal::reverse().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mg
Definition at line 989 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::call_gen(), casadi::FunctionInternal::call_reverse(), casadi::FunctionInternal::check_arg(), casadi::FunctionInternal::forward(), casadi::Integrator::get_reverse(), casadi::FunctionInternal::mapsum_mx(), casadi::FunctionInternal::matching_arg(), casadi::FunctionInternal::project_arg(), and casadi::FunctionInternal::reverse().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mg
Definition at line 991 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::call_forward(), casadi::FunctionInternal::forward(), casadi::Integrator::get_forward(), casadi::LinearInterpolantJac::get_jacobian(), casadi::FunctionInternal::matching_res(), and casadi::FunctionInternal::reverse().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mg
Definition at line 992 of file function_internal.hpp.
Referenced by casadi::Rootfinder::ad_forward(), casadi::Rootfinder::ad_reverse(), casadi::MXFunction::ad_reverse(), casadi::FunctionInternal::call_reverse(), casadi::FunctionInternal::fwd_seed(), casadi::Dple::get_forward(), and casadi::Dple::get_reverse().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mg
Definition at line 995 of file function_internal.hpp.
Referenced by casadi::MXFunction::ad_forward(), casadi::Rootfinder::ad_reverse(), casadi::FunctionInternal::call_forward(), casadi::FunctionInternal::check_res(), casadi::FunctionInternal::eval(), casadi::Integrator::get_forward(), casadi::Integrator::get_reverse(), and casadi::Nlpsol::init().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l2
Reimplemented in casadi::XFunction< DerivedType, MatType, NodeType >, casadi::XFunction< MXFunction, MX, MXNode >, and casadi::XFunction< SXFunction, Matrix< SXElem >, SXNode >.
Definition at line 3658 of file function_internal.cpp.
References casadi::Function::slice(), and casadi::FunctionInternal::wrap().
Referenced by casadi::Function::slice().
|
overridevirtual |
Implements casadi::Rootfinder.
Definition at line 141 of file fast_newton.cpp.
References casadi::casadi_copy(), casadi::casadi_newton(), casadi::Rootfinder::iin_, casadi::Rootfinder::iout_, jac_g_x_, max_iter_, casadi::Rootfinder::n_, casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, and casadi::SOLVER_RET_LIMITED.
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1of
Reimplemented from casadi::FunctionInternal.
Definition at line 377 of file rootfinder.cpp.
References casadi::Rootfinder::iin_, casadi::Rootfinder::iout_, casadi::Rootfinder::n_, casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, casadi::OracleFunction::oracle_, casadi::Rootfinder::sp_jac_, and casadi::Sparsity::spsolve().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mx
Definition at line 2773 of file function_internal.cpp.
References casadi::Sparsity::colind(), casadi::GenericShared< Shared, Internal >::is_null(), casadi::FunctionInternal::jac_sparsity(), casadi::Sparsity::nnz(), casadi::Sparsity::row(), and casadi::Sparsity::size2().
Referenced by casadi::FunctionInternal::sp_forward().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1og
Reimplemented from casadi::FunctionInternal.
Definition at line 406 of file rootfinder.cpp.
References casadi::Rootfinder::iin_, casadi::Rootfinder::iout_, casadi::Rootfinder::n_, casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, casadi::OracleFunction::oracle_, casadi::Function::rev(), casadi::Rootfinder::sp_jac_, and casadi::Sparsity::spsolve().
|
virtualinherited |
sparsity propagation
Extra doc: https://github.com/casadi/casadi/wiki/L_l6
Definition at line 3201 of file function_internal.cpp.
References casadi::FunctionInternal::ad_weight_sp_, casadi::FunctionInternal::has_spfwd(), and casadi::FunctionInternal::has_sprev().
Referenced by casadi::FunctionInternal::get_jac_sparsity(), casadi::FunctionInternal::get_jac_sparsity_hierarchical(), casadi::MXFunction::sp_forward(), casadi::SXFunction::sp_forward(), casadi::MXFunction::sp_reverse(), casadi::SXFunction::sp_reverse(), casadi::FunctionInternal::wrap(), and casadi::FunctionInternal::wrap_as_needed().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mh
Definition at line 1004 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::check_arg(), casadi::FixedStepIntegrator::create_advanced(), casadi::FunctionInternal::dm_in(), casadi::FunctionInternal::from_compact(), casadi::FunctionInternal::fwd_seed(), casadi::Integrator::get_forward(), casadi::Integrator::get_reverse(), casadi::JitFunction::JitFunction(), casadi::FunctionInternal::mx_in(), casadi::FunctionInternal::project_arg(), casadi::FunctionInternal::replace_arg(), casadi::FunctionInternal::reverse(), casadi::HpipmInterface::set_hpipm_prob(), casadi::FunctionInternal::sx_in(), and casadi::FunctionInternal::to_compact().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mh
Definition at line 1005 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::call_gen(), casadi::FunctionInternal::check_res(), casadi::FunctionInternal::dm_out(), casadi::FmuFunction::eval(), casadi::FunctionInternal::eval_gen(), casadi::FunctionInternal::forward(), casadi::FunctionInternal::from_compact(), casadi::Integrator::get_reverse(), casadi::FmuFunction::init(), casadi::JitFunction::JitFunction(), casadi::FunctionInternal::mx_out(), casadi::FunctionInternal::replace_res(), casadi::FunctionInternal::sx_out(), and casadi::FunctionInternal::to_compact().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_js
Definition at line 3801 of file function_internal.cpp.
Referenced by casadi::ProtoFunction::format_time(), and casadi::ProtoFunction::print_time().
|
staticinherited |
Definition at line 3869 of file function_internal.cpp.
References casadi::SOLVER_RET_LIMITED, casadi::SOLVER_RET_NAN, and casadi::SOLVER_RET_SUCCESS.
Referenced by casadi::Conic::get_stats(), casadi::Nlpsol::get_stats(), and casadi::Rootfinder::get_stats().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Reimplemented in casadi::SXFunction.
Definition at line 3228 of file function_internal.cpp.
References casadi::FunctionInternal::n_in_.
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Reimplemented in casadi::SXFunction.
Definition at line 3212 of file function_internal.cpp.
References casadi::FunctionInternal::name_in_, casadi::FunctionInternal::sparsity_in(), and casadi::GenericMatrix< Matrix< Scalar > >::sym().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Definition at line 3236 of file function_internal.cpp.
References casadi::FunctionInternal::n_out_.
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Definition at line 3216 of file function_internal.cpp.
References casadi::FunctionInternal::name_out_, casadi::FunctionInternal::sparsity_out(), and casadi::GenericMatrix< Matrix< Scalar > >::sym().
|
virtualinherited |
Reimplemented in casadi::MXFunction.
Definition at line 1066 of file function_internal.cpp.
Referenced by casadi::MXFunction::symbolic_output().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ns
Definition at line 1512 of file function_internal.hpp.
References casadi::FunctionInternal::is_diff_out_.
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_n0
Definition at line 1167 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::alloc(), casadi::FunctionInternal::alloc_arg(), casadi::FunctionInternal::call_gen(), casadi::OmpMap::codegen_body(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::codegen_sz_arg(), casadi::OmpMap::eval(), casadi::MXFunction::eval_sx(), casadi::OracleFunction::finalize(), casadi::FunctionInternal::get_jac_sparsity_gen(), casadi::FunctionInternal::get_jac_sparsity_hierarchical(), casadi::FunctionInternal::get_jac_sparsity_hierarchical_symm(), casadi::External::init(), casadi::Nlpsol::init(), casadi::ClarabelInterface::init(), casadi::DaqpInterface::init(), casadi::FatropConicInterface::init(), casadi::FatropInterface::init(), casadi::HighsInterface::init(), casadi::HpipmInterface::init(), casadi::MadnlpInterface::init(), casadi::Qrqp::init(), and casadi::FunctionInternal::sz_work().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_n2
Definition at line 1177 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::alloc(), casadi::FunctionInternal::alloc_iw(), casadi::FunctionInternal::call_gen(), casadi::OmpMap::codegen_body(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::codegen_sz_iw(), casadi::OmpMap::eval(), casadi::OracleFunction::finalize(), casadi::FunctionInternal::get_jac_sparsity_gen(), casadi::FunctionInternal::get_jac_sparsity_hierarchical(), casadi::FunctionInternal::get_jac_sparsity_hierarchical_symm(), casadi::External::init(), casadi::Nlpsol::init(), casadi::ClarabelInterface::init(), casadi::DaqpInterface::init(), casadi::FatropConicInterface::init(), casadi::FatropInterface::init(), casadi::HighsInterface::init(), casadi::HpipmInterface::init(), casadi::MadnlpInterface::init(), casadi::Feasiblesqpmethod::init(), casadi::Qrqp::init(), casadi::Sqpmethod::init(), and casadi::FunctionInternal::sz_work().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_n1
Definition at line 1172 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::alloc(), casadi::FunctionInternal::alloc_res(), casadi::FunctionInternal::call_gen(), casadi::OmpMap::codegen_body(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::codegen_sz_res(), casadi::OmpMap::eval(), casadi::MXFunction::eval_sx(), casadi::OracleFunction::finalize(), casadi::FunctionInternal::get_jac_sparsity_gen(), casadi::FunctionInternal::get_jac_sparsity_hierarchical(), casadi::FunctionInternal::get_jac_sparsity_hierarchical_symm(), casadi::External::init(), casadi::Nlpsol::init(), casadi::ClarabelInterface::init(), casadi::DaqpInterface::init(), casadi::FatropConicInterface::init(), casadi::FatropInterface::init(), casadi::HighsInterface::init(), casadi::HpipmInterface::init(), casadi::MadnlpInterface::init(), casadi::Qrqp::init(), and casadi::FunctionInternal::sz_work().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_n3
Definition at line 1182 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::alloc(), casadi::FunctionInternal::alloc_w(), casadi::FunctionInternal::call_gen(), casadi::OmpMap::codegen_body(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::codegen_sz_w(), casadi::SXFunction::codegen_sz_w(), casadi::OmpMap::eval(), casadi::FunctionInternal::eval_gen(), casadi::SXFunction::eval_mx(), casadi::OracleFunction::finalize(), casadi::FunctionInternal::get_jac_sparsity_gen(), casadi::FunctionInternal::get_jac_sparsity_hierarchical(), casadi::FunctionInternal::get_jac_sparsity_hierarchical_symm(), casadi::External::init(), casadi::MXFunction::init(), casadi::Nlpsol::init(), casadi::Rootfinder::init(), casadi::ClarabelInterface::init(), casadi::DaqpInterface::init(), casadi::FatropConicInterface::init(), casadi::FatropInterface::init(), casadi::HighsInterface::init(), casadi::HpipmInterface::init(), casadi::MadnlpInterface::init(), casadi::Feasiblesqpmethod::init(), casadi::Qrqp::init(), casadi::Sqpmethod::init(), casadi::MXFunction::sp_reverse(), casadi::SXFunction::sp_reverse(), and casadi::FunctionInternal::sz_work().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mz
Definition at line 2821 of file function_internal.cpp.
References casadi::FunctionInternal::sz_arg(), casadi::FunctionInternal::sz_iw(), casadi::FunctionInternal::sz_res(), and casadi::FunctionInternal::sz_w().
|
inherited |
Definition at line 1837 of file function_internal.cpp.
References casadi::FunctionInternal::find(), casadi::FunctionInternal::sparsity_in(), casadi::FunctionInternal::sparsity_out(), and casadi::Sparsity::sub().
Referenced by casadi::FunctionInternal::jac_sparsity(), and casadi::FunctionInternal::set_jac_sparsity().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ll
Definition at line 999 of file function_internal.cpp.
References casadi::FunctionInternal::cache_, and casadi::Function::name().
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::BlazingSplineFunction::get_jacobian(), and casadi::FunctionInternal::init().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_29j
Definition at line 1003 of file function_internal.cpp.
References casadi::FunctionInternal::cache_, and casadi::Function::name().
Referenced by casadi::MapSum::create(), casadi::OracleFunction::create_function(), casadi::FunctionInternal::forward(), casadi::FunctionInternal::jacobian(), casadi::FunctionInternal::map(), casadi::FunctionInternal::reverse(), and casadi::FunctionInternal::wrap().
|
inlineoverridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1oh
Reimplemented from casadi::FunctionInternal.
Definition at line 142 of file rootfinder_impl.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1ai
Definition at line 67 of file generic_shared_internal.hpp.
|
virtualinherited |
[in] | s_in | Input name |
[in] | s_out | Output name(s) |
[in] | order | Only 1 (linear) and 2 (nonlinear) allowed |
[in] | tr | Flip the relationship. Return which expressions contain the variables |
Extra doc: https://github.com/casadi/casadi/wiki/L_k9
Reimplemented in casadi::XFunction< DerivedType, MatType, NodeType >, casadi::XFunction< MXFunction, MX, MXNode >, and casadi::XFunction< SXFunction, Matrix< SXElem >, SXNode >.
Definition at line 3644 of file function_internal.cpp.
References casadi::Function::which_depends(), and casadi::Function::wrap().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_li
Definition at line 1044 of file function_internal.cpp.
References casadi::FunctionInternal::ad_weight(), casadi::FunctionInternal::derivative_of_, casadi::FunctionInternal::Function, casadi::FunctionInternal::incache(), casadi::FunctionInternal::is_diff_in_, casadi::FunctionInternal::is_diff_out_, casadi::FunctionInternal::max_num_dir_, casadi::FunctionInternal::mx_in(), casadi::ProtoFunction::name_, casadi::FunctionInternal::name_in_, casadi::FunctionInternal::name_out_, casadi::FunctionInternal::sp_weight(), and casadi::FunctionInternal::tocache_if_missing().
Referenced by casadi::FunctionInternal::eval_mx(), casadi::FunctionInternal::factory(), casadi::FunctionInternal::forward(), casadi::FunctionInternal::jacobian(), casadi::FunctionInternal::reverse(), casadi::FunctionInternal::slice(), and casadi::Function::wrap().
Extra doc: https://github.com/casadi/casadi/wiki/L_lj
Definition at line 1026 of file function_internal.cpp.
References casadi::FunctionInternal::ad_weight(), casadi::FunctionInternal::derivative_of_, casadi::FunctionInternal::Function, casadi::FunctionInternal::max_num_dir_, casadi::FunctionInternal::mx_in(), casadi::ProtoFunction::name_, casadi::FunctionInternal::name_in_, casadi::FunctionInternal::name_out_, and casadi::FunctionInternal::sp_weight().
Referenced by casadi::Function::wrap_as_needed().
|
protected |
Definition at line 133 of file fast_newton.hpp.
Referenced by codegen_body(), FastNewton(), init(), serialize_body(), and set_work().
|
protected |
Definition at line 136 of file fast_newton.hpp.
Referenced by codegen_body(), FastNewton(), init(), serialize_body(), and set_work().
|
inherited |
Definition at line 1359 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::ad_weight(), casadi::FunctionInternal::change_option(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1359 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::change_option(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), casadi::FunctionInternal::serialize_body(), and casadi::FunctionInternal::sp_weight().
|
protectedinherited |
Definition at line 104 of file oracle_function.hpp.
Referenced by casadi::OracleFunction::finalize(), casadi::OracleFunction::generate_dependencies(), casadi::OracleFunction::get_function(), casadi::OracleFunction::has_function(), casadi::OracleFunction::init_mem(), casadi::OracleFunction::jit_dependencies(), casadi::OracleFunction::local_init_mem(), casadi::OracleFunction::monitored(), casadi::OracleFunction::OracleFunction(), casadi::OracleFunction::serialize_body(), and casadi::OracleFunction::set_function().
|
inherited |
Definition at line 1258 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::eval_mx(), casadi::MXFunction::eval_mx(), casadi::SXFunction::eval_mx(), casadi::FunctionInternal::eval_sx(), casadi::MXFunction::eval_sx(), casadi::SXFunction::eval_sx(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
Definition at line 1330 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::cache(), casadi::FunctionInternal::incache(), casadi::FunctionInternal::tocache(), and casadi::FunctionInternal::tocache_if_missing().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_26h
Definition at line 1327 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nl
Definition at line 1307 of file function_internal.hpp.
Referenced by casadi::GenericExternal::any_symbol_found(), casadi::External::codegen_checkout(), casadi::External::codegen_declarations(), casadi::External::codegen_mem_type(), casadi::FunctionInternal::eval_gen(), casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), casadi::GenericExternal::init_external(), and casadi::FunctionBuffer::operator=().
|
protectedinherited |
Definition at line 86 of file oracle_function.hpp.
Referenced by casadi::OracleFunction::create_function(), casadi::OracleFunction::init(), casadi::OracleFunction::OracleFunction(), and casadi::OracleFunction::serialize_body().
|
inherited |
Definition at line 1348 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), casadi::Scpgen::init(), casadi::OracleFunction::jit_dependencies(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1347 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), casadi::Scpgen::init(), casadi::OracleFunction::jit_dependencies(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1396 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1393 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::forward(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::BlazingSplineFunction::get_jacobian(), casadi::FunctionInternal::init(), casadi::FunctionInternal::jacobian(), casadi::FunctionInternal::reverse(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1341 of file function_internal.hpp.
Referenced by casadi::FiniteDiff::codegen_body(), casadi::LinearInterpolantJac::codegen_body(), casadi::FiniteDiff::codegen_declarations(), casadi::FiniteDiff::eval(), casadi::LinearInterpolantJac::eval(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FiniteDiff::get_default_in(), casadi::CentralDiff::get_forward(), casadi::FunctionInternal::get_n_in(), casadi::FiniteDiff::get_n_in(), casadi::FunctionInternal::get_n_out(), casadi::FiniteDiff::get_n_out(), casadi::FunctionInternal::get_name_in(), casadi::FiniteDiff::get_name_in(), casadi::FunctionInternal::get_name_out(), casadi::FiniteDiff::get_name_out(), casadi::FunctionInternal::get_sparsity_in(), casadi::FiniteDiff::get_sparsity_in(), casadi::FunctionInternal::get_sparsity_out(), casadi::FiniteDiff::get_sparsity_out(), casadi::LinearInterpolantJac::has_parametric_grid(), casadi::LinearInterpolantJac::has_parametric_values(), casadi::FiniteDiff::init(), casadi::FunctionInternal::init(), casadi::SundialsInterface::init(), casadi::LinearInterpolantJac::init(), casadi::FunctionInternal::jac_is_symm(), casadi::BlazingSplineFunction::merge(), casadi::FunctionInternal::serialize_body(), casadi::LinearInterpolantJac::serialize_type(), casadi::FunctionInternal::wrap(), and casadi::FunctionInternal::wrap_as_needed().
|
staticinherited |
Definition at line 1447 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::deserialize().
|
inherited |
Definition at line 1384 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::change_option(), casadi::FunctionInternal::eval_gen(), casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), and casadi::FunctionInternal::init().
|
mutableinherited |
Definition at line 1402 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal().
|
inherited |
Definition at line 1387 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::change_option(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1390 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::change_option(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1384 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::change_option(), casadi::FunctionInternal::eval_gen(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1384 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::change_option(), casadi::FunctionInternal::eval_gen(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1355 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::ad_weight(), casadi::FunctionInternal::adjViaJac(), casadi::FunctionInternal::call_forward(), casadi::FunctionInternal::forward(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::fwdViaJac(), casadi::FunctionInternal::get_partition(), casadi::FunctionInternal::has_derivative(), casadi::FunctionInternal::init(), casadi::JitFunction::JitFunction(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1356 of file function_internal.hpp.
Referenced by casadi::FmuFunction::FmuFunction(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1355 of file function_internal.hpp.
Referenced by casadi::MXFunction::ad_forward(), casadi::FunctionInternal::ad_weight(), casadi::FunctionInternal::adjViaJac(), casadi::FunctionInternal::call_forward(), casadi::FunctionInternal::forward(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::fwdViaJac(), casadi::FunctionInternal::get_partition(), casadi::FunctionInternal::has_derivative(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1356 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1355 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::has_derivative(), casadi::FunctionInternal::init(), casadi::FunctionInternal::jacobian(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1356 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1355 of file function_internal.hpp.
Referenced by casadi::MXFunction::ad_reverse(), casadi::FunctionInternal::ad_weight(), casadi::FunctionInternal::adjViaJac(), casadi::FunctionInternal::call_reverse(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::fwdViaJac(), casadi::FunctionInternal::get_partition(), casadi::FunctionInternal::has_derivative(), casadi::FunctionInternal::init(), casadi::FunctionInternal::reverse(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1356 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 261 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::call_gen(), casadi::ClarabelInterface::codegen_body(), casadi::DaqpInterface::codegen_body(), casadi::FatropInterface::codegen_body(), casadi::HighsInterface::codegen_body(), casadi::HpipmInterface::codegen_body(), casadi::IpoptInterface::codegen_body(), casadi::MadnlpInterface::codegen_body(), casadi::OsqpInterface::codegen_body(), casadi::Qrqp::codegen_body(), casadi::Conic::Conic(), casadi::Conic::eval(), casadi::Nlpsol::eval(), casadi::Rootfinder::eval(), casadi::ProtoFunction::generate_options(), casadi::ProtoFunction::init(), casadi::Nlpsol::Nlpsol(), casadi::ProtoFunction::ProtoFunction(), casadi::Rootfinder::Rootfinder(), casadi::ProtoFunction::serialize_body(), and casadi::KinsolInterface::solve().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nk
Definition at line 1302 of file function_internal.hpp.
Referenced by casadi::FunctionBuffer::_eval(), casadi::GenericExternal::any_symbol_found(), casadi::FunctionInternal::eval_gen(), casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), and casadi::GenericExternal::init_external().
|
inherited |
Definition at line 1374 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::forward(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FmuFunction::init(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1368 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::forward(), casadi::FunctionInternal::generate_options(), and casadi::FunctionInternal::init().
|
inherited |
Definition at line 1371 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1393 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::forward(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_no
Definition at line 1322 of file function_internal.hpp.
Referenced by casadi::CodeGenerator::add_dependency(), casadi::FunctionInternal::FunctionInternal(), casadi::Call::has_refcount(), casadi::External::init(), casadi::MXFunction::init(), casadi::OsqpInterface::OsqpInterface(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 193 of file rootfinder_impl.hpp.
Referenced by casadi::Rootfinder::ad_forward(), casadi::Rootfinder::ad_reverse(), casadi::KinsolInterface::bjac(), codegen_body(), casadi::KinsolInterface::djac(), casadi::KinsolInterface::func(), casadi::KinsolInterface::get_jtimes(), casadi::Rootfinder::get_name_in(), casadi::Rootfinder::get_name_out(), casadi::Rootfinder::get_sparsity_out(), casadi::Rootfinder::init(), casadi::ImplicitToNlp::init(), casadi::KinsolInterface::jtimes(), casadi::KinsolInterface::psetup(), casadi::Rootfinder::Rootfinder(), casadi::Rootfinder::serialize_body(), casadi::ImplicitToNlp::set_work(), casadi::KinsolInterface::solve(), solve(), casadi::ImplicitToNlp::solve(), casadi::Newton::solve(), casadi::Rootfinder::sp_forward(), and casadi::Rootfinder::sp_reverse().
|
staticinherited |
Definition at line 212 of file rootfinder_impl.hpp.
|
inherited |
Definition at line 1365 of file function_internal.hpp.
Referenced by casadi::Nlpsol::check_inputs(), casadi::Conic::eval(), casadi::SqicInterface::evaluate(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), casadi::FunctionInternal::serialize_body(), and casadi::GurobiInterface::solve().
|
inherited |
Definition at line 193 of file rootfinder_impl.hpp.
Referenced by casadi::Rootfinder::ad_forward(), casadi::Rootfinder::ad_reverse(), codegen_body(), casadi::KinsolInterface::func(), casadi::KinsolInterface::get_jtimes(), casadi::Rootfinder::get_name_out(), casadi::Rootfinder::get_sparsity_out(), casadi::Rootfinder::init(), casadi::ImplicitToNlp::init(), casadi::Rootfinder::Rootfinder(), casadi::Rootfinder::serialize_body(), casadi::KinsolInterface::solve(), solve(), casadi::ImplicitToNlp::solve(), casadi::Newton::solve(), casadi::Rootfinder::sp_forward(), and casadi::Rootfinder::sp_reverse().
|
inherited |
Definition at line 1264 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::definition(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::fwd_seed(), casadi::FunctionInternal::init(), casadi::Map::init(), casadi::MapSum::init(), casadi::FunctionInternal::jac_sparsity(), casadi::FunctionInternal::serialize_body(), and casadi::FunctionInternal::wrap().
|
inherited |
Definition at line 1264 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::definition(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::init(), casadi::Map::init(), casadi::MapSum::init(), casadi::FunctionInternal::jac_sparsity(), casadi::FunctionInternal::serialize_body(), casadi::FunctionInternal::symbolicAdjSeed(), and casadi::FunctionInternal::wrap().
|
protected |
Definition at line 139 of file fast_newton.hpp.
Referenced by FastNewton(), init(), serialize_body(), and solve().
|
inherited |
Definition at line 1352 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::adjViaJac(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::fwdViaJac(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
mutableinherited |
Definition at line 1333 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::jac_sparsity(), and casadi::FunctionInternal::set_jac_sparsity().
|
inherited |
Definition at line 1393 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::BlazingSplineFunction::get_jacobian(), casadi::FunctionInternal::init(), casadi::FunctionInternal::jacobian(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nf
Definition at line 1275 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), casadi::JitFunction::JitFunction(), casadi::OracleFunction::OracleFunction(), casadi::FunctionInternal::serialize_body(), casadi::OracleFunction::serialize_body(), and casadi::FunctionInternal::~FunctionInternal().
|
inherited |
Definition at line 1292 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ng
Definition at line 1280 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), casadi::FunctionInternal::serialize_body(), and casadi::FunctionInternal::~FunctionInternal().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ni
Definition at line 1290 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::finalize(), and casadi::FunctionInternal::~FunctionInternal().
|
inherited |
Definition at line 1349 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), casadi::Scpgen::init(), casadi::OracleFunction::jit_dependencies(), casadi::FunctionInternal::serialize_body(), and casadi::FunctionInternal::~FunctionInternal().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nh
Definition at line 1285 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), casadi::OracleFunction::OracleFunction(), casadi::FunctionInternal::serialize_body(), and casadi::OracleFunction::serialize_body().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nj
Definition at line 1297 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 186 of file rootfinder_impl.hpp.
Referenced by casadi::Rootfinder::ad_forward(), casadi::Rootfinder::ad_reverse(), casadi::Rootfinder::init(), init(), casadi::Newton::init(), casadi::KinsolInterface::psetup(), casadi::KinsolInterface::psolve(), casadi::Rootfinder::Rootfinder(), casadi::Rootfinder::serialize_body(), and casadi::Newton::solve().
|
inherited |
Definition at line 1381 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
protected |
Definition at line 130 of file fast_newton.hpp.
Referenced by codegen_body(), FastNewton(), init(), serialize_body(), and solve().
|
inherited |
Definition at line 1362 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::call_forward(), casadi::FunctionInternal::call_reverse(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), casadi::FunctionInternal::serialize_body(), casadi::FunctionInternal::wrap(), and casadi::FunctionInternal::wrap_as_needed().
|
protectedinherited |
Definition at line 93 of file oracle_function.hpp.
Referenced by casadi::OracleFunction::calc_function(), casadi::OracleFunction::finalize(), casadi::OracleFunction::init(), casadi::KnitroInterface::init(), casadi::OracleFunction::init_mem(), casadi::OracleFunction::join_results(), casadi::OracleFunction::OracleFunction(), casadi::OracleFunction::serialize_body(), and casadi::OracleFunction::set_temp().
|
static |
Definition at line 111 of file fast_newton.hpp.
Referenced by casadi::casadi_register_rootfinder_fast_newton().
|
protectedinherited |
Definition at line 107 of file oracle_function.hpp.
Referenced by casadi::OracleFunction::finalize(), casadi::OracleFunction::init(), casadi::OracleFunction::OracleFunction(), and casadi::OracleFunction::serialize_body().
|
inherited |
Definition at line 183 of file rootfinder_impl.hpp.
Referenced by codegen_body(), casadi::KinsolInterface::func(), casadi::Rootfinder::init(), casadi::KinsolInterface::init(), init(), casadi::ImplicitToNlp::init(), casadi::Newton::init(), casadi::KinsolInterface::init_mem(), casadi::Rootfinder::Rootfinder(), casadi::Rootfinder::serialize_body(), set_work(), casadi::ImplicitToNlp::set_work(), casadi::Newton::set_work(), solve(), casadi::ImplicitToNlp::solve(), casadi::Newton::solve(), casadi::Rootfinder::sp_forward(), and casadi::Rootfinder::sp_reverse().
|
inherited |
Definition at line 1261 of file function_internal.hpp.
Referenced by casadi::SXFunction::ad_forward(), casadi::Rootfinder::ad_reverse(), casadi::MXFunction::ad_reverse(), casadi::SXFunction::ad_reverse(), casadi::FunctionInternal::all_scalar(), casadi::KinsolInterface::bjac(), casadi::FunctionInternal::call_forward(), casadi::FunctionInternal::call_gen(), casadi::FunctionInternal::call_reverse(), casadi::SXFunction::call_setup(), casadi::FunctionInternal::check_arg(), casadi::JitFunction::codegen_body(), casadi::Map::codegen_body(), casadi::OmpMap::codegen_body(), casadi::MapSum::codegen_body(), casadi::MXFunction::codegen_body(), casadi::Switch::codegen_body(), casadi::SXFunction::codegen_body(), codegen_body(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::convert_arg(), casadi::FunctionInternal::definition(), casadi::KinsolInterface::djac(), casadi::FunctionInternal::dm_in(), casadi::FunctionInternal::eval(), casadi::OmpMap::eval(), casadi::MXFunction::eval(), casadi::Switch::eval(), casadi::FunctionInternal::eval_gen(), casadi::Map::eval_gen(), casadi::MapSum::eval_gen(), casadi::MXFunction::eval_mx(), casadi::SXFunction::eval_mx(), casadi::Switch::eval_sx(), casadi::SXFunction::export_code_body(), casadi::CallbackInternal::finalize(), casadi::FmuFunction::FmuFunction(), casadi::FunctionInternal::forward(), casadi::KinsolInterface::func(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::fwd_seed(), casadi::FunctionInternal::generate_in(), casadi::GenericExternal::get_jac_sparsity(), casadi::GenericExternal::has_jac_sparsity(), casadi::FunctionInternal::init(), casadi::MXFunction::init(), casadi::Switch::init(), casadi::SXFunction::init(), casadi::ImplicitToNlp::init(), casadi::FunctionInternal::jac_sparsity(), casadi::FunctionInternal::jacobian(), casadi::KinsolInterface::jtimes(), casadi::FunctionInternal::mapsum_mx(), casadi::FunctionInternal::matching_arg(), casadi::FunctionInternal::mx_in(), casadi::FunctionInternal::nnz_in(), casadi::FunctionInternal::numel_in(), casadi::FunctionInternal::nz_in(), casadi::FunctionInternal::print_dimensions(), casadi::FunctionInternal::print_in(), casadi::FunctionInternal::project_arg(), casadi::KinsolInterface::psetup(), casadi::FunctionInternal::reverse(), casadi::FmuFunction::serialize_body(), casadi::FunctionInternal::set_jac_sparsity(), casadi::Rootfinder::set_work(), casadi::QpToNlp::solve(), casadi::KinsolInterface::solve(), solve(), casadi::ImplicitToNlp::solve(), casadi::Newton::solve(), casadi::FunctionInternal::sp_forward(), casadi::Integrator::sp_forward(), casadi::MXFunction::sp_forward(), casadi::Rootfinder::sp_forward(), casadi::FunctionInternal::sp_reverse(), casadi::Integrator::sp_reverse(), casadi::Map::sp_reverse(), casadi::MapSum::sp_reverse(), casadi::MXFunction::sp_reverse(), casadi::Rootfinder::sp_reverse(), and casadi::FunctionInternal::sx_in().
|
inherited |
Definition at line 1261 of file function_internal.hpp.
Referenced by casadi::Rootfinder::ad_forward(), casadi::MXFunction::ad_forward(), casadi::SXFunction::ad_forward(), casadi::Rootfinder::ad_reverse(), casadi::SXFunction::ad_reverse(), casadi::FunctionInternal::all_scalar(), casadi::KinsolInterface::bjac(), casadi::FunctionInternal::call(), casadi::FunctionInternal::call_forward(), casadi::FunctionInternal::call_gen(), casadi::FunctionInternal::call_reverse(), casadi::SXFunction::call_setup(), casadi::FunctionInternal::check_res(), casadi::JitFunction::codegen_body(), casadi::Map::codegen_body(), casadi::OmpMap::codegen_body(), casadi::MapSum::codegen_body(), casadi::MXFunction::codegen_body(), casadi::Switch::codegen_body(), casadi::SXFunction::codegen_body(), codegen_body(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::convert_res(), casadi::FunctionInternal::definition(), casadi::KinsolInterface::djac(), casadi::FunctionInternal::dm_out(), casadi::FunctionInternal::eval(), casadi::OmpMap::eval(), casadi::MXFunction::eval(), casadi::Switch::eval(), casadi::FunctionInternal::eval_gen(), casadi::Map::eval_gen(), casadi::MapSum::eval_gen(), casadi::Switch::eval_sx(), casadi::CallbackInternal::finalize(), casadi::FmuFunction::FmuFunction(), casadi::FunctionInternal::forward(), casadi::KinsolInterface::func(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_out(), casadi::LinearInterpolantJac::get_jacobian(), casadi::FunctionInternal::init(), casadi::MapSum::init(), casadi::Nlpsol::init(), casadi::Switch::init(), casadi::FunctionInternal::jac_sparsity(), casadi::FunctionInternal::jacobian(), casadi::FunctionInternal::mapsum_mx(), casadi::FunctionInternal::matching_res(), casadi::FunctionInternal::mx_out(), casadi::FunctionInternal::nnz_out(), casadi::FunctionInternal::numel_out(), casadi::FunctionInternal::nz_out(), casadi::FunctionInternal::print_dimensions(), casadi::FunctionInternal::print_out(), casadi::KinsolInterface::psetup(), casadi::FunctionInternal::reverse(), casadi::FmuFunction::serialize_body(), casadi::FunctionInternal::set_jac_sparsity(), casadi::Rootfinder::set_work(), casadi::QpToNlp::solve(), casadi::KinsolInterface::solve(), solve(), casadi::ImplicitToNlp::solve(), casadi::Newton::solve(), casadi::FunctionInternal::sp_forward(), casadi::Integrator::sp_forward(), casadi::MXFunction::sp_forward(), casadi::Rootfinder::sp_forward(), casadi::FunctionInternal::sp_reverse(), casadi::Integrator::sp_reverse(), casadi::Map::sp_reverse(), casadi::MapSum::sp_reverse(), casadi::MXFunction::sp_reverse(), casadi::Rootfinder::sp_reverse(), and casadi::FunctionInternal::sx_out().
|
inherited |
Definition at line 246 of file function_internal.hpp.
Referenced by casadi::MXFunction::ad_forward(), casadi::SXFunction::ad_forward(), casadi::MXFunction::ad_reverse(), casadi::SXFunction::ad_reverse(), casadi::Integrator::augmented_dae(), casadi::OracleFunction::calc_function(), casadi::FunctionInternal::call_forward(), casadi::FunctionInternal::call_reverse(), casadi::FunctionInternal::codegen_body(), casadi::External::codegen_body(), casadi::External::codegen_checkout(), casadi::External::codegen_declarations(), casadi::MXFunction::codegen_declarations(), casadi::SXFunction::codegen_declarations(), casadi::External::codegen_decref(), casadi::External::codegen_incref(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::codegen_name(), casadi::External::codegen_release(), casadi::FunctionInternal::codegen_sparsities(), casadi::ProtoFunction::construct(), casadi::OracleFunction::create_function(), casadi::FunctionInternal::definition(), casadi::FunctionInternal::eval(), casadi::MXFunction::eval(), casadi::SXFunction::eval(), casadi::FunctionInternal::eval_mx(), casadi::MXFunction::eval_mx(), casadi::SXFunction::eval_mx(), casadi::SXFunction::eval_sx(), casadi::FmuFunction::factory(), casadi::FunctionInternal::finalize(), casadi::FunctionInternal::forward(), casadi::FunctionInternal::FunctionInternal(), casadi::Integrator::get_forward(), casadi::Integrator::get_forward_dae(), casadi::Map::get_function(), casadi::MapSum::get_function(), casadi::OracleFunction::get_function(), casadi::GenericExternal::get_jac_sparsity(), casadi::BlazingSplineFunction::get_jacobian(), casadi::FunctionInternal::get_n_in(), casadi::External::get_n_in(), casadi::FunctionInternal::get_n_out(), casadi::External::get_n_out(), casadi::FunctionInternal::get_name_in(), casadi::External::get_name_in(), casadi::FunctionInternal::get_name_out(), casadi::External::get_name_out(), casadi::FunctionInternal::get_partition(), casadi::Integrator::get_reverse(), casadi::FunctionInternal::get_sparsity_in(), casadi::GenericExternal::get_sparsity_in(), casadi::FunctionInternal::get_sparsity_out(), casadi::GenericExternal::get_sparsity_out(), casadi::FunctionInternal::get_stats(), casadi::External::has_forward(), casadi::GenericExternal::has_jac_sparsity(), casadi::External::has_jacobian(), casadi::External::has_reverse(), casadi::External::init(), casadi::FunctionInternal::init(), casadi::MXFunction::init(), casadi::SXFunction::init(), casadi::CvodesInterface::init(), casadi::IdasInterface::init(), casadi::External::init_external(), casadi::GenericExternal::init_external(), casadi::FunctionInternal::jac_is_symm(), casadi::FunctionInternal::jacobian(), casadi::FunctionInternal::map(), casadi::OracleFunction::monitored(), casadi::MXFunction::print_arg(), casadi::FunctionInternal::print_in(), casadi::FunctionInternal::print_out(), casadi::MXFunction::print_res(), casadi::ProtoFunction::print_time(), casadi::ProtoFunction::ProtoFunction(), casadi::CvodesInterface::reset(), casadi::IdasInterface::reset(), casadi::IdasInterface::resetB(), casadi::FunctionInternal::reverse(), casadi::ProtoFunction::serialize_body(), casadi::GurobiInterface::solve(), casadi::SnoptInterface::solve(), casadi::Integrator::sp_forward(), casadi::Integrator::sp_reverse(), casadi::FunctionInternal::wrap(), and casadi::FunctionInternal::wrap_as_needed().
|
inherited |
Definition at line 1270 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::check_arg(), casadi::JitFunction::codegen_body(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::convert_arg(), casadi::FunctionInternal::definition(), casadi::FunctionInternal::diff_prefix(), casadi::FunctionInternal::eval_gen(), casadi::FmuFunction::FmuFunction(), casadi::FunctionInternal::forward(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::fwd_seed(), casadi::FmuFunction::get_stats(), casadi::FunctionInternal::init(), casadi::FunctionInternal::jacobian(), casadi::JitFunction::JitFunction(), casadi::FunctionInternal::mx_in(), casadi::FunctionInternal::print_dimensions(), casadi::FunctionInternal::print_in(), casadi::FunctionInternal::reverse(), casadi::FunctionInternal::serialize_body(), casadi::FunctionInternal::signature_unrolled(), casadi::FunctionInternal::sx_in(), casadi::FunctionInternal::wrap(), casadi::FunctionInternal::wrap_as_needed(), and casadi::XFunction< DerivedType, MatType, NodeType >::XFunction().
|
inherited |
Definition at line 1270 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::check_res(), casadi::JitFunction::codegen_body(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::convert_res(), casadi::FunctionInternal::definition(), casadi::FunctionInternal::diff_prefix(), casadi::FunctionInternal::eval_gen(), casadi::FmuFunction::FmuFunction(), casadi::FunctionInternal::forward(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::init(), casadi::FunctionInternal::jacobian(), casadi::JitFunction::JitFunction(), casadi::FunctionInternal::mx_out(), casadi::FunctionInternal::print_dimensions(), casadi::FunctionInternal::print_out(), casadi::FunctionInternal::reverse(), casadi::FunctionInternal::serialize_body(), casadi::FunctionInternal::signature_unrolled(), casadi::FunctionInternal::sx_out(), casadi::FunctionInternal::wrap(), casadi::FunctionInternal::wrap_as_needed(), and casadi::XFunction< DerivedType, MatType, NodeType >::XFunction().
|
inherited |
Definition at line 1258 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::eval_mx(), casadi::MXFunction::eval_mx(), casadi::SXFunction::eval_mx(), casadi::FunctionInternal::eval_sx(), casadi::MXFunction::eval_sx(), casadi::SXFunction::eval_sx(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
static |
Definition at line 84 of file fast_newton.hpp.
Referenced by casadi::casadi_register_rootfinder_fast_newton().
|
protectedinherited |
Definition at line 83 of file oracle_function.hpp.
Referenced by casadi::Rootfinder::ad_forward(), casadi::Rootfinder::ad_reverse(), casadi::Integrator::augmented_dae(), casadi::OracleFunction::create_function(), casadi::Nlpsol::disp_more(), casadi::OracleFunction::expand(), casadi::KinsolInterface::func(), casadi::OracleFunction::generate_dependencies(), casadi::Integrator::get_forward_dae(), casadi::KinsolInterface::get_jtimes(), casadi::Rootfinder::get_name_in(), casadi::Rootfinder::get_name_out(), casadi::Nlpsol::get_sparsity_in(), casadi::Nlpsol::get_sparsity_out(), casadi::Rootfinder::get_sparsity_out(), casadi::Integrator::init(), casadi::Nlpsol::init(), casadi::OracleFunction::init(), casadi::Rootfinder::init(), casadi::AlpaqaInterface::init(), casadi::Blocksqp::init(), casadi::BonminInterface::init(), casadi::IpoptInterface::init(), casadi::KnitroInterface::init(), init(), casadi::ImplicitToNlp::init(), casadi::Newton::init(), casadi::Nlpsol::kkt(), casadi::OracleFunction::OracleFunction(), casadi::OracleFunction::serialize_body(), casadi::ImplicitToNlp::set_work(), casadi::KinsolInterface::solve(), casadi::ImplicitToNlp::solve(), casadi::Rootfinder::sp_forward(), and casadi::Rootfinder::sp_reverse().
|
protected |
Definition at line 145 of file fast_newton.hpp.
Referenced by codegen_body(), FastNewton(), init(), serialize_body(), and set_work().
|
protectedinherited |
Definition at line 114 of file oracle_function.hpp.
Referenced by casadi::OracleFunction::finalize(), casadi::OracleFunction::init(), and casadi::OracleFunction::OracleFunction().
|
inherited |
Definition at line 1377 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::change_option(), casadi::FunctionInternal::eval_gen(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1378 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::change_option(), casadi::FunctionInternal::eval_gen(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 252 of file function_internal.hpp.
Referenced by casadi::FixedStepIntegrator::create_advanced(), casadi::ProtoFunction::generate_options(), casadi::ProtoFunction::init(), casadi::FunctionInternal::init(), casadi::Nlpsol::Nlpsol(), casadi::ProtoFunction::print_time(), casadi::ProtoFunction::ProtoFunction(), and casadi::ProtoFunction::serialize_body().
|
protected |
Definition at line 144 of file fast_newton.hpp.
Referenced by codegen_body(), FastNewton(), init(), serialize_body(), and set_work().
|
inherited |
Definition at line 255 of file function_internal.hpp.
Referenced by casadi::ProtoFunction::generate_options(), casadi::ProtoFunction::init(), casadi::FunctionInternal::init(), casadi::ProtoFunction::init_mem(), casadi::LinsolInternal::init_mem(), casadi::ProtoFunction::ProtoFunction(), and casadi::ProtoFunction::serialize_body().
|
inherited |
Definition at line 258 of file function_internal.hpp.
Referenced by casadi::OracleFunction::calc_function(), casadi::ProtoFunction::change_option(), casadi::FunctionInternal::eval_gen(), casadi::FunctionInternal::FunctionInternal(), casadi::ProtoFunction::generate_options(), casadi::ProtoFunction::init(), casadi::ProtoFunction::ProtoFunction(), and casadi::ProtoFunction::serialize_body().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nm
Definition at line 1312 of file function_internal.hpp.
Referenced by casadi::GenericExternal::any_symbol_found(), casadi::External::codegen_declarations(), casadi::External::codegen_release(), casadi::FunctionInternal::eval_gen(), casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), casadi::GenericExternal::init_external(), and casadi::FunctionBuffer::~FunctionBuffer().
|
inherited |
Definition at line 1393 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), casadi::FunctionInternal::reverse(), and casadi::FunctionInternal::serialize_body().
|
protectedinherited |
Definition at line 90 of file oracle_function.hpp.
Referenced by casadi::OracleFunction::calc_function(), casadi::AlpaqaProblem::eval_f(), casadi::BonminUserClass::eval_f(), casadi::IpoptUserClass::eval_f(), casadi::AlpaqaProblem::eval_f_grad_f(), casadi::AlpaqaProblem::eval_g(), casadi::BonminUserClass::eval_g(), casadi::IpoptUserClass::eval_g(), casadi::BonminUserClass::eval_grad_f(), casadi::IpoptUserClass::eval_grad_f(), casadi::AlpaqaProblem::eval_grad_L(), casadi::BonminUserClass::eval_h(), casadi::IpoptUserClass::eval_h(), casadi::AlpaqaProblem::eval_hess_L(), casadi::AlpaqaProblem::eval_hess_L_prod(), casadi::AlpaqaProblem::eval_hess_ψ(), casadi::AlpaqaProblem::eval_hess_ψ_prod(), casadi::AlpaqaProblem::eval_jac_g(), casadi::BonminUserClass::eval_jac_g(), casadi::IpoptUserClass::eval_jac_g(), casadi::AlpaqaProblem::eval_ψ(), casadi::AlpaqaProblem::eval_ψ_grad_ψ(), casadi::OracleFunction::init(), casadi::OracleFunction::OracleFunction(), and casadi::OracleFunction::serialize_body().
|
staticinherited |
Definition at line 202 of file rootfinder_impl.hpp.
|
inherited |
Definition at line 187 of file rootfinder_impl.hpp.
Referenced by casadi::KinsolInterface::bjac(), codegen_body(), casadi::KinsolInterface::djac(), casadi::Rootfinder::init(), casadi::KinsolInterface::init(), init(), casadi::Newton::init(), casadi::Rootfinder::Rootfinder(), casadi::Rootfinder::serialize_body(), casadi::KinsolInterface::set_work(), set_work(), casadi::Newton::set_work(), casadi::Rootfinder::sp_forward(), and casadi::Rootfinder::sp_reverse().
|
protected |
Definition at line 143 of file fast_newton.hpp.
Referenced by codegen_body(), FastNewton(), init(), serialize_body(), and set_work().
|
protected |
Definition at line 142 of file fast_newton.hpp.
Referenced by codegen_body(), FastNewton(), init(), serialize_body(), and set_work().
|
inherited |
Definition at line 1267 of file function_internal.hpp.
Referenced by casadi::SXFunction::ad_forward(), casadi::SXFunction::ad_reverse(), casadi::CodeGenerator::add(), casadi::FunctionInternal::all_scalar(), casadi::Switch::codegen_body(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::codegen_sparsities(), casadi::FunctionInternal::definition(), casadi::FunctionInternal::eval(), casadi::Switch::eval(), casadi::SXFunction::eval_mx(), casadi::Switch::eval_sx(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::init(), casadi::Switch::init(), casadi::ImplicitToNlp::init(), casadi::JitFunction::JitFunction(), casadi::FunctionInternal::mapsum_mx(), casadi::FunctionInternal::print_dimensions(), casadi::FunctionInternal::print_in(), casadi::FunctionInternal::serialize_body(), and casadi::HpmpcInterface::solve().
|
inherited |
Definition at line 1267 of file function_internal.hpp.
Referenced by casadi::SXFunction::ad_forward(), casadi::SXFunction::ad_reverse(), casadi::FunctionInternal::all_scalar(), casadi::Switch::codegen_body(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::codegen_sparsities(), casadi::FunctionInternal::definition(), casadi::FunctionInternal::eval(), casadi::Switch::eval(), casadi::SXFunction::eval_mx(), casadi::Switch::eval_sx(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::get_jac_sparsity(), casadi::FunctionInternal::init(), casadi::Nlpsol::init(), casadi::Switch::init(), casadi::JitFunction::JitFunction(), casadi::FunctionInternal::print_dimensions(), casadi::FunctionInternal::print_out(), and casadi::FunctionInternal::serialize_body().
|
protectedinherited |
Definition at line 87 of file oracle_function.hpp.
Referenced by casadi::OracleFunction::create_function(), casadi::OracleFunction::finalize(), casadi::OracleFunction::init(), casadi::OracleFunction::OracleFunction(), and casadi::OracleFunction::serialize_body().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nn
Definition at line 1317 of file function_internal.hpp.
|
protectedinherited |
Definition at line 110 of file oracle_function.hpp.
Referenced by casadi::OracleFunction::finalize(), casadi::OracleFunction::init(), casadi::OracleFunction::OracleFunction(), casadi::OracleFunction::serialize_body(), and casadi::OracleFunction::set_temp().
|
protectedinherited |
Definition at line 110 of file oracle_function.hpp.
Referenced by casadi::OracleFunction::finalize(), casadi::OracleFunction::init(), casadi::OracleFunction::OracleFunction(), casadi::OracleFunction::serialize_body(), and casadi::OracleFunction::set_temp().
|
protectedinherited |
Definition at line 110 of file oracle_function.hpp.
Referenced by casadi::OracleFunction::finalize(), casadi::OracleFunction::init(), casadi::OracleFunction::OracleFunction(), casadi::OracleFunction::serialize_body(), and casadi::OracleFunction::set_temp().
|
protectedinherited |
Definition at line 110 of file oracle_function.hpp.
Referenced by casadi::OracleFunction::finalize(), casadi::OracleFunction::init(), casadi::OracleFunction::OracleFunction(), casadi::OracleFunction::serialize_body(), and casadi::OracleFunction::set_temp().
|
inherited |
Definition at line 190 of file rootfinder_impl.hpp.
Referenced by casadi::Rootfinder::init(), casadi::KinsolInterface::init_mem(), casadi::Rootfinder::Rootfinder(), casadi::Rootfinder::serialize_body(), and casadi::ImplicitToNlp::solve().
|
inherited |
Definition at line 1344 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), and casadi::FunctionInternal::init().
|
inherited |
Definition at line 249 of file function_internal.hpp.
Referenced by casadi::MXFunction::ad_forward(), casadi::SXFunction::ad_forward(), casadi::MXFunction::ad_reverse(), casadi::SXFunction::ad_reverse(), casadi::Integrator::advance(), casadi::ProtoFunction::change_option(), casadi::BSplineInterpolant::construct_graph(), casadi::OracleFunction::create_function(), casadi::FmuFunction::eval(), casadi::Integrator::eval(), casadi::MXFunction::eval(), casadi::SXFunction::eval(), casadi::MXFunction::eval_mx(), casadi::SXFunction::eval_mx(), casadi::SXFunction::eval_sx(), casadi::FmuFunction::factory(), casadi::FunctionInternal::finalize(), casadi::KinsolInterface::func(), casadi::ProtoFunction::generate_options(), casadi::FmuFunction::get_forward(), casadi::Integrator::get_forward(), casadi::Integrator::get_forward_dae(), casadi::FunctionInternal::get_jac_sparsity_gen(), casadi::FunctionInternal::get_jac_sparsity_hierarchical(), casadi::FunctionInternal::get_jac_sparsity_hierarchical_symm(), casadi::FmuFunction::get_jacobian(), casadi::FunctionInternal::get_partition(), casadi::FmuFunction::get_reverse(), casadi::Integrator::get_reverse(), casadi::ProtoFunction::init(), casadi::FiniteDiff::init(), casadi::FmuFunction::init(), casadi::FunctionInternal::init(), casadi::MXFunction::init(), casadi::SXFunction::init(), casadi::Blocksqp::init(), casadi::FatropConicInterface::init(), casadi::FatropInterface::init(), casadi::HpipmInterface::init(), casadi::HpmpcInterface::init(), casadi::IpoptInterface::init(), casadi::MadnlpInterface::init(), casadi::CvodesInterface::init(), casadi::IdasInterface::init(), casadi::Feasiblesqpmethod::init(), casadi::Scpgen::init(), casadi::Sqpmethod::init(), casadi::IpoptInterface::init_mem(), casadi::IdasInterface::init_mem(), casadi::SXFunction::instructions_sx(), casadi::BonminInterface::intermediate_callback(), casadi::OracleFunction::jit_dependencies(), casadi::CsparseInterface::nfact(), casadi::LapackLu::nfact(), casadi::LapackQr::nfact(), casadi::LinsolQr::nfact(), casadi::Integrator::predict_events(), casadi::ProtoFunction::ProtoFunction(), casadi::CvodesInterface::reset(), casadi::IdasInterface::reset(), casadi::IdasInterface::resetB(), casadi::ProtoFunction::serialize_body(), casadi::CbcInterface::solve(), casadi::ClpInterface::solve(), casadi::CplexInterface::solve(), casadi::GurobiInterface::solve(), casadi::HpipmInterface::solve(), casadi::QpoasesInterface::solve(), casadi::Ipqp::solve(), casadi::Qrqp::solve(), casadi::AlpaqaInterface::solve(), casadi::AmplInterface::solve(), casadi::SnoptInterface::solve(), casadi::KinsolInterface::solve(), casadi::WorhpInterface::solve(), casadi::Newton::solve(), casadi::Qrsqp::solve(), casadi::Scpgen::solve(), casadi::Sqpmethod::solve(), casadi::Sqpmethod::solve_ela_QP(), casadi::Feasiblesqpmethod::solve_LP(), casadi::Feasiblesqpmethod::solve_QP(), casadi::Qrsqp::solve_QP(), casadi::Sqpmethod::solve_QP(), casadi::Integrator::sp_forward(), casadi::Integrator::sp_reverse(), and casadi::Integrator::trigger_event().