The casadi namespace. More...
Namespaces | |
| IndexReduction | |
Classes | |
| class | Archiver |
| Archiver interface. More... | |
| class | Assertion |
| Assertion. More... | |
| class | Bilin |
| Calculate quadratic form. More... | |
| class | BinaryMX |
| Represents any binary operation that involves two matrices. More... | |
| class | BinarySX |
| Represents a basic binary operation on two SXElem nodes. More... | |
| class | Blas |
| Pluggable dense BLAS backend, dispatched per-call by shorthand. More... | |
| class | BlazingSplineFunction |
| class | BSplineCommon |
| BSpline Node. More... | |
| class | BSpline |
| class | BSplineParametric |
| struct | UnaryOperation |
| struct | BinaryOperation |
| struct | BinaryOperationE |
| struct | DerBinaryOperation |
| Calculate function and derivative. More... | |
| struct | BinaryOperationSS |
| Perform a binary operation on two scalars. More... | |
| struct | BinaryOperationVV |
| Perform a binary operation on two vectors. More... | |
| struct | BinaryOperationVS |
| Perform a binary operation on a vector and a scalar. More... | |
| struct | BinaryOperationSV |
| Perform a binary operation on a scalar and a vector. More... | |
| struct | SmoothChecker |
| struct | SmoothChecker< OP_LT > |
| struct | SmoothChecker< OP_LE > |
| struct | SmoothChecker< OP_FLOOR > |
| struct | SmoothChecker< OP_CEIL > |
| struct | SmoothChecker< OP_FMOD > |
| struct | SmoothChecker< OP_REMAINDER > |
| struct | SmoothChecker< OP_EQ > |
| struct | SmoothChecker< OP_NE > |
| struct | SmoothChecker< OP_SIGN > |
| struct | SmoothChecker< OP_COPYSIGN > |
| struct | SmoothChecker< OP_NOT > |
| struct | SmoothChecker< OP_AND > |
| struct | SmoothChecker< OP_OR > |
| struct | SmoothChecker< OP_IF_ELSE_ZERO > |
| struct | F0XChecker |
| struct | F0XChecker< OP_ASSIGN > |
| struct | F0XChecker< OP_MUL > |
| struct | F0XChecker< OP_DIV > |
| struct | F0XChecker< OP_NEG > |
| struct | F0XChecker< OP_SQRT > |
| struct | F0XChecker< OP_SQ > |
| struct | F0XChecker< OP_TWICE > |
| struct | F0XChecker< OP_SIN > |
| struct | F0XChecker< OP_TAN > |
| struct | F0XChecker< OP_ATAN > |
| struct | F0XChecker< OP_ASIN > |
| struct | F0XChecker< OP_FLOOR > |
| struct | F0XChecker< OP_CEIL > |
| struct | F0XChecker< OP_FMOD > |
| struct | F0XChecker< OP_REMAINDER > |
| struct | F0XChecker< OP_FABS > |
| struct | F0XChecker< OP_SIGN > |
| struct | F0XChecker< OP_COPYSIGN > |
| struct | F0XChecker< OP_ERF > |
| struct | F0XChecker< OP_SINH > |
| struct | F0XChecker< OP_TANH > |
| struct | F0XChecker< OP_ASINH > |
| struct | F0XChecker< OP_ATANH > |
| struct | F0XChecker< OP_ERFINV > |
| struct | F0XChecker< OP_AND > |
| struct | F0XChecker< OP_IF_ELSE_ZERO > |
| struct | F0XChecker< OP_LOG1P > |
| struct | F0XChecker< OP_EXPM1 > |
| struct | FX0Checker |
| struct | FX0Checker< OP_MUL > |
| struct | FX0Checker< OP_AND > |
| struct | FX0Checker< OP_IF_ELSE_ZERO > |
| struct | F00Checker |
| struct | F00Checker< OP_ADD > |
| struct | F00Checker< OP_SUB > |
| struct | F00Checker< OP_FMIN > |
| struct | F00Checker< OP_FMAX > |
| struct | F00Checker< OP_AND > |
| struct | F00Checker< OP_OR > |
| struct | F00Checker< OP_COPYSIGN > |
| struct | F00Checker< OP_LT > |
| struct | F00Checker< OP_HYPOT > |
| struct | CommChecker |
| struct | CommChecker< OP_ADD > |
| struct | CommChecker< OP_MUL > |
| struct | CommChecker< OP_EQ > |
| struct | CommChecker< OP_NE > |
| struct | CommChecker< OP_AND > |
| struct | CommChecker< OP_OR > |
| struct | CommChecker< OP_HYPOT > |
| struct | NonnegativeChecker |
| struct | NonnegativeChecker< OP_SQRT > |
| struct | NonnegativeChecker< OP_SQ > |
| struct | NonnegativeChecker< OP_EXP > |
| struct | NonnegativeChecker< OP_LT > |
| struct | NonnegativeChecker< OP_LE > |
| struct | NonnegativeChecker< OP_EQ > |
| struct | NonnegativeChecker< OP_NE > |
| struct | NonnegativeChecker< OP_NOT > |
| struct | NonnegativeChecker< OP_AND > |
| struct | NonnegativeChecker< OP_OR > |
| struct | NonnegativeChecker< OP_HYPOT > |
| struct | NonnegativeChecker< OP_FABS > |
| struct | NargChecker |
| struct | NargChecker< OP_ADD > |
| struct | NargChecker< OP_SUB > |
| struct | NargChecker< OP_MUL > |
| struct | NargChecker< OP_DIV > |
| struct | NargChecker< OP_POW > |
| struct | NargChecker< OP_CONSTPOW > |
| struct | NargChecker< OP_EQ > |
| struct | NargChecker< OP_NE > |
| struct | NargChecker< OP_AND > |
| struct | NargChecker< OP_OR > |
| struct | NargChecker< OP_FMIN > |
| struct | NargChecker< OP_FMAX > |
| struct | NargChecker< OP_PRINTME > |
| struct | NargChecker< OP_ATAN2 > |
| struct | NargChecker< OP_IF_ELSE_ZERO > |
| struct | NargChecker< OP_FMOD > |
| struct | NargChecker< OP_REMAINDER > |
| struct | NargChecker< OP_COPYSIGN > |
| struct | NargChecker< OP_CONST > |
| struct | NargChecker< OP_PARAMETER > |
| struct | NargChecker< OP_INPUT > |
| struct | NargChecker< OP_HYPOT > |
| struct | UnaryOperation< OP_ASSIGN > |
| Simple assignment. More... | |
| struct | BinaryOperation< OP_ADD > |
| Addition. More... | |
| struct | BinaryOperation< OP_SUB > |
| Subtraction. More... | |
| struct | BinaryOperation< OP_MUL > |
| Multiplication. More... | |
| struct | BinaryOperation< OP_DIV > |
| Division. More... | |
| struct | UnaryOperation< OP_NEG > |
| Negation. More... | |
| struct | UnaryOperation< OP_EXP > |
| Natural exponent. More... | |
| struct | UnaryOperation< OP_LOG > |
| Natural logarithm. More... | |
| struct | BinaryOperation< OP_POW > |
| Power, defined only for x>=0. More... | |
| struct | BinaryOperation< OP_CONSTPOW > |
| Power, defined only for y constant. More... | |
| struct | UnaryOperation< OP_SQRT > |
| Square root. More... | |
| struct | UnaryOperation< OP_SQ > |
| Square. More... | |
| struct | UnaryOperation< OP_TWICE > |
| Times two. More... | |
| struct | UnaryOperation< OP_SIN > |
| Sine. More... | |
| struct | UnaryOperation< OP_COS > |
| Cosine. More... | |
| struct | UnaryOperation< OP_TAN > |
| Tangent. More... | |
| struct | UnaryOperation< OP_ASIN > |
| Arcus sine. More... | |
| struct | UnaryOperation< OP_ACOS > |
| Arcus cosine. More... | |
| struct | UnaryOperation< OP_ATAN > |
| Arcus tangent. More... | |
| struct | BinaryOperation< OP_LT > |
| Less than. More... | |
| struct | BinaryOperation< OP_LE > |
| Less or equal to. More... | |
| struct | UnaryOperation< OP_FLOOR > |
| Floor function. More... | |
| struct | UnaryOperation< OP_CEIL > |
| Ceil function. More... | |
| struct | BinaryOperation< OP_FMOD > |
| Remainder of division. More... | |
| struct | BinaryOperation< OP_REMAINDER > |
| Remainder of division. More... | |
| struct | BinaryOperation< OP_EQ > |
| Equal to. More... | |
| struct | BinaryOperation< OP_NE > |
| Not equal to. More... | |
| struct | UnaryOperation< OP_NOT > |
| Logical not. More... | |
| struct | BinaryOperation< OP_AND > |
| Logical and. More... | |
| struct | BinaryOperation< OP_OR > |
| Logical or. More... | |
| struct | UnaryOperation< OP_ERF > |
| Error function. More... | |
| struct | UnaryOperation< OP_FABS > |
| Absolute value. More... | |
| struct | UnaryOperation< OP_SIGN > |
| Sign. More... | |
| struct | BinaryOperation< OP_COPYSIGN > |
| Copysign. More... | |
| struct | BinaryOperation< OP_FMIN > |
| Minimum. More... | |
| struct | BinaryOperation< OP_FMAX > |
| Maximum. More... | |
| struct | UnaryOperation< OP_INV > |
| Element-wise inverse. More... | |
| struct | UnaryOperation< OP_SINH > |
| Hyperbolic sine. More... | |
| struct | UnaryOperation< OP_COSH > |
| Hyperbolic cosine. More... | |
| struct | UnaryOperation< OP_TANH > |
| Hyperbolic tangent. More... | |
| struct | UnaryOperation< OP_ASINH > |
| Inverse hyperbolic sine. More... | |
| struct | UnaryOperation< OP_ACOSH > |
| Inverse hyperbolic cosine. More... | |
| struct | UnaryOperation< OP_ATANH > |
| Inverse hyperbolic tangent. More... | |
| struct | UnaryOperation< OP_ERFINV > |
| Inverse of error function. More... | |
| struct | UnaryOperation< OP_LOG1P > |
| log1p(x) = log(1+x) More... | |
| struct | UnaryOperation< OP_EXPM1 > |
| expm1(x) = exp(x)-1 More... | |
| struct | BinaryOperation< OP_PRINTME > |
| Identity operator with the side effect of printing. More... | |
| struct | BinaryOperation< OP_ATAN2 > |
| Arctan2. More... | |
| struct | BinaryOperation< OP_IF_ELSE_ZERO > |
| Conditional assignment. More... | |
| struct | BinaryOperation< OP_LIFT > |
| Inverse of error function. More... | |
| struct | BinaryOperation< OP_HYPOT > |
| hypot(x,y) = sqrt(x^2+y^2) More... | |
| struct | casadi_math |
| Easy access to all the functions for a particular type. More... | |
| struct | casadi_math< casadi_int > |
| Specialize the class so that it can be used with integer type. More... | |
| class | CallSX |
| class | Callback |
| Callback function functionality. More... | |
| class | CallbackInternal |
| class | Call |
| class | Matrix |
| Sparse matrix class. SX and DM are specializations. More... | |
| class | ThreadLocalStorage |
| Thread-local storage wrapper that avoids destructor calls. More... | |
| class | conditional_lock_guard |
| struct | enum_traits |
| Helper class: Specify number of entries in an enum. More... | |
| class | Find |
| Finds the first nonzero element in a vector. More... | |
| class | InterruptHandler |
| Takes care of user interrupts (Ctrl+C) More... | |
| class | casadi_limits |
| casadi_limits class More... | |
| class | Logger |
| Keeps track of logging output to screen and/or files. More... | |
| class | Low |
| Lows the first nonzero element in a vector. More... | |
| class | CasadiMeta |
| Collects global CasADi meta information. More... | |
| class | scoped_checkout |
| class | StreamStateGuard |
| struct | sortCompare |
| class | CodeGenerator |
| Helper class for C code generation. More... | |
| class | Concat |
| Concatenation: Join multiple expressions stacking the nonzeros. More... | |
| class | Horzcat |
| Horizontal concatenation. More... | |
| class | Vertcat |
| Vertical concatenation of vectors. More... | |
| class | Diagcat |
| Diagonal concatenation of matrices. More... | |
| struct | ConicMemory |
| class | Conic |
| Internal class. More... | |
| class | ConstantMX |
| Represents an MX that is only composed of a constant. More... | |
| class | ConstantDM |
| A constant given as a DM. More... | |
| class | ConstantFile |
| A constant to be read from a file. More... | |
| class | ConstantPool |
| A constant to be managed by a pool. More... | |
| class | ZeroByZero |
| A zero-by-zero matrix. More... | |
| struct | RuntimeConst |
| Constant known at runtime. More... | |
| struct | CompiletimeConst |
| class | Constant |
| A constant with all entries identical. More... | |
| class | ConstantSX |
| Represents a constant SX. More... | |
| class | RealtypeSX |
| DERIVED CLASSES. More... | |
| class | IntegerSX |
| Represents a constant integer SX. More... | |
| class | ZeroSX |
| Represents a zero SX. More... | |
| class | OneSX |
| Represents a one SX. More... | |
| class | MinusOneSX |
| Represents a minus one SX. More... | |
| class | InfSX |
| Represents an infinity SX. More... | |
| class | MinusInfSX |
| Represents a minus infinity SX. More... | |
| class | NanSX |
| Represents a not-a-number SX. More... | |
| class | Convexify |
| Convexify a symmetric matrix. More... | |
| class | DaeBuilder |
| A symbolic representation of a differential-algebraic equations model. More... | |
| struct | Variable |
| Holds expressions and meta-data corresponding to a physical quantity evolving in time. More... | |
| class | DaeBuilderInternal |
| class | Determinant |
| Matrix determinant. More... | |
| class | Dot |
| Matrix dot. More... | |
| class | Dple |
| Internal class. More... | |
| class | Dump |
| Dump. More... | |
| class | Einstein |
| An MX atomic for an Einstein product,. More... | |
| class | CasadiException |
| Casadi exception class. More... | |
| class | KeyboardInterruptException |
| class | Expm |
| Internal class. More... | |
| class | External |
| class | GenericExternal |
| struct | Block |
| struct | HBlock |
| class | Factory |
| class | Filesystem |
| Filesystem interface. More... | |
| class | FiniteDiff |
| class | ForwardDiff |
| class | BackwardDiff |
| class | CentralDiff |
| class | Smoothing |
| class | Fmu |
| Interface to binary FMU. More... | |
| class | Fmu2 |
| Interface to a binary FMU, adhering to FMI version 2.0. More... | |
| class | Fmu3 |
| Interface to a binary FMU, adhering to FMI version 2.0. More... | |
| struct | FmuMemory |
| struct | InputStruct |
| struct | OutputStruct |
| class | FmuFunction |
| struct | EventMemory |
| class | FmuInternal |
| Interface to binary FMU. More... | |
| class | Function |
| Function object. More... | |
| class | FunctionBuffer |
| Class to achieve minimal overhead function evaluations. More... | |
| struct | ProtoFunctionMemory |
| Function memory with temporary work vectors. More... | |
| struct | FunctionMemory |
| Function memory with temporary work vectors. More... | |
| class | ProtoFunction |
| Base class for FunctionInternal and LinsolInternal. More... | |
| class | FunctionInternal |
| Internal class for Function. More... | |
| struct | GenericExpressionCommon |
| Empty Base. More... | |
| class | GenericExpression |
| Expression interface. More... | |
| struct | GenericMatrixCommon |
| Empty Base. More... | |
| class | GenericMatrix |
| Matrix base class. More... | |
| class | GenericWeakRef |
| class | GenericSharedInternal |
| class | GenericWeakRefInternal |
| class | GenericShared |
| class | WeakCache |
| class | RevWeakCache |
| class | SimpleCache |
| class | GenericType |
| Generic data type, can hold different types such as bool, casadi_int, std::string etc. More... | |
| class | GenericTypeBase |
| class | GenericTypeInternal |
| class | GetNonzeros |
| Get nonzeros of a matrix. More... | |
| class | GetNonzerosVector |
| class | GetNonzerosSlice |
| class | GetNonzerosSlice2 |
| class | GetNonzerosParam |
| Get nonzeros of a matrix, parametrically. More... | |
| class | GetNonzerosParamVector |
| class | GetNonzerosSliceParam |
| class | GetNonzerosParamSlice |
| class | GetNonzerosParamParam |
| class | GlobalOptions |
| Collects global CasADi options. More... | |
| class | GraphBuilder |
| A mutable, format-neutral interface to a computational-graph model. More... | |
| struct | Node |
| Metadata for one graph tensor (graph input or output) More... | |
| class | GraphBuilderInternal |
| Internal class for GraphBuilder. More... | |
| class | GraphModel |
| Format-agnostic handle to a parsed computational-graph model. More... | |
| class | GraphModelInternal |
| Base interface for format-specific graph-model backends. More... | |
| class | Importer |
| Importer. More... | |
| class | ImporterInternal |
| Importer internal class. More... | |
| class | DllLibrary |
| Dynamically linked library. More... | |
| struct | enum_traits< DynIn > |
| struct | enum_traits< DynOut > |
| struct | enum_traits< EventIn > |
| struct | enum_traits< EventOut > |
| struct | IntegratorMemory |
| Integrator memory. More... | |
| struct | SpForwardMem |
| Memory struct, forward sparsity pattern propagation. More... | |
| struct | SpReverseMem |
| Memory struct, backward sparsity pattern propagation. More... | |
| class | Integrator |
| Internal storage for integrator related data. More... | |
| struct | FixedStepMemory |
| class | FixedStepIntegrator |
| class | ImplicitFixedStepIntegrator |
| class | Interpolant |
| class | Inverse |
| Matrix inverse. More... | |
| class | IOInstruction |
| An input or output instruction. More... | |
| class | Input |
| Input instruction. More... | |
| class | Output |
| Input instruction. More... | |
| class | JitFunction |
| class | Kron |
| Kronecker product. More... | |
| class | DenseKron |
| Kron specialization: both operands dense. More... | |
| class | DenseSparseKron |
| Kron specialization: dense a + sparse b. More... | |
| class | SparseDenseKron |
| Kron specialization: sparse a + dense b. More... | |
| class | KronContract |
| Kronecker contraction. More... | |
| class | DenseKronContract |
| KronContract specialization: M dense, X dense (=> Y dense) More... | |
| class | DenseSparseKronContract |
| KronContract specialization: M dense, X sparse (=> Y dense) More... | |
| class | SparseDenseKronContract |
| KronContract specialization: M sparse, X dense. More... | |
| class | Linsol |
| Linear solver. More... | |
| struct | LinsolMemory |
| class | LinsolInternal |
| class | LogSumExp |
| Calculate logsumexp update. More... | |
| class | Map |
| class | OmpMap |
| class | ThreadMap |
| class | MapSum |
| struct | MatrixCommon |
| Empty Base. More... | |
| class | MMin |
| Matrix minimum. More... | |
| class | MMax |
| Matrix maximum. More... | |
| class | ModelicaParser |
| Modelica parser. More... | |
| class | ModelicaParserInternal |
| class | Monitor |
| Monitor. More... | |
| class | MultipleOutput |
| class | OutputNode |
| class | Multiplication |
| An MX atomic for matrix-matrix product,. More... | |
| class | DenseMultiplication |
| Dense * Dense -> Dense matrix product. More... | |
| class | DenseSparseMultiplication |
| Dense * Sparse -> Dense matrix product. More... | |
| class | PseudoDenseMultiplication |
| Compactible * Compactible -> Compactible product. More... | |
| struct | ConvexifyData |
| class | MX |
| MX - Matrix expression. More... | |
| struct | MXAlgEl |
| An element of the algorithm, namely an MX node. More... | |
| class | MXFunction |
| Internal node class for MXFunction. More... | |
| class | MXNode |
| Node class for MX objects. More... | |
| class | NlpBuilder |
| A symbolic NLP representation. More... | |
| class | NlImporter |
| struct | NlpsolMemory |
| Integrator memory. More... | |
| class | Nlpsol |
| NLP solver storage class. More... | |
| class | NonZeros |
| Access to a set of nonzeros. More... | |
| class | Norm |
| Matrix and vector norms. More... | |
| class | NormF |
| Represents a Frobenius norm. More... | |
| class | Norm2 |
| Represents a 2-norm (spectral norm) More... | |
| class | Norm1 |
| 1-norm More... | |
| class | NormInf |
| Represents an infinity-norm operation on a MX. More... | |
| struct | OnnxTensorInfo |
| Metadata for a single ONNX tensor (input or output); shape is resolved by the builder. More... | |
| struct | OnnxMemory |
| class | OnnxFunction |
| Black-box ONNX function base; backends (e.g. onnxruntime) derive from this. More... | |
| struct | Options |
| Options metadata for a class. More... | |
| class | Opti |
| A simplified interface for NLP modeling/solving. More... | |
| struct | IndexAbstraction |
| struct | MetaCon |
| struct | MetaVar |
| class | OptiCallback |
| class | OptiAdvanced |
| class | OptiSol |
| A simplified interface for NLP modeling/solving. More... | |
| class | null_ptr_on_copy |
| Pointer that gets set to null when copied. More... | |
| class | OptiNode |
| A simplified interface for NLP modeling/solving. More... | |
| class | OracleCallback |
| struct | LocalOracleMemory |
| Function memory with temporary work vectors. More... | |
| struct | OracleMemory |
| Function memory. More... | |
| class | OracleFunction |
| Base class for functions that perform calculation with an oracle. More... | |
| class | SharedSXElem |
| class | WeakRefSXElem |
| class | OutputSX |
| class | PluginInterface |
| Interface for accessing input and output data structures. More... | |
| class | Polynomial |
| Helper class for differentiating and integrating polynomials. More... | |
| struct | PrintableCommon |
| Empty Base. More... | |
| class | Printable |
| Base class for objects that have a natural string representation. More... | |
| class | Project |
| Change the sparsity of an expression. More... | |
| class | Densify |
| Densify. More... | |
| class | Sparsify |
| Densify. More... | |
| class | Rank1 |
| Calculate rank1 update. More... | |
| class | HorzRepmat |
| Horizontal repmat. More... | |
| class | HorzRepsum |
| Horizontal repsum. More... | |
| class | Reshape |
| Reshape an expression. More... | |
| class | Resource |
| RAII class for reading from a zip file. More... | |
| class | ResourceInternal |
| RAII class base for reading from resources. More... | |
| class | DirResource |
| class | TemporaryDirResource |
| Base class for resources that use a temporary directory. More... | |
| class | ZipResource |
| RAII class for reading from a zip file. More... | |
| class | ZipMemResource |
| RAII class for reading from a zip held in memory. More... | |
| struct | RootfinderMemory |
| Integrator memory. More... | |
| class | Rootfinder |
| Internal class. More... | |
| struct | casadi_newton_mem |
| class | SerializerBase |
| class | DeserializerBase |
| class | StringSerializer |
| class | FileSerializer |
| class | StringDeserializer |
| class | FileDeserializer |
| class | UniversalNodeOwner |
| class | DeserializingStream |
| Helper class for Serialization. More... | |
| class | SerializingStream |
| Helper class for Serialization. More... | |
| class | SetNonzeros |
| Assign or add entries to a matrix. More... | |
| class | SetNonzerosVector |
| Add the nonzeros of a matrix to another matrix. More... | |
| class | SetNonzerosSlice |
| class | SetNonzerosSlice2 |
| class | SetNonzerosParam |
| Assign or add entries to a matrix, parametrically. More... | |
| class | SetNonzerosParamVector |
| Add the nonzeros of a matrix to another matrix, parametrically. More... | |
| class | SetNonzerosParamSlice |
| class | SetNonzerosSliceParam |
| class | SetNonzerosParamParam |
| class | SharedObject |
| GenericShared implements a reference counting framework similar for efficient and. More... | |
| class | WeakRef |
| Weak reference type. More... | |
| class | SharedObjectInternal |
| class | WeakRefInternal |
| class | Slice |
| Class representing a Slice. More... | |
| class | Solve |
| An MX atomic for linear solver solution: x = r * A^-1 or x = r * A^-T. More... | |
| class | LinsolCall |
| Linear solve operation with a linear solver instance. More... | |
| class | TriuSolve |
| Linear solve with an upper triangular matrix. More... | |
| class | TrilSolve |
| Linear solve with an upper triangular matrix. More... | |
| class | SolveUnity |
| Linear solve with unity diagonal added. More... | |
| class | TriuSolveUnity |
| Linear solve with an upper triangular matrix, unity diagonal. More... | |
| class | TrilSolveUnity |
| Linear solve with an upper triangular matrix. More... | |
| struct | SparsityStruct |
| Compact representation of a sparsity pattern. More... | |
| class | Sparsity |
| General sparsity class. More... | |
| class | SparsityCast |
| struct | SparsityInterfaceCommon |
| Empty Base. More... | |
| class | SparsityInterface |
| Sparsity interface class. More... | |
| class | SparsityInternal |
| class | Split |
| Split: Split into multiple expressions splitting the nonzeros. More... | |
| class | Horzsplit |
| Horizontal split, x -> x0, x1, ... More... | |
| class | Diagsplit |
| Diag split, x -> x0, x1, ... More... | |
| class | Vertsplit |
| Vertical split of vectors, x -> x0, x1, ... More... | |
| class | SubAssign |
| Reference to a submatrix. More... | |
| class | SubMatrix |
| class | SubIndex |
| class | SubRef |
| Reference to a submatrix. More... | |
| class | Switch |
| class | SXElem |
| The basic scalar symbolic class of CasADi. More... | |
| class | casadi_limits< SXElem > |
| struct | ScalarAtomic |
| An atomic operation for the SXElem virtual machine. More... | |
| class | SXFunction |
| Internal node class for SXFunction. More... | |
| class | SXNode |
| Internal node class for SX. More... | |
| class | SymbolicMX |
| Represents a symbolic MX. More... | |
| class | SymbolicSX |
| Represents a scalar symbolic expression. More... | |
| class | FStats |
| class | ScopedTiming |
| class | Transpose |
| Matrix transpose. More... | |
| class | DenseTranspose |
| Matrix transpose (dense) More... | |
| class | UnaryMX |
| Represents a general unary operation on an MX. More... | |
| class | UnarySX |
| Represents a basic unary operation on an SXElem node. More... | |
| class | XFunction |
| Internal node class for the base class of SXFunction and MXFunction. More... | |
| class | XmlFile |
| XML parser. More... | |
| class | XmlFileInternal |
| struct | XmlNode |
| struct | AlpaqaMemory |
| class | AlpaqaInterface |
| class | AlpaqaProblem |
| struct | AmplInterfaceMemory |
| class | AmplInterface |
| 'ampl' plugin for Nlpsol More... | |
| class | BlasClassic |
| 'classic' plugin for Blas More... | |
| class | BlasBlasfeo |
| 'blasfeo' plugin for Blas More... | |
| struct | BlocksqpMemory |
| class | Blocksqp |
| 'blocksqp' plugin for Nlpsol More... | |
| struct | BonminMemory |
| class | BonminInterface |
| 'bonmin' plugin for Nlpsol More... | |
| class | BonminUserClass |
| struct | CbcMemory |
| class | CbcInterface |
| 'cbc' plugin for Conic More... | |
| struct | MadmpecMemory |
| class | MadmpecInterface |
| 'ccopt' plugin for Nlpsol More... | |
| class | ClangCompiler |
| 'clang' plugin for Importer More... | |
| struct | ClarabelMemory |
| class | ClarabelInterface |
| 'clarabel' plugin for Conic More... | |
| struct | ClpMemory |
| class | ClpInterface |
| 'clp' plugin for Conic More... | |
| struct | CplexMemory |
| class | CplexInterface |
| 'cplex' plugin for Conic More... | |
| struct | CsparseCholMemory |
| class | CSparseCholeskyInterface |
| 'csparsecholesky' plugin for Linsol More... | |
| struct | CsparseMemory |
| class | CsparseInterface |
| 'csparse' plugin for Linsol More... | |
| struct | DaqpMemory |
| class | DaqpInterface |
| 'daqp' plugin for Conic More... | |
| struct | FatropConicMemory |
| class | FatropConicInterface |
| 'fatrop' plugin for Conic More... | |
| struct | FatropMemory |
| class | FatropInterface |
| 'fatrop' plugin for Nlpsol More... | |
| class | Ghc |
| 'ghc' plugin for Filesystem More... | |
| struct | LazyCallbackMemory |
| struct | GurobiMemory |
| class | GurobiInterface |
| 'gurobi' plugin for Conic More... | |
| struct | HighsMemory |
| class | HighsInterface |
| 'highs' plugin for Conic More... | |
| struct | HpipmMemory |
| class | HpipmInterface |
| 'hpipm' plugin for Conic More... | |
| struct | HpmpcMemory |
| class | HpmpcInterface |
| 'hpmpc' plugin for Conic More... | |
| struct | Ma27Memory |
| class | Ma27Interface |
| 'ma27' plugin for Linsol More... | |
| struct | IpoptMemory |
| class | IpoptInterface |
| 'ipopt' plugin for Nlpsol More... | |
| class | IpoptUserClass |
| struct | KnitroMemory |
| class | KnitroInterface |
| 'knitro' plugin for Nlpsol More... | |
| class | LaceModelica |
| 'lacemodelica' plugin for ModelicaParser More... | |
| struct | LapackLuMemory |
| class | LapackLu |
| 'lapacklu' plugin for Linsol More... | |
| struct | LapackQrMemory |
| class | LapackQr |
| 'lapackqr' plugin for Linsol More... | |
| class | Libzip |
| 'libzip' plugin for Archiver More... | |
| struct | MadnlpMemory |
| class | MadnlpInterface |
| 'madnlp' plugin for Nlpsol More... | |
| struct | MosekMemory |
| class | MosekInterface |
| 'mosek' plugin for Conic More... | |
| struct | MumpsMemory |
| class | MumpsInterface |
| 'mumps' plugin for Linsol More... | |
| class | Onnx |
| 'onnx' plugin for GraphModel More... | |
| struct | OpMapping |
| Operation mapping between CasADi and ONNX. More... | |
| struct | OoqpMemory |
| class | OoqpInterface |
| 'ooqp' plugin for Conic More... | |
| struct | OnnxRuntimeMemory |
| Per-checkout ONNX Runtime state (session + reusable eval scaffolding) More... | |
| class | OnnxRuntimeInterface |
| 'ort' plugin for Onnx More... | |
| struct | OsqpMemory |
| class | OsqpInterface |
| 'osqp' plugin for Conic More... | |
| struct | PiqpMemory |
| class | PiqpInterface |
| 'piqp' plugin for Conic More... | |
| struct | ProxqpMemory |
| class | ProxqpInterface |
| 'proxqp' plugin for Conic More... | |
| struct | QpoasesMemory |
| class | QpoasesInterface |
| 'qpoases' plugin for Conic More... | |
| struct | SLEQPMemory |
| class | SLEQPInterface |
| struct | SlicotDpleMemory |
| class | SlicotDple |
| 'slicot' plugin for Dple More... | |
| struct | SlicotExpmMemory |
| class | SlicotExpm |
| 'slicot' plugin for Expm More... | |
| struct | SnoptMemory |
| class | SnoptInterface |
| 'snopt' plugin for Nlpsol More... | |
| class | SqicInterface |
| 'sqic' plugin for Conic More... | |
| struct | CvodesMemory |
| class | CvodesInterface |
| 'cvodes' plugin for Integrator More... | |
| struct | IdasMemory |
| class | IdasInterface |
| 'idas' plugin for Integrator More... | |
| struct | KinsolMemory |
| class | KinsolInterface |
| 'kinsol' plugin for Rootfinder More... | |
| struct | SundialsMemory |
| class | SundialsInterface |
| struct | SuperscsMemory |
| class | SuperscsInterface |
| 'superscs' plugin for Conic More... | |
| class | TinyXmlInterface |
| 'tinyxml' plugin for XmlFile More... | |
| struct | UnoMemory |
| class | UnoInterface |
| 'uno' plugin for Nlpsol More... | |
| struct | WorhpMemory |
| class | WorhpInterface |
| 'worhp' plugin for Nlpsol More... | |
| struct | XpressMemory |
| class | XpressInterface |
| 'xpress' plugin for Conic More... | |
| class | BSplineInterpolant |
| 'bspline' plugin for Interpolant More... | |
| class | Collocation |
| 'collocation' plugin for Integrator More... | |
| struct | FastNewtonMemory |
| class | FastNewton |
| 'fast_newton' plugin for Rootfinder More... | |
| struct | FeasiblesqpmethodMemory |
| class | Feasiblesqpmethod |
| 'feasiblesqpmethod' plugin for Nlpsol More... | |
| struct | ImplicitToNlpMemory |
| class | ImplicitToNlp |
| 'nlp' plugin for Rootfinder More... | |
| struct | IpqpMemory |
| class | Ipqp |
| 'ipqp' plugin for Conic More... | |
| class | LinearInterpolant |
| 'linear' plugin for Interpolant Implements a multilinear interpolant: For 1D, the interpolating polynomial will be linear. For 2D, the interpolating polynomial will be bilinear, etc. More... | |
| class | LinearInterpolantJac |
| struct | LinsolLdlMemory |
| class | LinsolLdl |
| 'ldl' plugin for Linsol More... | |
| struct | LinsolQrMemory |
| class | LinsolQr |
| 'qr' plugin for Linsol More... | |
| struct | LinsolTridiagMemory |
| class | LinsolTridiag |
| 'tridiag' plugin for Linsol More... | |
| struct | LsqrMemory |
| Memory for SymbolicQR More... | |
| class | Lsqr |
| 'symbolicqr' plugin for Linsol More... | |
| struct | NewtonMemory |
| class | Newton |
| 'newton' plugin for Rootfinder More... | |
| struct | QpToNlpMemory |
| class | QpToNlp |
| 'nlpsol' plugin for Conic More... | |
| struct | QrqpMemory |
| class | Qrqp |
| 'qrqp' plugin for Conic More... | |
| struct | QrsqpMemory |
| class | Qrsqp |
| 'qrsqp' plugin for Nlpsol More... | |
| class | RungeKutta |
| 'rk' plugin for Integrator More... | |
| struct | ScpgenMemory |
| class | Scpgen |
| 'scpgen' plugin for Nlpsol More... | |
| class | ShellCompiler |
| 'shell' plugin for Importer More... | |
| struct | SqpmethodMemory |
| class | Sqpmethod |
| 'sqpmethod' plugin for Nlpsol More... | |
| struct | SymbolicQrMemory |
| Memory for SymbolicQR More... | |
| class | SymbolicQr |
| 'symbolicqr' plugin for Linsol More... | |
Typedefs | |
| typedef unsigned long long | bvec_t |
| typedef void * | handle_t |
| typedef Matrix< double > | DM |
| typedef std::vector< DM > | DMVector |
| typedef std::vector< DMVector > | DMVectorVector |
| typedef std::map< std::string, DM > | DMDict |
| typedef GenericTypeInternal< OT_STRING, std::string > | StringType |
| typedef GenericTypeInternal< OT_DOUBLE, double > | DoubleType |
| typedef GenericTypeInternal< OT_INT, casadi_int > | IntType |
| typedef GenericTypeInternal< OT_BOOL, bool > | BoolType |
| typedef GenericTypeInternal< OT_DOUBLEVECTOR, std::vector< double > > | DoubleVectorType |
| typedef GenericTypeInternal< OT_DOUBLEVECTORVECTOR, std::vector< std::vector< double > > > | DoubleVectorVectorType |
| typedef GenericTypeInternal< OT_INTVECTOR, std::vector< casadi_int > > | IntVectorType |
| typedef GenericTypeInternal< OT_BOOLVECTOR, std::vector< bool > > | BoolVectorType |
| typedef GenericTypeInternal< OT_INTVECTORVECTOR, std::vector< std::vector< casadi_int > > > | IntVectorVectorType |
| typedef GenericTypeInternal< OT_STRINGVECTOR, std::vector< std::string > > | StringVectorType |
| typedef GenericTypeInternal< OT_STRINGVECTORVECTOR, std::vector< std::vector< std::string > > > | StringVectorVectorType |
| typedef GenericTypeInternal< OT_FUNCTION, Function > | FunctionType |
| typedef GenericTypeInternal< OT_FUNCTIONVECTOR, std::vector< Function > > | FunctionVectorType |
| typedef GenericTypeInternal< OT_DICT, Dict > | DictType |
| typedef GenericTypeInternal< OT_DICTVECTOR, std::vector< Dict > > | DictVectorType |
| typedef GenericTypeInternal< OT_VECTORVECTOR, std::vector< std::vector< GenericType > > > | VectorVectorType |
| typedef GenericTypeInternal< OT_VECTOR, std::vector< GenericType > > | VectorType |
| typedef GenericTypeInternal< OT_VOIDPTR, void * > | VoidPointerType |
| typedef GenericType::Dict | Dict |
| C++ equivalent of Python's dict or MATLAB's struct. More... | |
| typedef Matrix< casadi_int > | IM |
| typedef DM | native_DM |
| typedef GenericWeakRefInternal< SharedSXElem, OutputSX > | WeakRefInternalSXElem |
| typedef ProtoFunction *(* | Deserialize) (DeserializingStream &) |
| typedef void(* | external_print_callback_t) (const char *s) |
| typedef const char *(* | external_transform_t) (char api_version, const char *casadi_version, const char *in, external_print_callback_t cb_stdout, external_print_callback_t cb_stderr) |
| using | AddNodeFn = std::function< onnx::NodeProto *()> |
| Callback type for adding nodes to a container (GraphProto or FunctionProto) More... | |
| typedef SX * | SXPtr |
| typedef std::vector< SXPtr > | SXPtrV |
| typedef int(* | config_t) (int, const char **) |
| Function pointer types for the C API. More... | |
| typedef void(* | signal_t) (void) |
| Function pointer types for the C API. More... | |
| typedef casadi_int(* | getint_t) (void) |
| Function pointer types for the C API. More... | |
| typedef double(* | default_t) (casadi_int i) |
| Function pointer types for the C API. More... | |
| typedef const char *(* | name_t) (casadi_int i) |
| Function pointer types for the C API. More... | |
| typedef const casadi_int *(* | sparsity_t) (casadi_int i) |
| Function pointer types for the C API. More... | |
| typedef int(* | diff_t) (casadi_int i) |
| Function pointer types for the C API. More... | |
| typedef int(* | casadi_checkout_t) (void) |
| Function pointer types for the C API. More... | |
| typedef void(* | casadi_release_t) (int) |
| Function pointer types for the C API. More... | |
| typedef int(* | work_t) (casadi_int *sz_arg, casadi_int *sz_res, casadi_int *sz_iw, casadi_int *sz_w) |
| Function pointer types for the C API. More... | |
| typedef int(* | eval_t) (const double **arg, double **res, casadi_int *iw, double *w, int) |
| Function pointer types for the C API. More... | |
| typedef std::vector< std::string > | StringVector |
| typedef std::vector< MX > | MXVector |
| typedef std::initializer_list< MX > | MXIList |
| typedef std::vector< MXVector > | MXVectorVector |
| typedef std::map< std::string, MX > | MXDict |
| typedef std::map< std::string, Sparsity > | SpDict |
| typedef Matrix< SXElem > | SX |
| typedef std::vector< SX > | SXVector |
| typedef std::initializer_list< SX > | SXIList |
| typedef std::vector< SXVector > | SXVectorVector |
| typedef std::map< std::string, SX > | SXDict |
Functions | |
| bool | has_archiver (const std::string &name) |
| Check if a particular plugin is available. More... | |
| void | load_archiver (const std::string &name) |
| Explicitly load a plugin dynamically. More... | |
| std::string | doc_archiver (const std::string &name) |
| Get the documentation string for a plugin. More... | |
| bool | has_blas (const std::string &name) |
| void | load_blas (const std::string &name) |
| std::string | doc_blas (const std::string &name) |
| static void | handle_pedantic (const std::string &mode, const std::string &opt_name, const std::string &msg) |
| static bool | is_pow2_ge8 (casadi_int n) |
| static void | scan_prefix_pow2 (std::vector< std::string > &offenders, const std::vector< casadi_int > &ext, const std::string &tag) |
| static std::vector< casadi_int > | knot_offsets (const std::vector< casadi_int > &knot_dims) |
| template<typename M > | |
| static M | compute_knots_cache (const M &K, const std::vector< casadi_int > &offsets) |
| static MX | derivative_coeff_mx (casadi_int i, const std::vector< MX > &knots_per_dim, const std::vector< casadi_int > °ree, const std::vector< casadi_int > &coeffs_dims, const MX &coeffs) |
| Function | blazing_spline (const std::string &name, const std::vector< std::vector< double > > &knots, const Dict &opts=Dict()) |
| Construct a specialized parametric BSpline. More... | |
| Function | blazing_spline (const std::string &name, const std::vector< casadi_int > &knot_dims, const Dict &opts=Dict()) |
| Construct a parametric-knots blazing_spline. More... | |
| void | get_boor (const MX &x, const MX &knots, casadi_int degree, casadi_int lookup_mode, MX &start, MX &boor) |
| static casadi_int | knot_size (const std::vector< double > &k) |
| static casadi_int | knot_size (const MX &k) |
| template<typename K > | |
| MX | do_inline (const MX &x, const std::vector< K > &knots, const MX &coeffs, casadi_int m, const std::vector< casadi_int > °ree, const std::vector< casadi_int > &lookup_mode) |
| template<typename T > | |
| T | twice (const T &x) |
| template<typename T > | |
| T | sq (const T &x) |
| template<template< casadi_int > class F, typename T > | |
| T | operation_getter (casadi_int op) |
| template<template< casadi_int > class F> | |
| bool | operation_checker (casadi_int op) |
| template<class T , typename SU > | |
| T | common_simp_unary (casadi_int op, const T &x, casadi_int depth, SU &&gen_unary, bool unique, bool &hit) |
| template<class T , typename SU , typename SB > | |
| T | common_simp_binary (casadi_int op, const T &x, const T &y, casadi_int depth, SU &&gen_unary, SB &&gen_binary, bool unique_x, bool unique_y, bool &hit) |
| template<typename T > | |
| std::string | str (const T &v) |
| String representation, any type. More... | |
| template<typename T > | |
| std::string | str (const T &v, bool more) |
| String representation, CasADi type. More... | |
| template<typename T > | |
| std::string | str (const std::vector< T > &v, bool more=false) |
| String representation of vector. More... | |
| template<typename T > | |
| std::string | str (const std::set< T > &v, bool more=false) |
| String representation of set. More... | |
| template<typename T1 , typename T2 > | |
| std::string | str (const std::pair< T1, T2 > &p, bool more=false) |
| String representation of pair. More... | |
| template<typename T1 , typename T2 > | |
| std::string | str (const std::map< T1, T2 > &p, bool more=false) |
| String representation of a map. More... | |
| template<typename T2 > | |
| std::string | str (const std::map< std::string, T2 > &p, bool more=false) |
| String representation of a dictionary. More... | |
| template<typename T , size_t N> | |
| std::string | str (const std::array< T, N > &p, bool more=false) |
| String representation of an array. More... | |
| std::vector< std::string > | strvec () |
| Create a list of strings from VA_ARGS, no argument. More... | |
| template<typename T1 > | |
| std::vector< std::string > | strvec (const T1 &t1) |
| Create a list of strings from VA_ARGS, one argument. More... | |
| template<typename T1 , typename T2 > | |
| std::vector< std::string > | strvec (const T1 &t1, const T2 &t2) |
| Create a list of strings from VA_ARGS, two arguments. More... | |
| template<typename T1 , typename T2 , typename T3 > | |
| std::vector< std::string > | strvec (const T1 &t1, const T2 &t2, const T3 &t3) |
| Create a list of strings from VA_ARGS, three arguments. More... | |
| template<typename T1 , typename T2 , typename T3 , typename T4 > | |
| std::vector< std::string > | strvec (const T1 &t1, const T2 &t2, const T3 &t3, const T4 &t4) |
| Create a list of strings from VA_ARGS, four arguments. More... | |
| template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
| std::vector< std::string > | strvec (const T1 &t1, const T2 &t2, const T3 &t3, const T4 &t4, const T5 &t5) |
| Create a list of strings from VA_ARGS, five arguments. More... | |
| template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 > | |
| std::vector< std::string > | strvec (const T1 &t1, const T2 &t2, const T3 &t3, const T4 &t4, const T5 &t5, const T6 &t6) |
| Create a list of strings from VA_ARGS, six arguments. More... | |
| std::string | fmtstr (const std::string &fmt, const std::vector< std::string > &args) |
| Create a string from a formatted string. More... | |
| template<typename T > | |
| bool | has_enum (const std::string &s) |
| Helper function: Check if enum exists. More... | |
| template<typename T > | |
| T | to_enum (const std::string &s, const std::string &s_def="") |
| Helper function: Convert string to enum. More... | |
| template<typename T > | |
| std::vector< std::string > | enum_names () |
| Helper function: Get all fields. More... | |
| template<class T > | |
| bool | is_zero (const T &x) |
| std::ostream & | uout () |
| std::ostream & | uerr () |
| int | to_int (casadi_int rhs) |
| std::vector< int > | to_int (const std::vector< casadi_int > &rhs) |
| std::vector< std::vector< int > > | to_int (const std::vector< std::vector< casadi_int > > &rhs) |
| bool | all (const std::vector< bool > &v) |
| Check if all arguments are true. More... | |
| bool | any (const std::vector< bool > &v) |
| Check if any arguments are true. More... | |
| bool | is_range (const std::vector< casadi_int > &v, casadi_int start, casadi_int stop, casadi_int step=1) |
| Check if a vector matches a range. More... | |
| std::vector< casadi_int > | range (casadi_int start, casadi_int stop, casadi_int step=1, casadi_int len=std::numeric_limits< casadi_int >::max()) |
| Range function. More... | |
| bool | is_equally_spaced (const std::vector< double > &v) |
| std::vector< casadi_int > | range (casadi_int stop) |
| Range function. More... | |
| std::vector< casadi_int > | complement (const std::vector< casadi_int > &v, casadi_int size) |
| Returns the list of all i in [0, size[ not found in supplied list. More... | |
| std::vector< casadi_int > | lookupvector (const std::vector< casadi_int > &v, casadi_int size) |
| Returns a vector for quickly looking up entries of supplied list. More... | |
| std::vector< casadi_int > | lookupvector (const std::vector< casadi_int > &v) |
| bool | is_permutation (const std::vector< casadi_int > &order) |
| Does the list represent a permutation? More... | |
| std::vector< casadi_int > | invert_permutation (const std::vector< casadi_int > &a) |
| inverse a permutation vector More... | |
| bvec_t * | get_bvec_t (std::vector< double > &v) |
| const bvec_t * | get_bvec_t (const std::vector< double > &v) |
| Get an pointer of sets of booleans from a double vector. More... | |
| std::string | join (const std::vector< std::string > &l, const std::string &delim) |
| bool | startswith (const std::string &s, const std::string &p) |
| Checks if s starts with p. More... | |
| CASADI_EXPORT std::string | replace (const std::string &s, const std::string &p, const std::string &r) |
| Replace all occurences of p with r in s. More... | |
| bool | version_gt (const std::string &version_left, const std::string &version_right) |
| Compare versions: returns true if version_left > version_right. More... | |
| bool | version_ge (const std::string &version_left, const std::string &version_right) |
| Compare versions: returns true if version_left >= version_right. More... | |
| bool | version_lt (const std::string &version_left, const std::string &version_right) |
| Compare versions: returns true if version_left < version_right. More... | |
| bool | version_le (const std::string &version_left, const std::string &version_right) |
| Compare versions: returns true if version_left <= version_right. More... | |
| std::string | temporary_file (const std::string &prefix, const std::string &suffix, const std::string &directory) |
| std::vector< bool > | boolvec_not (const std::vector< bool > &v) |
| Invert all entries. More... | |
| std::vector< bool > | boolvec_and (const std::vector< bool > &lhs, const std::vector< bool > &rhs) |
| And operation on boolean vector. More... | |
| std::vector< bool > | boolvec_or (const std::vector< bool > &lhs, const std::vector< bool > &rhs) |
| Or operation on boolean vector. More... | |
| std::vector< casadi_int > | boolvec_to_index (const std::vector< bool > &v) |
| void | normalized_setup (std::istream &stream) |
| void | normalized_setup (std::ostream &stream) |
| std::string | str_bvec (bvec_t v) |
| bvec_t | bvec_or (const bvec_t *arg, casadi_int n) |
| Bit-wise or operation on bvec_t array. More... | |
| template<typename T , typename S > | |
| std::vector< T > | vector_static_cast (const std::vector< S > &rhs) |
| template<typename T > | |
| std::vector< T > | vector_slice (const std::vector< T > &v, const std::vector< casadi_int > &i) |
| Slicing vector. More... | |
| template<typename T > | |
| std::vector< T > | vector_select (const std::vector< T > &v, const std::vector< bool > &s, bool invert=false) |
| Select subset of vector. More... | |
| template<typename T > | |
| std::vector< T > | vector_tail (const std::vector< T > &v) |
| Return all but the first element of a vector. More... | |
| template<typename T > | |
| std::vector< T > | vector_init (const std::vector< T > &v) |
| Return all but the last element of a vector. More... | |
| template<typename T > | |
| std::vector< T > | reverse (const std::vector< T > &v) |
| Reverse a list. More... | |
| template<typename T > | |
| std::vector< T > | join (const std::vector< T > &a, const std::vector< T > &b) |
| Join two lists. More... | |
| template<typename T > | |
| std::vector< T > | join (const std::vector< T > &a, const std::vector< T > &b, const std::vector< T > &c) |
| Join three lists. More... | |
| template<typename T > | |
| std::vector< T > | permute (const std::vector< T > &a, const std::vector< casadi_int > &order) |
| permute a list More... | |
| template<typename T > | |
| std::vector< casadi_int > | find (const std::vector< T > &v) |
| find nonzeros More... | |
| template<typename T > | |
| bool | in_range (const std::vector< T > &v, casadi_int upper) |
| Check if for each element of v holds: v_i < upper. More... | |
| template<typename T > | |
| bool | in_range (const std::vector< T > &v, casadi_int lower, casadi_int upper) |
| Check if for each element of v holds: lower <= v_i < upper. More... | |
| template<class T , class S > | |
| void | flatten_nested_vector (const std::vector< std::vector< T > > &nested, std::vector< S > &flat) |
| Flatten a nested std::vector tot a single flattened vector. More... | |
| template<class T , class S , class I > | |
| void | flatten_nested_vector (const std::vector< std::vector< T > > &nested, std::vector< S > &flat, std::vector< I > &indices) |
| Flatten a nested std::vector tot a single flattened vector. More... | |
| template<class T > | |
| std::vector< T > | applymap (T(*f)(const T &), const std::vector< T > &comp) |
| template<class T > | |
| void | applymap (void(*f)(T &), std::vector< T > &comp) |
| template<typename T > | |
| bool | is_increasing (const std::vector< T > &v) |
| Check if the vector is strictly increasing. More... | |
| template<typename T > | |
| bool | is_decreasing (const std::vector< T > &v) |
| Check if the vector is strictly decreasing. More... | |
| template<typename T > | |
| bool | is_nonincreasing (const std::vector< T > &v) |
| Check if the vector is non-increasing. More... | |
| template<typename T > | |
| bool | is_nondecreasing (const std::vector< T > &v) |
| Check if the vector is non-decreasing. More... | |
| template<typename T > | |
| bool | is_monotone (const std::vector< T > &v) |
| Check if the vector is monotone. More... | |
| template<typename T > | |
| bool | is_strictly_monotone (const std::vector< T > &v) |
| Check if the vector is strictly monotone. More... | |
| template<typename T > | |
| bool | has_negative (const std::vector< T > &v) |
| Check if the vector has negative entries. More... | |
| template<typename T > | |
| void | write_matlab (std::ostream &stream, const std::vector< T > &v) |
| Print vector, matlab style. More... | |
| template<typename T > | |
| void | write_matlab (std::ostream &stream, const std::vector< std::vector< T > > &v) |
| Print matrix, matlab style. More... | |
| template<typename T > | |
| void | read_matlab (std::istream &stream, std::vector< T > &v) |
| Read vector, matlab style. More... | |
| template<typename T > | |
| void | read_matlab (std::ifstream &file, std::vector< std::vector< T > > &v) |
| Read matrix, matlab style. More... | |
| template<typename T , typename F , typename L > | |
| void | linspace (std::vector< T > &v, const F &first, const L &last) |
| Matlab's linspace. More... | |
| template<typename T > | |
| bvec_t * | get_bvec_t (std::vector< T > &v) |
| Get an pointer of sets of booleans from a double vector. More... | |
| template<typename T > | |
| const bvec_t * | get_bvec_t (const std::vector< T > &v) |
| Get an pointer of sets of booleans from a double vector. More... | |
| template<typename T > | |
| T * | get_ptr (std::vector< T > &v) |
| Get a pointer to the data contained in the vector. More... | |
| template<typename T > | |
| const T * | get_ptr (const std::vector< T > &v) |
| Get a pointer to the data contained in the vector. More... | |
| template<typename T > | |
| void | sort (const std::vector< T > &values, std::vector< T > &sorted_values, std::vector< casadi_int > &indices, bool invert_indices=false) |
| Sort the data in a vector. More... | |
| template<typename T > | |
| T | product (const std::vector< T > &values) |
| product More... | |
| template<typename T > | |
| T | sum (const std::vector< T > &values) |
| sum More... | |
| template<typename T > | |
| std::vector< T > | cumsum (const std::vector< T > &values) |
| cumulative sum More... | |
| template<typename T > | |
| std::vector< T > | diff (const std::vector< T > &values) |
| diff More... | |
| template<typename T > | |
| std::vector< T > | cumsum0 (const std::vector< T > &values) |
| cumulative sum, starting with zero More... | |
| template<typename T > | |
| bool | is_regular (const std::vector< T > &v) |
| Checks if array does not contain NaN or Inf. More... | |
| void | normalized_out (std::ostream &stream, double val) |
| int | normalized_in (std::istream &stream, double &ret) |
| template<typename T > | |
| std::ostream & | operator<< (std::ostream &stream, const std::vector< T > &v) |
| Enables flushing an std::vector to a stream (prints representation) More... | |
| template<typename T , size_t N> | |
| std::ostream & | operator<< (std::ostream &stream, const std::array< T, N > &v) |
| Enables flushing an std::array to a stream (prints representation) More... | |
| template<typename T > | |
| std::ostream & | operator<< (std::ostream &stream, const std::set< T > &v) |
| Enables flushing an std::set to a stream (prints representation) More... | |
| template<typename T1 , typename T2 > | |
| std::ostream & | operator<< (std::ostream &stream, const std::pair< T1, T2 > &p) |
| template<typename T1 , typename T2 > | |
| std::ostream & | operator<< (std::ostream &stream, const std::map< T1, T2 > &p) |
| template<typename T2 > | |
| std::ostream & | operator<< (std::ostream &stream, const std::map< std::string, T2 > &p) |
| template<typename T > | |
| bool | mul_overflows (const T &a, const T &b) |
| template<class S , class D > | |
| void | copy_vector (const std::vector< S > &s, std::vector< D > &d) |
| template<class S , class D > | |
| void | assign_vector (const std::vector< S > &s, std::vector< D > &d) |
| template<class S , class D > | |
| void | copy_vector (const S *s, std::vector< D > &d) |
| template<class S , class D > | |
| void | init_vector (std::vector< S > &d, const std::vector< D > &s) |
| template<typename T > | |
| bool | isUnique (const std::vector< T > &v) |
| template<typename T > | |
| T | dot (const std::vector< T > &a, const std::vector< T > &b) |
| template<typename T > | |
| T | norm_inf (const std::vector< T > &x) |
| template<typename T > | |
| T | norm_1 (const std::vector< T > &x) |
| template<typename T > | |
| T | norm_2 (const std::vector< T > &x) |
| template<typename T > | |
| size_t | hash_value (T v) |
| Hash value of an integer. More... | |
| template<typename T > | |
| void | hash_combine (std::size_t &seed, T v) |
| Generate a hash value incrementally (function taken from boost) More... | |
| template<typename T > | |
| void | hash_combine (std::size_t &seed, const T *v, std::size_t sz) |
| Generate a hash value incrementally, array. More... | |
| template<typename T > | |
| void | hash_combine (std::size_t &seed, const std::vector< T > &v) |
| Generate a hash value incrementally (function taken from boost) More... | |
| template<> | |
| size_t | hash_value (std::string v) |
| template<> | |
| size_t | hash_value (double v) |
| Hash value of a double. More... | |
| char | pathsep () |
| std::string | filesep () |
| std::vector< std::string > | get_search_paths () |
| std::unique_ptr< std::istream > | ifstream_compat (const std::string &utf8_path, std::ios::openmode mode) |
| std::unique_ptr< std::ostream > | ofstream_compat (const std::string &utf8_path, std::ios::openmode mode) |
| CASADI_EXPORT std::ifstream * | new_ifstream_compat (const std::string &utf8_path, std::ios::openmode mode=std::ios::in) |
| static std::string | next_quoted_token (const std::string &line, size_t &pos) |
| bool | has_conic (const std::string &name) |
| Check if a particular plugin is available. More... | |
| void | load_conic (const std::string &name) |
| Explicitly load a plugin dynamically. More... | |
| std::string | doc_conic (const std::string &name) |
| Get the documentation string for a plugin. More... | |
| Function | conic (const std::string &name, const std::string &solver, const SpDict &qp, const Dict &opts) |
| void | conic_debug (const Function &f, const std::string &filename) |
| void | conic_debug (const Function &f, std::ostream &file) |
| std::vector< std::string > | conic_in () |
| Get input scheme of QP solvers. More... | |
| std::vector< std::string > | conic_out () |
| Get QP solver output scheme of QP solvers. More... | |
| std::string | conic_in (casadi_int ind) |
| Get QP solver input scheme name by index. More... | |
| std::string | conic_out (casadi_int ind) |
| Get output scheme name by index. More... | |
| casadi_int | conic_n_in () |
| Get the number of QP solver inputs. More... | |
| casadi_int | conic_n_out () |
| Get the number of QP solver outputs. More... | |
| template<typename M > | |
| Function | qpsol_nlp (const std::string &name, const std::string &solver, const std::map< std::string, M > &qp, const Dict &opts) |
| Function | qpsol (const std::string &name, const std::string &solver, const SXDict &qp, const Dict &opts) |
| Function | qpsol (const std::string &name, const std::string &solver, const MXDict &qp, const Dict &opts) |
| std::vector< std::string > | conic_options (const std::string &name) |
| Get all options for a plugin. More... | |
| std::string | conic_option_type (const std::string &name, const std::string &op) |
| Get type info for a particular option. More... | |
| std::string | conic_option_info (const std::string &name, const std::string &op) |
| Get documentation for a particular option. More... | |
| SXNode * | ConstantSX_deserialize (DeserializingStream &s) |
| std::string | strategy_to_string (casadi_convexify_strategy_t s) |
| bool | is_input_category (Category cat) |
| bool | is_output_category (Category cat) |
| bool | is_acyclic (Category cat) |
| Category | dependent_definition (Category cat) |
| std::vector< Category > | input_categories () |
| std::vector< Category > | output_categories () |
| static Resource | open_resource (const std::string &path) |
| Category | input_category (Category cat) |
| template<typename T > | |
| std::vector< T > | read_list (const XmlNode &n) |
| template<> | |
| void CASADI_EXPORT | mtimes_dense_dispatch< double > (const std::string &blas, const double *A, casadi_int m, casadi_int k, const double *B, casadi_int n, double *C) |
| bool | has_dple (const std::string &name) |
| Check if a particular plugin is available. More... | |
| void | load_dple (const std::string &name) |
| Explicitly load a plugin dynamically. More... | |
| std::string | doc_dple (const std::string &name) |
| Get the documentation string for a plugin. More... | |
| MX | dplesol (const MX &A, const MX &V, const std::string &solver, const Dict &opts) |
| CASADI_EXPORT MXVector | dplesol (const MXVector &A, const MXVector &V, const std::string &solver, const Dict &opts) |
| CASADI_EXPORT DMVector | dplesol (const DMVector &A, const DMVector &V, const std::string &solver, const Dict &opts) |
| Function | dplesol (const std::string &name, const std::string &solver, const SpDict &st, const Dict &opts) |
| std::vector< std::string > | dple_in () |
| Get input scheme of DPLE solvers. More... | |
| std::vector< std::string > | dple_out () |
| Get output scheme of DPLE solvers. More... | |
| std::string | dple_in (casadi_int ind) |
| Get DPLE input scheme name by index. More... | |
| std::string | dple_out (casadi_int ind) |
| Get DPLE output scheme name by index. More... | |
| casadi_int | dple_n_in () |
| Get the number of QP solver inputs. More... | |
| casadi_int | dple_n_out () |
| Get the number of QP solver outputs. More... | |
| void | ensure_directory_exists (const std::string &dir) |
| std::string | trim_path (const std::string &full_path) |
| std::ostream & | message_prefix (std::ostream &stream) |
| bool | has_expm (const std::string &name) |
| Check if a particular plugin is available. More... | |
| void | load_expm (const std::string &name) |
| Explicitly load a plugin dynamically. More... | |
| std::string | doc_expm (const std::string &name) |
| Get the documentation string for a plugin. More... | |
| Function | expmsol (const std::string &name, const std::string &solver, const Sparsity &A, const Dict &opts) |
| casadi_int | expm_n_in () |
| Get the number of expm solver inputs. More... | |
| casadi_int | expm_n_out () |
| Get the number of expm solver outputs. More... | |
| Function | external (const std::string &name, const Importer &li, const Dict &opts=Dict()) |
| Load a just-in-time compiled external function. More... | |
| Function | external (const std::string &name, const Dict &opts=Dict()) |
| Load an external function from a shared library. More... | |
| Function | external (const std::string &name, const std::string &bin_name, const Dict &opts=Dict()) |
| Load an external function from a shared library. More... | |
| bool | has_filesystem (const std::string &name) |
| Check if a particular plugin is available. More... | |
| void | load_filesystem (const std::string &name) |
| Explicitly load a plugin dynamically. More... | |
| std::string | doc_filesystem (const std::string &name) |
| Get the documentation string for a plugin. More... | |
| std::string | to_string (FdMode v) |
| Convert to string. More... | |
| casadi_int | n_fd_points (FdMode v) |
| Length of FD stencil, including unperturbed input. More... | |
| casadi_int | fd_offset (FdMode v) |
| Offset for FD stencil, i.e. index of unperturbed input. More... | |
| template<typename T1 > | |
| CASADI_EXPORT void | finite_diff (FdMode v, const T1 **yk, T1 *J, T1 h, casadi_int n_y, T1 smoothing) |
| Calculate FD estimate. More... | |
| std::string | to_string (FmuApi v) |
| Convert to string. More... | |
| std::string | to_string (Parallelization v) |
| Convert to string. More... | |
| bool | has_prefix (const std::string &s) |
| std::string | pop_prefix (const std::string &s, std::string *rem) |
| std::string | transform_token_str (const GenericType &g) |
| std::string | transform_passes_str (const std::vector< std::vector< GenericType > > &ps) |
| std::string | transform_stats (const Function &f) |
| void CASADI_EXPORT | _function_buffer_eval (void *raw) |
| void | bvec_toggle (bvec_t *s, casadi_int begin, casadi_int end, casadi_int j) |
| void | bvec_clear (bvec_t *s, casadi_int begin, casadi_int end) |
| void | bvec_or (const bvec_t *s, bvec_t &r, casadi_int begin, casadi_int end) |
| void | assert_read (std::istream &stream, const std::string &s) |
| template<typename T > | |
| std::vector< std::pair< std::string, T > > | zip (const std::vector< std::string > &id, const std::vector< T > &mat) |
| template<typename M > | |
| M | replace_mat (const M &arg, const Sparsity &inp, casadi_int npar) |
| double | index_interp1d (const std::vector< double > &x, double xq, bool equidistant) |
| template<class B , class S > | |
| B | shared_cast (S &A) |
| Typecast a shared object to a base class to a shared object to a derived class,. More... | |
| template<class B , class S > | |
| const B | shared_cast (const S &A) |
| Typecast a shared object to a base class to a shared object to a derived class,. More... | |
| template<class A > | |
| A | getcopy (const A &a, std::map< typename A::base_type *, typename A::internal_base_type > &already_copied) |
| Dict | combine (const Dict &first, const Dict &second, bool recurse=false) |
| Combine two dicts. First has priority. More... | |
| void | update_dict (Dict &target, const Dict &source, bool recurse=false) |
| Update the target dictionary in place with source elements. More... | |
| void | update_dict (Dict &target, const std::string &key, const GenericType &value, bool recurse) |
| template<class T > | |
| T | get_from_dict (const std::map< std::string, T > &d, const std::string &key, const T &default_value) |
| template<class T > | |
| T | get_from_dict (const Dict &d, const std::string &key, const T &default_value) |
| template<class T > | |
| Dict | extract_from_dict (const Dict &d, const std::string &key, T &value) |
| template<class T > | |
| void | extract_from_dict_inplace (Dict &d, const std::string &key, T &value) |
| static std::string | format_from_path (const std::string &path) |
| bool | has_graphmodel (const std::string &name) |
| Check if a graph-model format plugin is available. More... | |
| void | load_graphmodel (const std::string &name) |
| Explicitly load a graph-model format plugin. More... | |
| std::string | doc_graphmodel (const std::string &name) |
| Get format-specific documentation. More... | |
| bool CASADI_EXPORT | is_slice (const IM &x, bool ind1=false) |
| Is the IM a Slice. More... | |
| Slice CASADI_EXPORT | to_slice (const IM &x, bool ind1=false) |
| Convert IM to Slice. More... | |
| template<typename T > | |
| T | text2type (const std::string &text) |
| Convert to a type. More... | |
| template<typename T > | |
| std::vector< T > | text2vector (const std::string &text) |
| Get entry as a vector. More... | |
| template<typename T > | |
| std::set< T > | text2set (const std::string &text) |
| Get entry as a set. More... | |
| template<typename RealT > | |
| std::vector< RealT > | collocation_pointsGen (casadi_int order, const std::string &scheme) |
| Function | simpleRK (Function f, casadi_int N=10, casadi_int order=4) |
| Construct an explicit Runge-Kutta integrator. More... | |
| void | collocation_interpolators (const std::vector< double > &tau, std::vector< std::vector< double > > &C, std::vector< double > &D) |
| Obtain collocation interpolating matrices. More... | |
| void | collocation_coeff (const std::vector< double > &tau, DM &C, DM &D, DM &B) |
| Obtain collocation interpolating matrices. More... | |
| Function | simpleIRK (Function f, casadi_int N=10, casadi_int order=4, const std::string &scheme="radau", const std::string &solver="newton", const Dict &solver_options=Dict()) |
| Construct an implicit Runge-Kutta integrator using a collocation scheme. More... | |
| Function | simpleIntegrator (Function f, const std::string &integrator="cvodes", const Dict &integrator_options=Dict()) |
| Simplified wrapper for the Integrator class. More... | |
| std::vector< casadi_int > | invert_lookup (const std::vector< casadi_int > &lookup) |
| template<class X > | |
| std::map< std::string, X > | add_defaults (const std::map< std::string, X > &in, const std::vector< std::string > &keys) |
| std::vector< casadi_int > | get_orders (const std::vector< casadi_int > &map) |
| std::vector< casadi_int > | get_inverse (const std::vector< casadi_int > &map) |
| std::vector< casadi_int > | path (const std::vector< casadi_int > &map, casadi_int i_start) |
| template<class X > | |
| const std::map< std::string, X > | reduce_index_gen (const std::map< std::string, X > &dae, Dict &stats, const Dict &opts) |
| template<class X > | |
| std::map< std::string, X > | map_semi_expl (const std::map< std::string, X > &dae, const std::map< std::string, X > &dae_red, Function &state_to_orig, Function &phi) |
| template<class X > | |
| Function | init_gen (const std::map< std::string, X > &dae, const std::map< std::string, X > &dae_red, const std::string &init_solver, const DMDict &init_strength, const Dict &init_solver_options) |
| bool | has_integrator (const std::string &name) |
| Check if a particular plugin is available. More... | |
| void | load_integrator (const std::string &name) |
| Explicitly load a plugin dynamically. More... | |
| std::string | doc_integrator (const std::string &name) |
| Get the documentation string for a plugin. More... | |
| Function | integrator (const std::string &name, const std::string &solver, const SXDict &dae, const Dict &opts) |
| Function | integrator (const std::string &name, const std::string &solver, const MXDict &dae, const Dict &opts) |
| Function | integrator (const std::string &name, const std::string &solver, const Function &dae, const Dict &opts) |
| Function | integrator (const std::string &name, const std::string &solver, const SXDict &dae, double t0, const std::vector< double > &tout, const Dict &opts) |
| Function | integrator (const std::string &name, const std::string &solver, const MXDict &dae, double t0, const std::vector< double > &tout, const Dict &opts) |
| Function | integrator (const std::string &name, const std::string &solver, const Function &dae, double t0, const std::vector< double > &tout, const Dict &opts) |
| Function | integrator (const std::string &name, const std::string &solver, const SXDict &dae, double t0, double tf, const Dict &opts) |
| Function | integrator (const std::string &name, const std::string &solver, const MXDict &dae, double t0, double tf, const Dict &opts) |
| Function | integrator (const std::string &name, const std::string &solver, const Function &dae, double t0, double tf, const Dict &opts) |
| std::vector< std::string > | integrator_in () |
| Get input scheme of integrators. More... | |
| std::vector< std::string > | integrator_out () |
| Get integrator output scheme of integrators. More... | |
| std::string | integrator_in (casadi_int ind) |
| Get integrator input scheme name by index. More... | |
| std::string | integrator_out (casadi_int ind) |
| Get output scheme name by index. More... | |
| casadi_int | integrator_n_in () |
| Get the number of integrator inputs. More... | |
| casadi_int | integrator_n_out () |
| Get the number of integrator outputs. More... | |
| std::vector< std::string > | dyn_in () |
| Get input scheme of a DAE function. More... | |
| std::vector< std::string > | dyn_out () |
| Get output scheme of a DAE function. More... | |
| std::string | dyn_in (casadi_int ind) |
| Get input scheme of a DAE function by index. More... | |
| std::string | dyn_out (casadi_int ind) |
| Get output scheme of a DAE function by index. More... | |
| casadi_int | dyn_n_in () |
| Get the number of inputs for a DAE function. More... | |
| casadi_int | dyn_n_out () |
| Get the number of outputs for a DAE function. More... | |
| std::vector< std::string > | event_in () |
| Get input scheme of an event transition function. More... | |
| std::vector< std::string > | event_out () |
| Get output scheme of an event transition functions. More... | |
| bool | has_interpolant (const std::string &name) |
| Check if a particular plugin is available. More... | |
| void | load_interpolant (const std::string &name) |
| Explicitly load a plugin dynamically. More... | |
| std::string | doc_interpolant (const std::string &name) |
| Get the documentation string for a plugin. More... | |
| Function | interpolant (const std::string &name, const std::string &solver, const std::vector< std::vector< double > > &grid, const std::vector< double > &values, const Dict &opts) |
| Function | interpolant (const std::string &name, const std::string &solver, const std::vector< casadi_int > &grid_dims, const std::vector< double > &values, const Dict &opts=Dict()) |
| Parametric variant of interpolant. More... | |
| Function | interpolant (const std::string &name, const std::string &solver, const std::vector< std::vector< double > > &grid, casadi_int m=1, const Dict &opts=Dict()) |
| Parametric variant of interpolant. More... | |
| Function | interpolant (const std::string &name, const std::string &solver, const std::vector< casadi_int > &grid_dims, casadi_int m=1, const Dict &opts=Dict()) |
| Parametric variant of interpolant. More... | |
| template<bool Fwd> | |
| static int | kron_sp_gen (const Sparsity &sp_a, const Sparsity &sp_b, typename KronSpTraits< Fwd >::arg_t arg, typename KronSpTraits< Fwd >::res_t res) |
| bool | has_linsol (const std::string &name) |
| Check if a particular plugin is available. More... | |
| void | load_linsol (const std::string &name) |
| Explicitly load a plugin dynamically. More... | |
| std::string | doc_linsol (const std::string &name) |
| Get the documentation string for a plugin. More... | |
| void | ThreadsWork (const Function &f, casadi_int i, const double **arg, double **res, casadi_int *iw, double *w, casadi_int ind, int &ret) |
| template<typename T1 > | |
| void | casadi_add (casadi_int n, const T1 *x, T1 *y) |
| template<> | |
| void | casadi_add (casadi_int n, const bvec_t *x, bvec_t *y) |
| bool | has_modelicaparser (const std::string &name) |
| Check if a particular plugin is available. More... | |
| void | load_modelicaparser (const std::string &name) |
| Explicitly load a plugin dynamically. More... | |
| std::string | doc_modelicaparser (const std::string &name) |
| Get solver specific documentation. More... | |
| static void | codegen_copy_z (CodeGenerator &g, casadi_int nnz, const std::vector< casadi_int > &arg, const std::vector< casadi_int > &res, const std::vector< bool > &arg_is_ref) |
| bool | has_empty (const std::vector< MX > &x, bool both=false) |
| std::vector< MX > | trim_empty (const std::vector< MX > &x, bool both=false) |
| bool | simplify_const_folding_order (std::vector< MX > &arg, std::vector< MX > &res, const Dict &opts) |
| MX | get_const (const Sparsity &sp, const double *v, std::unordered_multimap< std::size_t, std::pair< MX, DM > > &cache) |
| MX | register_symbol (const MX &node, std::map< MXNode *, MX > &symbol_map, std::vector< MX > &symbol_v, std::vector< MX > ¶metric_v, bool extract_trivial, casadi_int v_offset, const std::string &v_prefix, const std::string &v_suffix) |
| MX | interpn_G (casadi_int i, const MX &v, const std::vector< MX > &xis, const std::vector< MX > &L, const std::vector< MX > &Lp, const std::vector< casadi_int > &strides, const Slice &I, const MX &offset=0) |
| MX | kron_contract (const MX &m, const MX &x, bool inner) |
| Kronecker contraction. More... | |
| template<class T > | |
| void | detect_simple_bounds_gen (const T &x, const T &p, const T &g, const T &lbg, const T &ubg, std::vector< casadi_int > &gi, T &lbx, T &ubx, Function &lam_forward, Function &lam_backward) |
| void | detect_simple_bounds (const SX &xX, const SX &p, const SX &g, const SX &lbg, const SX &ubg, std::vector< casadi_int > &gi, SX &lbx, SX &ubx, Function &lam_forward, Function &lam_backward) |
| Detect simple bounds from general constraints. More... | |
| void | detect_simple_bounds (const MX &x, const MX &p, const MX &g, const MX &lbg, const MX &ubg, std::vector< casadi_int > &gi, MX &lbx, MX &ubx, Function &lam_forward, Function &lam_backward) |
| template<class T > | |
| void | check_sos (casadi_int nx, const std::vector< std::vector< T > > &groups, std::vector< std::vector< double > > &weights, std::vector< casadi_int > &types) |
| Check sos structure and generate defaults. More... | |
| bool | has_nlpsol (const std::string &name) |
| Check if a particular plugin is available. More... | |
| void | load_nlpsol (const std::string &name) |
| Explicitly load a plugin dynamically. More... | |
| std::string | doc_nlpsol (const std::string &name) |
| Get the documentation string for a plugin. More... | |
| bool | name_has_g (const std::string &name) |
| template<class X > | |
| Function | construct_nlpsol (const std::string &name, const std::string &solver, const std::map< std::string, X > &nlp, const Dict &opts) |
| Function | nlpsol (const std::string &name, const std::string &solver, const SXDict &nlp, const Dict &opts) |
| Function | nlpsol (const std::string &name, const std::string &solver, const MXDict &nlp, const Dict &opts) |
| Function | nlpsol (const std::string &name, const std::string &solver, const NlpBuilder &nl, const Dict &opts) |
| Function | nlpsol (const std::string &name, const std::string &solver, const std::string &fname, const Dict &opts) |
| Function | nlpsol (const std::string &name, const std::string &solver, const Importer &compiler, const Dict &opts) |
| Function | nlpsol (const std::string &name, const std::string &solver, const Function &nlp, const Dict &opts) |
| std::vector< std::string > | nlpsol_in () |
| Get input scheme of NLP solvers. More... | |
| std::vector< std::string > | nlpsol_out () |
| Get NLP solver output scheme of NLP solvers. More... | |
| std::string | nlpsol_in (casadi_int ind) |
| Get NLP solver input scheme name by index. More... | |
| std::string | nlpsol_out (casadi_int ind) |
| Get output scheme name by index. More... | |
| casadi_int | nlpsol_n_in () |
| Number of NLP solver inputs. More... | |
| casadi_int | nlpsol_n_out () |
| Number of NLP solver outputs. More... | |
| int | detect_bounds_callback (const double **arg, double **res, casadi_int *iw, double *w, void *callback_data) |
| std::vector< std::string > | nlpsol_options (const std::string &name) |
| Get all options for a plugin. More... | |
| std::string | nlpsol_option_type (const std::string &name, const std::string &op) |
| Get type info for a particular option. More... | |
| std::string | nlpsol_option_info (const std::string &name, const std::string &op) |
| Get documentation for a particular option. More... | |
| bool | has_onnxbackend (const std::string &solver) |
| Check if a given ONNX runtime backend is available. More... | |
| void | load_onnxbackend (const std::string &solver) |
| Load an ONNX runtime backend. More... | |
| std::vector< std::string > | onnxbackend_solvers () |
| List available ONNX runtime backends. More... | |
| std::string | onnxbackend_doc (const std::string &solver) |
| Get documentation for an ONNX runtime backend. More... | |
| std::string | onnx_dtype_name (casadi_int elem_type) |
| Human-readable name of an ONNX element-type enum (1=FLOAT, 11=DOUBLE, 7=INT64, ...) More... | |
| casadi_int | onnx_dtype_enum (const std::string &name) |
| ONNX element-type enum for a human-readable name (inverse of onnx_dtype_name; 0 if unknown) More... | |
| static std::vector< OnnxTensorInfo > | select_tensors (const std::vector< OnnxTensorInfo > &all, const std::vector< std::string > &req) |
| static void | pack_tensors (SerializingStream &s, const std::string &d, const std::vector< OnnxTensorInfo > &v) |
| static void | unpack_tensors (DeserializingStream &s, const std::string &d, std::vector< OnnxTensorInfo > &v) |
| bool | override_num (const std::map< casadi_int, MX > &temp, std::vector< DM > &num, casadi_int i) |
| template<typename T1 > | |
| int | calc_function (const OracleCallback *cb, casadi_oracle_data< T1 > *d) |
| template<typename T > | |
| T | check_exposed (T t) |
| static bvec_t | Orring (bvec_t x, bvec_t y) |
| std::vector< std::string > | rootfinder_in () |
| Get rootfinder input scheme. More... | |
| std::vector< std::string > | rootfinder_out () |
| Get rootfinder output scheme. More... | |
| std::string | rootfinder_in (casadi_int ind) |
| Get rootfinder input scheme name by index. More... | |
| std::string | rootfinder_out (casadi_int ind) |
| Get rootfinder output scheme name by index. More... | |
| casadi_int | rootfinder_n_in () |
| Number of rootfinder inputs. More... | |
| casadi_int | rootfinder_n_out () |
| Number of rootfinder outputs. More... | |
| std::vector< std::string > | rootfinder_options (const std::string &name) |
| Get all options for a plugin. More... | |
| std::string | rootfinder_option_type (const std::string &name, const std::string &op) |
| Get type info for a particular option. More... | |
| std::string | rootfinder_option_info (const std::string &name, const std::string &op) |
| Get documentation for a particular option. More... | |
| bool | has_rootfinder (const std::string &name) |
| Check if a particular plugin is available. More... | |
| void | load_rootfinder (const std::string &name) |
| Explicitly load a plugin dynamically. More... | |
| std::string | doc_rootfinder (const std::string &name) |
| Get the documentation string for a plugin. More... | |
| Function | rootfinder (const std::string &name, const std::string &solver, const SXDict &rfp, const Dict &opts) |
| Function | rootfinder (const std::string &name, const std::string &solver, const MXDict &rfp, const Dict &opts) |
| Function | rootfinder (const std::string &name, const std::string &solver, const Function &f, const Dict &opts) |
| template<typename T1 > | |
| void | casadi_copy (const T1 *x, casadi_int n, T1 *y) |
| COPY: y <-x. More... | |
| template<typename T1 > | |
| void | casadi_swap (casadi_int n, T1 *x, casadi_int inc_x, T1 *y, casadi_int inc_y) |
| SWAP: x <-> y. More... | |
| template<typename T1 > | |
| void | casadi_project (const T1 *x, const casadi_int *sp_x, T1 *y, const casadi_int *sp_y, T1 *w) |
| Sparse copy: y <- x, w work vector (length >= number of rows) More... | |
| template<typename T1 , typename T2 > | |
| void | casadi_densify (const T1 *x, const casadi_int *sp_x, T2 *y, casadi_int tr) |
| Convert sparse to dense. More... | |
| template<typename T1 , typename T2 > | |
| void | casadi_sparsify (const T1 *x, T2 *y, const casadi_int *sp_y, casadi_int tr) |
| Convert dense to sparse. More... | |
| template<typename T1 > | |
| void | casadi_scal (casadi_int n, T1 alpha, T1 *x) |
| SCAL: x <- alpha*x. More... | |
| template<typename T1 > | |
| void | casadi_axpy (casadi_int n, T1 alpha, const T1 *x, T1 *y) |
| AXPY: y <- a*x + y. More... | |
| template<typename T1 > | |
| T1 | casadi_dot (casadi_int n, const T1 *x, const T1 *y) |
| Inner product. More... | |
| template<typename T1 > | |
| T1 | casadi_max_viol (casadi_int n, const T1 *x, const T1 *lb, const T1 *ub) |
| Largest bound violation. More... | |
| template<typename T1 > | |
| T1 | casadi_sum_viol (casadi_int n, const T1 *x, const T1 *lb, const T1 *ub) |
| Sum of bound violations. More... | |
| template<typename T1 > | |
| casadi_int | casadi_iamax (casadi_int n, const T1 *x, casadi_int inc_x) |
| IAMAX: index corresponding to the entry with the largest absolute value. More... | |
| template<typename T1 > | |
| void | casadi_clear (T1 *x, casadi_int n) |
| CLEAR: x <- 0. More... | |
| template<typename T1 > | |
| void | casadi_fill (T1 *x, casadi_int n, T1 alpha) |
| FILL: x <- alpha. More... | |
| template<typename T1 > | |
| void | casadi_mtimes (const T1 *x, const casadi_int *sp_x, const T1 *y, const casadi_int *sp_y, T1 *z, const casadi_int *sp_z, T1 *w, casadi_int tr) |
| Sparse matrix-matrix multiplication: z <- z + x*y. More... | |
| template<typename T1 > | |
| void | casadi_mtimes_dense (const T1 *x, casadi_int nrow_x, casadi_int ncol_x, const T1 *y, casadi_int ncol_y, T1 *z, casadi_int tr) |
| Dense matrix-matrix multiplication: z <- z + x*y (column-major) More... | |
| template<typename T1 > | |
| void | casadi_mtimes_dense_sparse (const T1 *x, casadi_int nrow_x, const T1 *y, const casadi_int *sp_y, T1 *z) |
| Dense * sparse matrix multiplication: z <- z + x*y (z, x dense col-major) More... | |
| template<typename T1 > | |
| void | casadi_mv (const T1 *x, const casadi_int *sp_x, const T1 *y, T1 *z, casadi_int tr) |
| Sparse matrix-vector multiplication: z <- z + x*y. More... | |
| template<typename T1 > | |
| void | casadi_triusolve (const casadi_int *sp_a, const T1 *nz_a, T1 *x, int tr, int unity, casadi_int nrhs) |
| Linear solve, upper triangular matrix, optionally transposed or unity diagonal (1 - R) More... | |
| template<typename T1 > | |
| void | casadi_trilsolve (const casadi_int *sp_a, const T1 *nz_a, T1 *x, int tr, int unity, casadi_int nrhs) |
| Linear solve, lower triangular matrix, optionally transposed or unity diagonal (1 - L) More... | |
| template<typename T1 > | |
| void | casadi_trans (const T1 *x, const casadi_int *sp_x, T1 *y, const casadi_int *sp_y, casadi_int *tmp) |
| TRANS: y <- trans(x) , w work vector (length >= rows x) More... | |
| template<typename T1 > | |
| T1 | casadi_norm_1 (casadi_int n, const T1 *x) |
| NORM_1: ||x||_1 -> return. More... | |
| template<typename T1 > | |
| T1 | casadi_norm_2 (casadi_int n, const T1 *x) |
| NORM_2: ||x||_2 -> return. More... | |
| template<typename T1 > | |
| T1 | casadi_norm_inf (casadi_int n, const T1 *x) |
| template<typename T1 > | |
| T1 | casadi_norm_inf_mul (const T1 *x, const casadi_int *sp_x, const T1 *y, const casadi_int *sp_y, T1 *dwork, casadi_int *iwork) |
| template<typename T1 > | |
| T1 | casadi_bilin (const T1 *A, const casadi_int *sp_A, const T1 *x, const T1 *y) |
| template<typename T1 > | |
| void | casadi_kron (const T1 *a, const casadi_int *sp_a, const T1 *b, const casadi_int *sp_b, T1 *r) |
| template<typename T1 > | |
| void | casadi_kron_dense (const T1 *a, casadi_int mA, casadi_int nA, const T1 *b, casadi_int mB, casadi_int nB, T1 *r) |
| template<typename T1 > | |
| void | casadi_kron_dense_sparse (const T1 *a, casadi_int mA, casadi_int nA, const T1 *b, const casadi_int *sp_b, T1 *r) |
| template<typename T1 > | |
| void | casadi_kron_sparse_dense (const T1 *a, const casadi_int *sp_a, const T1 *b, casadi_int mB, casadi_int nB, T1 *r) |
| template<typename T1 > | |
| void | casadi_kron_contract_inner (const T1 *m, const casadi_int *sp_m, const T1 *b, const casadi_int *sp_b, T1 *y, const casadi_int *sp_y, T1 *w) |
| template<typename T1 > | |
| void | casadi_kron_contract_inner_dense (const T1 *m, casadi_int mA, casadi_int nA, const T1 *b, casadi_int mB, casadi_int nB, T1 *y) |
| template<typename T1 > | |
| void | casadi_kron_contract_inner_dense_sparse (const T1 *m, casadi_int mA, casadi_int nA, const T1 *b, const casadi_int *sp_b, T1 *y) |
| template<typename T1 > | |
| void | casadi_kron_contract_inner_sparse_dense (const T1 *m, const casadi_int *sp_m, const T1 *b, casadi_int mB, casadi_int nB, T1 *y, const casadi_int *sp_y) |
| template<typename T1 > | |
| void | casadi_kron_contract_outer (const T1 *m, const casadi_int *sp_m, const T1 *a, const casadi_int *sp_a, T1 *y, const casadi_int *sp_y, T1 *w) |
| template<typename T1 > | |
| void | casadi_kron_contract_outer_dense (const T1 *m, casadi_int mB, casadi_int nB, const T1 *a, casadi_int mA, casadi_int nA, T1 *y) |
| template<typename T1 > | |
| void | casadi_kron_contract_outer_dense_sparse (const T1 *m, casadi_int mB, casadi_int nB, const T1 *a, const casadi_int *sp_a, T1 *y) |
| template<typename T1 > | |
| void | casadi_kron_contract_outer_sparse_dense (const T1 *m, const casadi_int *sp_m, const T1 *a, casadi_int mA, casadi_int nA, T1 *y, const casadi_int *sp_y) |
| template<typename T1 > | |
| void | casadi_rank1 (T1 *A, const casadi_int *sp_A, T1 alpha, const T1 *x) |
| Adds a multiple alpha/2 of the outer product mul(x, trans(x)) to A. More... | |
| template<typename T1 > | |
| void | casadi_getu (const T1 *x, const casadi_int *sp_x, T1 *v) |
| Get the nonzeros for the upper triangular half. More... | |
| template<typename T1 > | |
| T1 | casadi_polyval (const T1 *p, casadi_int n, T1 x) |
| Evaluate a polynomial. More... | |
| casadi_int | casadi_flip (casadi_int *corner, casadi_int ndim) |
| template<typename T1 > | |
| casadi_int | casadi_low (T1 x, const T1 *grid, casadi_int ng, casadi_int lookup_mode) |
| template<typename T1 > | |
| void | casadi_interpn_weights (casadi_int ndim, const T1 *grid, const casadi_int *offset, const T1 *x, T1 *alpha, casadi_int *index) |
| template<typename T1 > | |
| T1 | casadi_interpn_interpolate (casadi_int ndim, const casadi_int *offset, const T1 *values, const T1 *alpha, const casadi_int *index, const casadi_int *corner, T1 *coeff) |
| template<typename T1 > | |
| T1 | casadi_interpn (casadi_int ndim, const T1 *grid, const casadi_int *offset, const T1 *values, const T1 *x, casadi_int *iw, T1 *w) |
| template<typename T1 > | |
| void | casadi_interpn_grad (T1 *grad, casadi_int ndim, const T1 *grid, const casadi_int *offset, const T1 *values, const T1 *x, casadi_int *iw, T1 *w) |
| template<typename T1 > | |
| void | casadi_de_boor (T1 x, const T1 *knots, casadi_int n_knots, casadi_int degree, T1 *boor) |
| template<typename T1 > | |
| void | casadi_tensor_ttv (T1 *ret, casadi_int dim, casadi_int n_dims, const T1 *all_w, const casadi_int *w_offset, const casadi_int *starts, const casadi_int *strides, const T1 *c, casadi_int m, T1 weight, casadi_int offset) |
| template<typename T1 > | |
| void | casadi_nd_boor_eval (T1 *ret, casadi_int n_dims, const T1 *knots, const casadi_int *offset, const casadi_int *degree, const casadi_int *strides, const T1 *c, casadi_int m, const T1 *x, const casadi_int *lookup_mode, casadi_int *iw, T1 *w) |
| template<typename T1 > | |
| T1 | casadi_mmax (const T1 *x, casadi_int n, T1 is_dense) |
| template<typename T1 > | |
| T1 | casadi_mmin (const T1 *x, casadi_int n, casadi_int is_dense) |
| template<typename T1 > | |
| T1 | casadi_vfmax (const T1 *x, casadi_int n, T1 r) |
| template<typename T1 > | |
| T1 | casadi_vfmin (const T1 *x, casadi_int n, T1 r) |
| void | casadi_fill_casadi_int (casadi_int *x, casadi_int n, casadi_int alpha) |
| void | casadi_clear_casadi_int (casadi_int *x, casadi_int n) |
| template<typename T1 > | |
| void | casadi_bound_consistency (casadi_int n, T1 *x, T1 *lam, const T1 *lbx, const T1 *ubx) |
| template<typename T1 > | |
| T1 | casadi_logsumexp (const T1 *x, casadi_int n) |
| template<typename T1 > | |
| int | casadi_newton (const casadi_newton_mem< T1 > *m) |
| template<typename T > | |
| casadi_int | einstein_process (const T &A, const T &B, const T &C, const std::vector< casadi_int > &dim_a, const std::vector< casadi_int > &dim_b, const std::vector< casadi_int > &dim_c, const std::vector< casadi_int > &a, const std::vector< casadi_int > &b, const std::vector< casadi_int > &c, std::vector< casadi_int > &iter_dims, std::vector< casadi_int > &strides_a, std::vector< casadi_int > &strides_b, std::vector< casadi_int > &strides_c) |
| template<typename T > | |
| void | Contraction (const T &a, const T &b, T &r) |
| template<> | |
| void | Contraction (const bvec_t &a, const bvec_t &b, bvec_t &r) |
| template<typename T > | |
| void | einstein_eval (casadi_int n_iter, const std::vector< casadi_int > &iter_dims, const std::vector< casadi_int > &strides_a, const std::vector< casadi_int > &strides_b, const std::vector< casadi_int > &strides_c, const T *a_in, const T *b_in, T *c_in) |
| Slice CASADI_EXPORT | to_slice (const std::vector< casadi_int > &v, bool ind1=false) |
| Construct from an index vector (requires is_slice(v) to be true) More... | |
| bool CASADI_EXPORT | is_slice (const std::vector< casadi_int > &v, bool ind1=false) |
| Check if an index vector can be represented more efficiently as a slice. More... | |
| bool CASADI_EXPORT | is_slice2 (const std::vector< casadi_int > &v) |
| Check if an index vector can be represented more efficiently as two nested slices. More... | |
| std::pair< Slice, Slice > CASADI_EXPORT | to_slice2 (const std::vector< casadi_int > &v) |
| Construct nested slices from an index vector (requires is_slice2(v) to be true) More... | |
| std::size_t | hash_sparsity (casadi_int nrow, casadi_int ncol, const std::vector< casadi_int > &colind, const std::vector< casadi_int > &row) |
| Hash a sparsity pattern. More... | |
| std::size_t | hash_sparsity (casadi_int nrow, casadi_int ncol, const casadi_int *colind, const casadi_int *row) |
| template<bool COMBINE_AND> | |
| static void | mul_bvec_fwd (const bvec_t *x, const Sparsity &x_sp, const bvec_t *y, const Sparsity &y_sp, bvec_t *z, const Sparsity &z_sp, bvec_t *w) |
| template<> | |
| std::string | matrixName< SXElem > () |
| SXElem | register_symbol (const SXElem &node, std::map< SXNode *, SXElem > &symbol_map, std::vector< SXElem > &symbol_v, std::vector< SXElem > ¶metric_v, bool extract_trivial, casadi_int v_offset, const std::string &v_prefix, const std::string &v_suffix) |
| SX | mtaylor_recursive (const SX &ex, const SX &x, const SX &a, casadi_int order, const std::vector< casadi_int > &order_contributions, const SXElem ¤t_dx=casadi_limits< SXElem >::one, double current_denom=1, casadi_int current_order=1) |
| void | callback_stdout (const char *s) |
| void | callback_stderr (const char *s) |
| Function | external_transform (const std::string &name, const std::string &op, const Function &f, const Dict &opts=Dict()) |
| Apply a transformation defined externally. More... | |
| template<typename MatType > | |
| Sparsity | _jacobian_sparsity (const MatType &expr, const MatType &var) |
| template<typename MatType > | |
| std::vector< bool > | _which_depends (const MatType &expr, const MatType &var, casadi_int order, bool tr) |
| std::ostream & | operator<< (std::ostream &stream, const XmlNode &node) |
| int CASADI_NLPSOL_ALPAQA_EXPORT | casadi_register_nlpsol_alpaqa (Nlpsol::Plugin *plugin) |
| void CASADI_NLPSOL_ALPAQA_EXPORT | casadi_load_nlpsol_alpaqa () |
| template<typename T1 , typename T2 > | |
| void | copy (const T1 *x, casadi_int n, T2 *y) |
| int CASADI_NLPSOL_AMPL_EXPORT | casadi_register_nlpsol_ampl (Nlpsol::Plugin *plugin) |
| void CASADI_NLPSOL_AMPL_EXPORT | casadi_load_nlpsol_ampl () |
| static void | classic_dgemm (int transa, int transb, casadi_int m, casadi_int n, casadi_int k, double alpha, const double *A, casadi_int lda, const double *B, casadi_int ldb, double beta, double *C, casadi_int ldc) |
| static void | classic_daxpy (casadi_int n, double alpha, const double *x, double *y) |
| static double | classic_ddot (casadi_int n, const double *x, const double *y) |
| static void | classic_dscal (casadi_int n, double alpha, double *x) |
| static double | classic_dnrm2 (casadi_int n, const double *x) |
| static double | classic_dasum (casadi_int n, const double *x) |
| static void | classic_dcopy (const double *x, casadi_int n, double *y) |
| static void | classic_codegen_mtimes (CodeGenerator &g, const std::string &A, casadi_int m, casadi_int k, const std::string &B, casadi_int n, const std::string &C) |
| static void | classic_codegen_axpy_aux (CodeGenerator &g, const std::vector< std::string > &inst) |
| static void | classic_codegen_scal_aux (CodeGenerator &g, const std::vector< std::string > &inst) |
| static void | classic_codegen_dot_aux (CodeGenerator &g, const std::vector< std::string > &inst) |
| static void | classic_codegen_nrm2_aux (CodeGenerator &g, const std::vector< std::string > &inst) |
| static void | classic_codegen_asum_aux (CodeGenerator &g, const std::vector< std::string > &inst) |
| int CASADI_BLAS_CLASSIC_EXPORT | casadi_register_blas_classic (Blas::Plugin *plugin) |
| void CASADI_BLAS_CLASSIC_EXPORT | casadi_load_blas_classic () |
| static void | blasfeo_dgemm (int transa, int transb, casadi_int m, casadi_int n, casadi_int k, double alpha, const double *A, casadi_int lda, const double *B, casadi_int ldb, double beta, double *C, casadi_int ldc) |
| static void | blasfeo_daxpy (casadi_int n, double alpha, const double *x, double *y) |
| static double | blasfeo_ddot (casadi_int n, const double *x, const double *y) |
| static void | blasfeo_codegen_mtimes (CodeGenerator &g, const std::string &A, casadi_int m, casadi_int k, const std::string &B, casadi_int n, const std::string &C) |
| static void | blasfeo_codegen_axpy_aux (CodeGenerator &g, const std::vector< std::string > &inst) |
| static void | blasfeo_codegen_dot_aux (CodeGenerator &g, const std::vector< std::string > &inst) |
| int CASADI_BLAS_BLASFEO_EXPORT | casadi_register_blas_blasfeo (Blas::Plugin *plugin) |
| void CASADI_BLAS_BLASFEO_EXPORT | casadi_load_blas_blasfeo () |
| int CASADI_NLPSOL_BLOCKSQP_EXPORT | casadi_register_nlpsol_blocksqp (Nlpsol::Plugin *plugin) |
| void CASADI_NLPSOL_BLOCKSQP_EXPORT | casadi_load_nlpsol_blocksqp () |
| int CASADI_NLPSOL_BONMIN_EXPORT | casadi_register_nlpsol_bonmin (Nlpsol::Plugin *plugin) |
| void CASADI_NLPSOL_BONMIN_EXPORT | casadi_load_nlpsol_bonmin () |
| const char * | return_status_string (Bonmin::TMINLP::SolverReturn status) |
| std::string | to_str (const CoinError &e) |
| std::string | to_str (TNLPSolver::UnsolvedError &e) |
| int CASADI_CONIC_CBC_EXPORT | casadi_register_conic_cbc (Conic::Plugin *plugin) |
| void CASADI_CONIC_CBC_EXPORT | casadi_load_conic_cbc () |
| std::string | return_status_string (int status) |
| std::string | return_secondary_status_string (int status) |
| int CASADI_NLPSOL_CCOPT_EXPORT | casadi_register_nlpsol_ccopt (Nlpsol::Plugin *plugin) |
| void CASADI_NLPSOL_CCOPT_EXPORT | casadi_load_nlpsol_ccopt () |
| void | flatten_opts (Dict &ret, const Dict &opts, const std::string &prefix) |
| int CASADI_IMPORTER_CLANG_EXPORT | casadi_register_importer_clang (ImporterInternal::Plugin *plugin) |
| void CASADI_IMPORTER_CLANG_EXPORT | casadi_load_importer_clang () |
| int CASADI_CONIC_CLARABEL_EXPORT | casadi_register_conic_clarabel (Conic::Plugin *plugin) |
| void CASADI_CONIC_CLARABEL_EXPORT | casadi_load_conic_clarabel () |
| void | codegen_local (CodeGenerator &g, const std::string &name, const std::vector< int > &v) |
| int CASADI_CONIC_CLP_EXPORT | casadi_register_conic_clp (Conic::Plugin *plugin) |
| void CASADI_CONIC_CLP_EXPORT | casadi_load_conic_clp () |
| int CASADI_CONIC_CPLEX_EXPORT | casadi_register_conic_cplex (Conic::Plugin *plugin) |
| void CASADI_CONIC_CPLEX_EXPORT | casadi_load_conic_cplex () |
| int | param_by_name (CPXENVptr env, const std::string &name) |
| int CASADI_LINSOL_CSPARSE_EXPORT | casadi_register_linsol_csparse (LinsolInternal::Plugin *plugin) |
| void CASADI_LINSOL_CSPARSE_EXPORT | casadi_load_linsol_csparse () |
| int CASADI_CONIC_DAQP_EXPORT | casadi_register_conic_daqp (Conic::Plugin *plugin) |
| void CASADI_CONIC_DAQP_EXPORT | casadi_load_conic_daqp () |
| int CASADI_CONIC_FATROP_EXPORT | casadi_register_conic_fatrop (Conic::Plugin *plugin) |
| void CASADI_CONIC_FATROP_EXPORT | casadi_load_conic_fatrop () |
| std::vector< casadi_int > | fatrop_blocks_pack (const std::vector< casadi_ocp_block > &blocks) |
| fatrop_int | get_nx (const fatrop_int k, void *user_data) |
| fatrop_int | get_nu (const fatrop_int k, void *user_data) |
| fatrop_int | get_ng (const fatrop_int k, void *user_data) |
| fatrop_int | get_n_stage_params (const fatrop_int k, void *user_data) |
| fatrop_int | get_n_global_params (void *user_data) |
| fatrop_int | get_default_stage_params (double *stage_params, const fatrop_int k, void *user_data) |
| fatrop_int | get_default_global_params (double *global_params, void *user_data) |
| fatrop_int | get_ng_ineq (const fatrop_int k, void *user_data) |
| fatrop_int | get_horizon_length (void *user_data) |
| fatrop_int | eval_BAbt (const double *states_kp1, const double *inputs_k, const double *states_k, const double *stage_params_k, const double *global_params, MAT *res, const fatrop_int k, void *user_data) |
| fatrop_int | eval_Ggt (const double *inputs_k, const double *states_k, const double *stage_params_k, const double *global_params, MAT *res, const fatrop_int k, void *user_data) |
| fatrop_int | eval_Ggt_ineq (const double *inputs_k, const double *states_k, const double *stage_params_k, const double *global_params, MAT *res, const fatrop_int k, void *user_data) |
| fatrop_int | eval_RSQrqt (const double *objective_scale, const double *inputs_k, const double *states_k, const double *lam_dyn_k, const double *lam_eq_k, const double *lam_eq_ineq_k, const double *stage_params_k, const double *global_params, MAT *res, const fatrop_int k, void *user_data) |
| fatrop_int | eval_b (const double *states_kp1, const double *inputs_k, const double *states_k, const double *stage_params_k, const double *global_params, double *res, const fatrop_int k, void *user_data) |
| fatrop_int | eval_g (const double *states_k, const double *inputs_k, const double *stage_params_k, const double *global_params, double *res, const fatrop_int k, void *user_data) |
| fatrop_int | eval_gineq (const double *states_k, const double *inputs_k, const double *stage_params_k, const double *global_params, double *res, const fatrop_int k, void *user_data) |
| fatrop_int | eval_rq (const double *objective_scale, const double *inputs_k, const double *states_k, const double *stage_params_k, const double *global_params, double *res, const fatrop_int k, void *user_data) |
| fatrop_int | eval_L (const double *objective_scale, const double *inputs_k, const double *states_k, const double *stage_params_k, const double *global_params, double *res, const fatrop_int k, void *user_data) |
| fatrop_int | get_bounds (double *lower, double *upper, const fatrop_int k, void *user_data) |
| fatrop_int | get_initial_xk (double *xk, const fatrop_int k, void *user_data) |
| fatrop_int | get_initial_uk (double *uk, const fatrop_int k, void *user_data) |
| void | dummy_signal (void *user_data) |
| fatrop_int | full_eval_lag_hess (double objective_scale, const double *primal_data, const double *lam_data, const double *stageparams_p, const double *globalparams_p, MAT *RSQrqt_p, const FatropOcpCDims *s, void *user_data) |
| fatrop_int | full_eval_constr_jac (const double *primal_data, const double *stageparams_p, const double *globalparams_p, MAT *BAbt_p, MAT *Ggt_p, MAT *Ggt_ineq_p, const FatropOcpCDims *s, void *user_data) |
| fatrop_int | full_eval_contr_viol (const double *primal_data, const double *stageparams_p, const double *globalparams_p, double *cv_p, const FatropOcpCDims *s, void *user_data) |
| fatrop_int | full_eval_obj_grad (double objective_scale, const double *primal_data, const double *stageparams_p, const double *globalparams_p, double *grad_p, const FatropOcpCDims *s, void *user_data) |
| fatrop_int | full_eval_obj (double objective_scale, const double *primal_data, const double *stageparams_p, const double *globalparams_p, double *res, const FatropOcpCDims *s, void *user_data) |
| int CASADI_NLPSOL_FATROP_EXPORT | casadi_register_nlpsol_fatrop (Nlpsol::Plugin *plugin) |
| void CASADI_NLPSOL_FATROP_EXPORT | casadi_load_nlpsol_fatrop () |
| void | report_issue (casadi_int i, const std::string &msg) |
| void | codegen_unpack_block (CodeGenerator &g, const std::string &name, const std::vector< casadi_ocp_block > &blocks) |
| void | unpack_block (const std::vector< casadi_int > &p, std::vector< casadi_ocp_block > &blocks) |
| bool | is_directory (const std::string &path) |
| bool | create_directories (const std::string &path) |
| std::vector< std::string > | iterate_directory_names (const std::string &path) |
| bool | remove (const std::string &path) |
| casadi_int | remove_all (const std::string &path) |
| std::string | filename (const std::string &path) |
| std::string | absolute (const std::string &path) |
| std::string | parent_path (const std::string &path) |
| bool | has_parent_path (const std::string &path) |
| int CASADI_FILESYSTEM_GHC_EXPORT | casadi_register_filesystem_ghc (Filesystem::Plugin *plugin) |
| void CASADI_FILESYSTEM_GHC_EXPORT | casadi_load_filesystem_ghc () |
| char | sense_to_gurobi (const std::string &sense) |
| static int | gurobi_callback_function (GRBmodel *model, void *cbdata, int where, void *usrdata) |
| int CASADI_CONIC_GUROBI_EXPORT | casadi_register_conic_gurobi (Conic::Plugin *plugin) |
| void CASADI_CONIC_GUROBI_EXPORT | casadi_load_conic_gurobi () |
| const char * | return_status_string (casadi_int status) |
| int CASADI_CONIC_HIGHS_EXPORT | casadi_register_conic_highs (Conic::Plugin *plugin) |
| void CASADI_CONIC_HIGHS_EXPORT | casadi_load_conic_highs () |
| int CASADI_CONIC_HPIPM_EXPORT | casadi_register_conic_hpipm (Conic::Plugin *plugin) |
| void CASADI_CONIC_HPIPM_EXPORT | casadi_load_conic_hpipm () |
| std::vector< casadi_int > | hpipm_blocks_pack (const std::vector< casadi_hpipm_block > &blocks) |
| void | codegen_unpack_block (CodeGenerator &g, const std::string &name, const std::vector< casadi_hpipm_block > &blocks) |
| int CASADI_CONIC_HPMPC_EXPORT | casadi_register_conic_hpmpc (Conic::Plugin *plugin) |
| void CASADI_CONIC_HPMPC_EXPORT | casadi_load_conic_hpmpc () |
| int CASADI_LINSOL_MA27_EXPORT | casadi_register_linsol_ma27 (LinsolInternal::Plugin *plugin) |
| void CASADI_LINSOL_MA27_EXPORT | casadi_load_linsol_ma27 () |
| int CASADI_NLPSOL_IPOPT_EXPORT | casadi_register_nlpsol_ipopt (Nlpsol::Plugin *plugin) |
| void CASADI_NLPSOL_IPOPT_EXPORT | casadi_load_nlpsol_ipopt () |
| const char * | return_status_string (Ipopt::ApplicationReturnStatus status) |
| int CASADI_NLPSOL_KNITRO_EXPORT | casadi_register_nlpsol_knitro (Nlpsol::Plugin *plugin) |
| void CASADI_NLPSOL_KNITRO_EXPORT | casadi_load_nlpsol_knitro () |
| int | casadi_KN_puts (const char *const str, void *const userParams) |
| int CASADI_MODELICAPARSER_LACEMODELICA_EXPORT | casadi_register_modelicaparser_lacemodelica (ModelicaParserInternal::Plugin *plugin) |
| void CASADI_MODELICAPARSER_LACEMODELICA_EXPORT | casadi_load_modelicaparser_lacemodelica () |
| int CASADI_LINSOL_LAPACKLU_EXPORT | casadi_register_linsol_lapacklu (LinsolInternal::Plugin *plugin) |
| void CASADI_LINSOL_LAPACKLU_EXPORT | casadi_load_linsol_lapacklu () |
| int CASADI_LINSOL_LAPACKQR_EXPORT | casadi_register_linsol_lapackqr (LinsolInternal::Plugin *plugin) |
| void CASADI_LINSOL_LAPACKQR_EXPORT | casadi_load_linsol_lapackqr () |
| bool | extract_zip_internal (zip_t *za, const std::string &output_dir) |
| bool | extract_zip_from_stringstream (std::stringstream &src, const std::string &output_dir) |
| bool | extract_zip_from_path (const std::string &zip_path, const std::string &output_dir) |
| bool | add_file_to_zip (zip_t *archive, const std::string &file_path, const std::string &archive_name) |
| void | add_directory_recursive (zip_t *archive, const std::string &base_dir, const std::string ¤t_dir, const std::string &rel_prefix) |
| bool | zip_to_stream (const std::string &dir, std::ostream &output) |
| bool | zip_to_path (const std::string &dir_path, const std::string &zip_path) |
| bool | zip_to_path2 (const std::string &dir_path, const std::string &zip_path) |
| bool | zip_entries_to_path (const std::vector< std::pair< std::string, std::string > > &entries, const std::string &zip_path) |
| int CASADI_ARCHIVER_LIBZIP_EXPORT | casadi_register_archiver_libzip (Archiver::Plugin *plugin) |
| void CASADI_ARCHIVER_LIBZIP_EXPORT | casadi_load_archiver_libzip () |
| int CASADI_NLPSOL_MADNLP_EXPORT | casadi_register_nlpsol_madnlp (Nlpsol::Plugin *plugin) |
| void CASADI_NLPSOL_MADNLP_EXPORT | casadi_load_nlpsol_madnlp () |
| int CASADI_CONIC_MOSEK_EXPORT | casadi_register_conic_mosek (Conic::Plugin *plugin) |
| void CASADI_CONIC_MOSEK_EXPORT | casadi_load_conic_mosek () |
| static void | codegen_int_field (CodeGenerator &g, const std::string &prob_field, const std::string &local_name, const std::vector< int > &v) |
| static void | mosek_stream_cb (void *, const char *s) |
| int CASADI_LINSOL_MUMPS_EXPORT | casadi_register_linsol_mumps (LinsolInternal::Plugin *plugin) |
| void CASADI_LINSOL_MUMPS_EXPORT | casadi_load_linsol_mumps () |
| std::string | onnx_input_name (const Function &f, casadi_int i) |
| Function input/output name, or a generated fallback when unnamed. More... | |
| std::string | onnx_output_name (const Function &f, casadi_int i) |
| static void | prefix_graph_names (onnx::GraphProto *g, const std::string &prefix) |
| static std::vector< casadi_int > | constant_ints (const MX &m) |
| int CASADI_GRAPHMODEL_ONNX_EXPORT | casadi_register_graphmodel_onnx (GraphModelInternal::Plugin *plugin) |
| void CASADI_GRAPHMODEL_ONNX_EXPORT | casadi_load_graphmodel_onnx () |
| static Node | io_node (const onnx::ValueInfoProto &vi, const std::string &io) |
| const OpMapping * | get_op_mapping (casadi_int op) |
| Lookup operation mapping by CasADi opcode (for export) More... | |
| const OpMapping * | get_op_mapping_by_name (const std::string &onnx_name) |
| Lookup operation mapping by ONNX name (for import) More... | |
| casadi_int | get_int_attribute (const onnx::NodeProto &node, const std::string &name, casadi_int default_value) |
| Read an integer node attribute by name, or default_value if absent. More... | |
| double | get_float_attribute (const onnx::NodeProto &node, const std::string &name, double default_value) |
| Read a float node attribute by name, or default_value if absent. More... | |
| std::string | get_string_attribute (const onnx::NodeProto &node, const std::string &name) |
| Read a string node attribute by name, or "" if absent. More... | |
| const onnx::GraphProto * | get_graph_attribute (const onnx::NodeProto &node, const std::string &name) |
| Read a subgraph (GraphProto) node attribute by name, or nullptr if absent. More... | |
| void | add_int_attribute (onnx::NodeProto *node, const std::string &name, casadi_int value) |
| Add an integer attribute (e.g. axis) to a node. More... | |
| void | add_ints_attribute (onnx::NodeProto *node, const std::string &name, const std::vector< casadi_int > &values) |
| Add an integer-list attribute (e.g. scan_input_axes) to a node. More... | |
| void | add_int_constant (onnx::GraphProto *graph, const std::string &name, const std::vector< casadi_int > &data, std::vector< casadi_int > dims={}) |
| Add a Constant node holding an INT64 tensor to a graph (default shape: 1-D) More... | |
| onnx::NodeProto * | create_binary_node (AddNodeFn add_node, const std::string &op_type, const std::string &input1, const std::string &input2, const std::string &output) |
| Create binary operation ONNX node (callback-based) More... | |
| onnx::NodeProto * | create_unary_node (AddNodeFn add_node, const std::string &op_type, const std::string &input, const std::string &output) |
| Create unary operation ONNX node (callback-based) More... | |
| onnx::NodeProto * | create_binary_node (onnx::GraphProto *graph, const std::string &op_type, const std::string &input1, const std::string &input2, const std::string &output) |
| Create binary operation ONNX node (GraphProto convenience wrapper) More... | |
| onnx::NodeProto * | create_unary_node (onnx::GraphProto *graph, const std::string &op_type, const std::string &input, const std::string &output) |
| Create unary operation ONNX node (GraphProto convenience wrapper) More... | |
| onnx::TensorProto * | create_constant_tensor (AddNodeFn add_node, const std::string &output_name, onnx::TensorProto::DataType data_type) |
| void | add_int_constant (AddNodeFn add_node, const std::string &name, const std::vector< casadi_int > &data, std::vector< casadi_int > dims={}) |
| onnx::NodeProto * | create_gather_node (AddNodeFn add_node, const std::string &data, const std::string &indices, const std::string &output, casadi_int axis=0) |
| onnx::NodeProto * | create_slice_node (AddNodeFn add_node, const std::string &uniq, const std::string &data, const std::vector< casadi_int > &starts, const std::vector< casadi_int > &ends, const std::vector< casadi_int > &axes, const std::vector< casadi_int > &steps, const std::string &output) |
| void | emit_colmajor_reshape (AddNodeFn add_node, const std::string &data, const std::vector< casadi_int > &dims, const std::string &output, const std::string &uniq) |
| onnx::NodeProto * | create_cast_node (AddNodeFn add_node, const std::string &input, const std::string &output, onnx::TensorProto::DataType to_type) |
| onnx::NodeProto * | create_gemm_node (AddNodeFn add_node, const std::string &A, const std::string &B, const std::string &C, const std::string &output, bool transA=false, bool transB=false) |
| onnx::NodeProto * | create_where_node (AddNodeFn add_node, const std::string &cond, const std::string &if_true, const std::string &if_false, const std::string &output) |
| template<typename T > | |
| static bool | load_raw (DM &dm, casadi_int n, const onnx::TensorProto &tensor, const char *type_name) |
| int CASADI_CONIC_OOQP_EXPORT | casadi_register_conic_ooqp (Conic::Plugin *plugin) |
| void CASADI_CONIC_OOQP_EXPORT | casadi_load_conic_ooqp () |
| int CASADI_ONNX_ORT_EXPORT | casadi_register_onnx_ort (OnnxFunction::Plugin *plugin) |
| void CASADI_ONNX_ORT_EXPORT | casadi_load_onnx_ort () |
| int CASADI_CONIC_OSQP_EXPORT | casadi_register_conic_osqp (Conic::Plugin *plugin) |
| void CASADI_CONIC_OSQP_EXPORT | casadi_load_conic_osqp () |
| int CASADI_CONIC_PIQP_EXPORT | casadi_register_conic_piqp (Conic::Plugin *plugin) |
| void CASADI_CONIC_PIQP_EXPORT | casadi_load_conic_piqp () |
| piqp::KKTSolver | kkt_solver_from_string (const std::string &s) |
| int CASADI_CONIC_PROXQP_EXPORT | casadi_register_conic_proxqp (Conic::Plugin *plugin) |
| void CASADI_CONIC_PROXQP_EXPORT | casadi_load_conic_proxqp () |
| int CASADI_CONIC_QPOASES_EXPORT | casadi_register_conic_qpoases (Conic::Plugin *plugin) |
| void CASADI_CONIC_QPOASES_EXPORT | casadi_load_conic_qpoases () |
| static SLEQP_RETCODE | casadi_func_set (SleqpFunc *func, SleqpVec *value, SLEQP_VALUE_REASON reason, bool *reject, void *func_data) |
| static SLEQP_RETCODE | casadi_func_nonzeros (SleqpFunc *func, int *obj_grad_nnz, int *cons_val_nnz, int *cons_jac_nnz, int *hess_prod_nnz, void *func_data) |
| static SLEQP_RETCODE | casadi_func_obj_val (SleqpFunc *func, double *obj_val, void *func_data) |
| static SLEQP_RETCODE | casadi_func_obj_grad (SleqpFunc *func, SleqpVec *obj_grad, void *func_data) |
| static SLEQP_RETCODE | casadi_func_cons_val (SleqpFunc *func, SleqpVec *cons_val, void *func_data) |
| static SLEQP_RETCODE | casadi_func_cons_jac (SleqpFunc *func, SleqpMat *cons_jac, void *func_data) |
| static SLEQP_RETCODE | casadi_func_hess_prod (SleqpFunc *func, const SleqpVec *direction, const SleqpVec *cons_duals, SleqpVec *product, void *func_data) |
| static SLEQP_RETCODE | casadi_func_free (void *func_data) |
| void | casadi_sleqp_func_create (SleqpFunc **star, int num_vars, int num_cons, SLEQPMemory *m) |
| std::string | log_level_name (SLEQP_LOG_LEVEL level) |
| static void | casadi_log_output (SLEQP_LOG_LEVEL level, time_t time, const char *message) |
| int CASADI_NLPSOL_SLEQP_EXPORT | casadi_register_nlpsol_sleqp (Nlpsol::Plugin *plugin) |
| void CASADI_NLPSOL_SLEQP_EXPORT | casadi_load_nlpsol_sleqp () |
| static std::string | status_string (SLEQP_STATUS status) |
| UnifiedReturnStatus | map_status (SLEQP_STATUS status) |
| static SLEQP_RETCODE | accepted_iterate (SleqpSolver *solver, SleqpIterate *iterate, void *data) |
| int CASADI_DPLE_SLICOT_EXPORT | casadi_register_dple_slicot (Dple::Plugin *plugin) |
| void CASADI_DPLE_SLICOT_EXPORT | casadi_load_dple_slicot () |
| void | slicot_periodic_schur (casadi_int n, casadi_int K, const double *a, double *t, double *z, double *dwork, double *eig_real, double *eig_imag, double num_zero) |
| int CASADI_EXPM_SLICOT_EXPORT | casadi_register_expm_slicot (Expm::Plugin *plugin) |
| void CASADI_EXPM_SLICOT_EXPORT | casadi_load_expm_slicot () |
| void | dense_kron_stride (casadi_int n, casadi_int m, const double *A, const double *B, double *C, casadi_int strideA, casadi_int strideB, casadi_int strideC) |
| void | dense_mul_nt_stride (casadi_int n, casadi_int m, casadi_int l, const double *A, const double *B, double *C, casadi_int strideA, casadi_int strideB, casadi_int strideC) |
| void | dense_mul_nt (casadi_int n, casadi_int m, casadi_int l, const double *A, const double *B, double *C) |
| void | dense_mul_nn_stride (casadi_int n, casadi_int m, casadi_int l, const double *A, const double *B, double *C, casadi_int strideA, casadi_int strideB, casadi_int strideC) |
| void | dense_copy_stride (casadi_int n, casadi_int m, const double *A, double *B, casadi_int strideA, casadi_int strideB) |
| void | dense_copy_t_stride (casadi_int n, casadi_int m, const double *A, double *B, casadi_int strideA, casadi_int strideB) |
| void | dense_mul_nn (casadi_int n, casadi_int m, casadi_int l, const double *A, const double *B, double *C) |
| void | dense_mul_nn2 (casadi_int n, casadi_int m, casadi_int l, const double *A, const double *B, double *C) |
| void | dense_mul_tn (casadi_int n, casadi_int m, casadi_int l, const double *A, const double *B, double *C) |
| int | slicot_mb03vd (int n, int p, int ilo, int ihi, double *a, int lda1, int lda2, double *tau, int ldtau, double *dwork) |
| int | slicot_mb03vy (int n, int p, int ilo, int ihi, double *a, int lda1, int lda2, const double *tau, int ldtau, double *dwork, int ldwork) |
| int | slicot_mb03wd (char job, char compz, int n, int p, int ilo, int ihi, int iloz, int ihiz, double *h, int ldh1, int ldh2, double *z, int ldz1, int ldz2, double *wr, double *wi, double *dwork, int ldwork) |
| int | slicot_mb05nd (int n, double delta, const double *a, int lda, double *ex, int ldex, double *exint, int ldexin, double tol, int *iwork, double *dwork, int ldwork) |
| int CASADI_NLPSOL_SNOPT_EXPORT | casadi_register_nlpsol_snopt (Nlpsol::Plugin *plugin) |
| void CASADI_NLPSOL_SNOPT_EXPORT | casadi_load_nlpsol_snopt () |
| int CASADI_CONIC_SQIC_EXPORT | casadi_register_conic_sqic (Conic::Plugin *plugin) |
| void CASADI_CONIC_SQIC_EXPORT | casadi_load_conic_sqic () |
| int CASADI_INTEGRATOR_CVODES_EXPORT | casadi_register_integrator_cvodes (Integrator::Plugin *plugin) |
| void CASADI_INTEGRATOR_CVODES_EXPORT | casadi_load_integrator_cvodes () |
| int CASADI_INTEGRATOR_IDAS_EXPORT | casadi_register_integrator_idas (Integrator::Plugin *plugin) |
| void CASADI_INTEGRATOR_IDAS_EXPORT | casadi_load_integrator_idas () |
| template<typename T1 > | |
| void | casadi_copy_block (const T1 *x, const casadi_int *sp_x, T1 *y, const casadi_int *sp_y, casadi_int r_begin, casadi_int c_begin, T1 *w) |
| int CASADI_ROOTFINDER_KINSOL_EXPORT | casadi_register_rootfinder_kinsol (Rootfinder::Plugin *plugin) |
| void CASADI_ROOTFINDER_KINSOL_EXPORT | casadi_load_rootfinder_kinsol () |
| bool | is_regular (N_Vector v) |
| int CASADI_CONIC_SUPERSCS_EXPORT | casadi_register_conic_superscs (Conic::Plugin *plugin) |
| void CASADI_CONIC_SUPERSCS_EXPORT | casadi_load_conic_superscs () |
| int CASADI_XMLFILE_TINYXML_EXPORT | casadi_register_xmlfile_tinyxml (XmlFileInternal::Plugin *plugin) |
| void CASADI_XMLFILE_TINYXML_EXPORT | casadi_load_xmlfile_tinyxml () |
| int CASADI_NLPSOL_UNO_EXPORT | casadi_register_nlpsol_uno (Nlpsol::Plugin *plugin) |
| void CASADI_NLPSOL_UNO_EXPORT | casadi_load_nlpsol_uno () |
| static void | set_uno_option (void *solver, const std::string &name, const GenericType &value) |
| static void | insert_casadi_options (void *solver, Dict opts) |
| static uno_int | casadi_uno_term_cb_cpp (uno_int, uno_int, const double *primals, const double *lower_mult, const double *upper_mult, const double *constraint_mult, double, double, double, double, void *user_data) |
| static void | codegen_int_array (CodeGenerator &g, const std::string &name, const std::vector< uno_int > &v) |
| int CASADI_NLPSOL_WORHP_EXPORT | casadi_register_nlpsol_worhp (Nlpsol::Plugin *plugin) |
| void CASADI_NLPSOL_WORHP_EXPORT | casadi_load_nlpsol_worhp () |
| void | worhp_disp (int mode, const char message[]) |
| static void | xpress_global_init () |
| int CASADI_CONIC_XPRESS_EXPORT | casadi_register_conic_xpress (Conic::Plugin *plugin) |
| void CASADI_CONIC_XPRESS_EXPORT | casadi_load_conic_xpress () |
| static void | codegen_int_field (CodeGenerator &g, const std::string &prob_field, const std::string &local_name, const std::vector< int > &v) |
| int CASADI_INTERPOLANT_BSPLINE_EXPORT | casadi_register_interpolant_bspline (Interpolant::Plugin *plugin) |
| void CASADI_INTERPOLANT_BSPLINE_EXPORT | casadi_load_interpolant_bspline () |
| int CASADI_INTEGRATOR_COLLOCATION_EXPORT | casadi_register_integrator_collocation (Integrator::Plugin *plugin) |
| void CASADI_INTEGRATOR_COLLOCATION_EXPORT | casadi_load_integrator_collocation () |
| int CASADI_ROOTFINDER_FAST_NEWTON_EXPORT | casadi_register_rootfinder_fast_newton (Rootfinder::Plugin *plugin) |
| void CASADI_ROOTFINDER_FAST_NEWTON_EXPORT | casadi_load_rootfinder_fast_newton () |
| std::string | return_code (casadi_int status) |
| int CASADI_NLPSOL_FEASIBLESQPMETHOD_EXPORT | casadi_register_nlpsol_feasiblesqpmethod (Nlpsol::Plugin *plugin) |
| void CASADI_NLPSOL_FEASIBLESQPMETHOD_EXPORT | casadi_load_nlpsol_feasiblesqpmethod () |
| int CASADI_ROOTFINDER_NLPSOL_EXPORT | casadi_register_rootfinder_nlpsol (Rootfinder::Plugin *plugin) |
| void CASADI_ROOTFINDER_NLPSOL_EXPORT | casadi_load_rootfinder_nlpsol () |
| int CASADI_CONIC_IPQP_EXPORT | casadi_register_conic_ipqp (Conic::Plugin *plugin) |
| void CASADI_CONIC_IPQP_EXPORT | casadi_load_conic_ipqp () |
| void | print_vec (const std::string &str, const double *v, casadi_int n) |
| int CASADI_INTERPOLANT_LINEAR_EXPORT | casadi_register_interpolant_linear (Interpolant::Plugin *plugin) |
| void CASADI_INTERPOLANT_LINEAR_EXPORT | casadi_load_interpolant_linear () |
| int CASADI_LINSOL_LDL_EXPORT | casadi_register_linsol_ldl (LinsolInternal::Plugin *plugin) |
| void CASADI_LINSOL_LDL_EXPORT | casadi_load_linsol_ldl () |
| int CASADI_LINSOL_QR_EXPORT | casadi_register_linsol_qr (LinsolInternal::Plugin *plugin) |
| void CASADI_LINSOL_QR_EXPORT | casadi_load_linsol_qr () |
| static double | permutation_sign (const std::vector< casadi_int > &p) |
| int CASADI_LINSOL_TRIDIAG_EXPORT | casadi_register_linsol_tridiag (LinsolInternal::Plugin *plugin) |
| void CASADI_LINSOL_TRIDIAG_EXPORT | casadi_load_linsol_tridiag () |
| int CASADI_LINSOL_LSQR_EXPORT | casadi_register_linsol_lsqr (LinsolInternal::Plugin *plugin) |
| void CASADI_LINSOL_LSQR_EXPORT | casadi_load_linsol_lsqr () |
| int CASADI_ROOTFINDER_NEWTON_EXPORT | casadi_register_rootfinder_newton (Rootfinder::Plugin *plugin) |
| void CASADI_ROOTFINDER_NEWTON_EXPORT | casadi_load_rootfinder_newton () |
| int CASADI_CONIC_NLPSOL_EXPORT | casadi_register_conic_nlpsol (Conic::Plugin *plugin) |
| void CASADI_CONIC_NLPSOL_EXPORT | casadi_load_conic_nlpsol () |
| int CASADI_CONIC_QRQP_EXPORT | casadi_register_conic_qrqp (Conic::Plugin *plugin) |
| void CASADI_CONIC_QRQP_EXPORT | casadi_load_conic_qrqp () |
| int CASADI_NLPSOL_QRSQP_EXPORT | casadi_register_nlpsol_qrsqp (Nlpsol::Plugin *plugin) |
| void CASADI_NLPSOL_QRSQP_EXPORT | casadi_load_nlpsol_qrsqp () |
| int CASADI_INTEGRATOR_RK_EXPORT | casadi_register_integrator_rk (Integrator::Plugin *plugin) |
| void CASADI_INTEGRATOR_RK_EXPORT | casadi_load_integrator_rk () |
| int CASADI_NLPSOL_SCPGEN_EXPORT | casadi_register_nlpsol_scpgen (Nlpsol::Plugin *plugin) |
| void CASADI_NLPSOL_SCPGEN_EXPORT | casadi_load_nlpsol_scpgen () |
| int CASADI_IMPORTER_SHELL_EXPORT | casadi_register_importer_shell (ImporterInternal::Plugin *plugin) |
| void CASADI_IMPORTER_SHELL_EXPORT | casadi_load_importer_shell () |
| int CASADI_NLPSOL_SQPMETHOD_EXPORT | casadi_register_nlpsol_sqpmethod (Nlpsol::Plugin *plugin) |
| void CASADI_NLPSOL_SQPMETHOD_EXPORT | casadi_load_nlpsol_sqpmethod () |
| int CASADI_LINSOL_SYMBOLICQR_EXPORT | casadi_register_linsol_symbolicqr (LinsolInternal::Plugin *plugin) |
| static double | permutation_sign (const std::vector< casadi_int > &p) |
| static SX | qr_block_det (const SX &B, bool amd) |
| void CASADI_LINSOL_SYMBOLICQR_EXPORT | casadi_load_linsol_symbolicqr () |
| double | sign (double x) |
| Sign function, note that sign(nan) == nan. More... | |
| double | simplify (double x) |
| double | constpow (double x, double y) |
| double | printme (double x, double y) |
| bool | is_equal (double x, double y, casadi_int depth=0) |
| casadi_int | casadi_max (casadi_int x, casadi_int y) |
| casadi_int | casadi_min (casadi_int x, casadi_int y) |
| double | if_else_zero (double x, double y) |
| Conditional assignment. More... | |
| double | if_else (double x, double y, double z) |
| double | erfinv (double x) throw () |
| Type | from_fmi2 (TypeFmi2 v) |
| TypeFmi2 | to_fmi2 (Type v) |
| std::string | to_string (TypeFmi2 v) |
| std::string | to_string (Type v) |
| std::string | to_string (Causality v) |
| std::string | to_string (Variability v) |
| std::string | to_string (Initial v) |
| CASADI_EXPORT std::string | to_string (Attribute v) |
| CASADI_EXPORT std::string | to_string (DependenciesKind v) |
| std::string | to_string (Category v) |
| std::string | description (Category v) |
| std::vector< double > | collocation_points (casadi_int order, const std::string &scheme="radau") |
| Obtain collocation points of specific order and scheme. More... | |
| std::vector< long double > | collocation_pointsL (casadi_int order, const std::string &scheme) |
| Obtain collocation points of specific order and scheme. More... | |
| MXDict | dae_reduce_index (const MXDict &dae, Dict &stats, const Dict &opts={}) |
| Reduce index. More... | |
| SXDict | dae_reduce_index (const SXDict &dae, Dict &stats, const Dict &opts) |
| Reduce index. More... | |
| MXDict | dae_map_semi_expl (const MXDict &dae, const MXDict &dae_red, Function &state_to_orig, Function &phi) |
| Turn a reduced DAE into a semi explicit form suitable for CasADi integrator. More... | |
| SXDict | dae_map_semi_expl (const SXDict &dae, const SXDict &dae_red, Function &state_to_orig, Function &phi) |
| Turn a reduced DAE into a semi explicit form suitable for CasADi integrator. More... | |
| Function | dae_init_gen (const MXDict &dae, const MXDict &dae_red, const std::string &init_solver, const DMDict &init_strength=DMDict(), const Dict &init_solver_options=Dict()) |
| Obtain a generator Function for producing consistent initial guesses of a reduced DAE. More... | |
| Function | dae_init_gen (const SXDict &dae, const SXDict &dae_red, const std::string &init_solver, const DMDict &init_strength, const Dict &init_solver_options) |
| Obtain a generator Function for producing consistent initial guesses of a reduced DAE. More... | |
| std::string | to_string (DynIn v) |
| std::string | to_string (DynOut v) |
| std::string | to_string (EventIn v) |
| std::string | to_string (EventOut v) |
| template<typename Scalar > | |
| std::string | matrixName () |
| Get typename. More... | |
| template<> | |
| std::string | matrixName< double > () |
| Get typename. More... | |
| template<> | |
| std::string | matrixName< casadi_int > () |
| Get typename. More... | |
| double | nlpsol_default_in (casadi_int ind) |
| Default input for an NLP solver. More... | |
| std::vector< double > | nlpsol_default_in () |
| Default input for an NLP solver. More... | |
Variables | |
| static const char * | REFERENCE_DOC |
| const double | pi = 3.14159265358979323846 |
| Define pi. More... | |
| const double | inf = std::numeric_limits<double>::infinity() |
| infinity More... | |
| const double | nan = std::numeric_limits<double>::quiet_NaN() |
| Not a number. More... | |
| const double | eps = std::numeric_limits<double>::epsilon() |
| Machine epsilon. More... | |
| const int | bvec_size = CHAR_BIT*sizeof(bvec_t) |
| constexpr casadi_int | LOOKUP_LINEAR = 0 |
| constexpr casadi_int | LOOKUP_EXACT = 1 |
| constexpr casadi_int | LOOKUP_BINARY = 2 |
| static const std::set< std::string > | empty_mutex_set_ |
| template class CASADI_EXPORT | casadi_limits< double > |
| template class CASADI_EXPORT | Matrix< double > |
| template class CASADI_EXPORT | Matrix< casadi_int > |
| const long double | legendre_points1 [] = { 0.50000000000000000000 } |
| const long double | legendre_points2 [] |
| const long double | legendre_points3 [] |
| const long double | legendre_points4 [] |
| const long double | legendre_points5 [] |
| const long double | legendre_points6 [] |
| const long double | legendre_points7 [] |
| const long double | legendre_points8 [] |
| const long double | legendre_points9 [] |
| const long double * | legendre_points [] |
| const long double | radau_points1 [] |
| const long double | radau_points2 [] |
| const long double | radau_points3 [] |
| const long double | radau_points4 [] |
| const long double | radau_points5 [] |
| const long double | radau_points6 [] |
| const long double | radau_points7 [] |
| const long double | radau_points8 [] |
| const long double | radau_points9 [] |
| const long double * | radau_points [] |
| const std::vector< std::string > | NL_INPUTS = {"x", "p"} |
| Shortname for onput arguments of an NLP function. More... | |
| const std::vector< std::string > | NL_OUTPUTS = {"f", "g"} |
| Shortname for output arguments of an NLP function. More... | |
| template class CASADI_EXPORT | GenericShared< SharedSXElem, OutputSX > |
| template class CASADI_EXPORT | GenericWeakRef< SharedSXElem, OutputSX > |
| const std::vector< std::string > | RFP_INPUTS = {"x", "p"} |
| Shortnames for DAE symbolic representation inputs. More... | |
| const std::vector< std::string > | RFP_OUTPUTS = {"g"} |
| Shortnames for DAE symbolic representation outputs. More... | |
| static casadi_int | serialization_protocol_version = 3 |
| static casadi_int | serialization_check = 123456789012345 |
| template class CASADI_EXPORT | GenericShared< SharedObject, SharedObjectInternal > |
| template class CASADI_EXPORT | GenericWeakRef< SharedObject, SharedObjectInternal > |
| template class CASADI_EXPORT | Matrix< SXElem > |
| static const char * | CLASSIC_DECL |
| static const char * | CLASSIC_DAXPY_DECL |
| static const char * | CLASSIC_DDOT_DECL |
| static const char * | CLASSIC_DSCAL_DECL |
| static const char * | CLASSIC_DNRM2_DECL |
| static const char * | CLASSIC_DASUM_DECL |
| static const char * | BLASFEO_DECL |
| static const char * | BLASFEO_DAXPY_DECL |
| static const char * | BLASFEO_DDOT_DECL |
| static const OpMapping | op_map [] |
| static std::once_flag | s_xpress_init_flag |
| static int | s_xpress_init_rc = 0 |
Scalar expression (which also works as a smart pointer class to this class)
C/C++.
Convenience tools for C++ Standard Library vectors.
Extra doc: https://github.com/casadi/casadi/wiki/L_1aj
Extra doc: https://github.com/casadi/casadi/wiki/L_1l5
Extra doc: https://github.com/casadi/casadi/wiki/L_10g
Extra doc: https://github.com/casadi/casadi/wiki/L_9s
@requires_conic("hpipm") @requires_conic("qpoases") def test_hpipm_timevarying(self): def mat(a): def fl(a): return float(a) if len(a)>0 else 0 return sparsify(DM([list(map(fl,i.split("\t"))) for i in a.split("\n") if len(i)>0])) def vec(a): return DM(list(map(float,a.split("\n")))) N = 2 A = """ 1 0.2 1 -1 0 0 0 0 0 0 0 0 -0.1 0.4 0 0 -1 0 0 0 0 0 0 0 0.3 0.2 0 0 0 -1 0 0 0 0 0 0 2 0 0.3 0 0 0 0 0 0 0 0 0 1 1 0.4 0 0 0 0 0 0 0 0 0 0 0 1 4 2 1 0.3 -1 0 0 0 0 0 3 1 0 1 0.2 0 -1 0 0 0 0 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 2 4 0 -1 0 0 0 0 0 0 0 2 3 1 0 0 0 0 0 0 0 0 0 0 0 3""" A = mat(A) nx = [2,3,2,1] nu = [1, 2,1] ng = [2, 1, 1, 1] N = 3 H = """7 0 0.2 0 0 0 0 0 0 0 0 0 7 0.3 0 0 0 0 0 0 0 0 0 0.2 0.3 1 0 0 0 0 0 0 0 0 0 0 0 3 0 0 0 1 0 0 0 0 0 0 0 2 0.1 0 0.7 0 0 0 0 0 0 0 0.1 1 0 1 0 0 0 0 0 0 0 0 0 1 0.1 0 0 0 0 0 0 1 0.7 1 0.1 2 0 0 0 0 0 0 0 0 0 0 0 6 0 1 0 0 0 0 0 0 0 0 0 6 0 0 0 0 0 0 0 0 0 1 0 4 0 0 0 0 0 0 0 0 0 0 0 9 """ H = mat(H) options = {"hpipm":{"iter_max":100,"res_g_max":1e-10,"res_b_max":1e-10,"res_d_max":1e-10,"res_m_max":1e-10}} #solver = conic('solver', 'hpipm', {"a": A.sparsity(), "h": H.sparsity()},{"N":N,"nx":nx,"nu":nu,"ng":ng,"tol":1e-12,"mu0":2,"max_iter":20}) solver = conic('solver', 'hpipm', {"a": A.sparsity(), "h": H.sparsity()},options) solver_ref = conic('solver', 'qpoases', {"a": A.sparsity(), "h": H.sparsity()})
g = vec("""1 1 0.2 0.4 1 0.5 0.3 1 0.6 1 1 0.7""") lbg = vec("""0 0 0 -2 -2 0 0 -2 0 -2 -2""")
ubg = vec("""0 0 0 2 2 0 0 2 0 2 2""")
lbx = vec("""0.5 0.2 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1""") ubx = vec("""0.5 0.2 1 1 1 1 1 1 1 1 1 1""")
| using casadi::AddNodeFn = typedef std::function<onnx::NodeProto*()> |
Definition at line 48 of file onnx_model.hpp.
| typedef GenericTypeInternal< OT_BOOL, bool > casadi::BoolType |
Definition at line 40 of file generic_type.cpp.
| typedef GenericTypeInternal<OT_BOOLVECTOR, std::vector<bool> > casadi::BoolVectorType |
Definition at line 45 of file generic_type.cpp.
| typedef unsigned long long casadi::bvec_t |
Definition at line 126 of file casadi_common.hpp.
| typedef int(* casadi::casadi_checkout_t) (void) |
Extra doc: https://github.com/casadi/casadi/wiki/L_7j
Definition at line 146 of file casadi_common.hpp.
| typedef void(* casadi::casadi_release_t) (int) |
Extra doc: https://github.com/casadi/casadi/wiki/L_7j
Definition at line 147 of file casadi_common.hpp.
| typedef int(* casadi::config_t) (int, const char **) |
Extra doc: https://github.com/casadi/casadi/wiki/L_7j
Definition at line 139 of file casadi_common.hpp.
| typedef double(* casadi::default_t) (casadi_int i) |
Extra doc: https://github.com/casadi/casadi/wiki/L_7j
Definition at line 142 of file casadi_common.hpp.
| typedef ProtoFunction*(* casadi::Deserialize) (DeserializingStream &) |
Definition at line 45 of file plugin_interface.hpp.
| typedef std::map< std::string, GenericType > casadi::Dict |
Definition at line 258 of file generic_type.hpp.
| typedef GenericTypeInternal< OT_DICT, Dict > casadi::DictType |
Definition at line 53 of file generic_type.cpp.
| typedef GenericTypeInternal< OT_DICTVECTOR, std::vector< Dict > > casadi::DictVectorType |
Definition at line 54 of file generic_type.cpp.
| typedef int(* casadi::diff_t) (casadi_int i) |
Extra doc: https://github.com/casadi/casadi/wiki/L_7j
Definition at line 145 of file casadi_common.hpp.
| typedef Matrix<double> casadi::DM |
Definition at line 33 of file dm_fwd.hpp.
| typedef std::map<std::string, DM> casadi::DMDict |
Definition at line 36 of file dm_fwd.hpp.
| typedef std::vector<DM> casadi::DMVector |
Definition at line 34 of file dm_fwd.hpp.
| typedef std::vector<DMVector> casadi::DMVectorVector |
Definition at line 35 of file dm_fwd.hpp.
| typedef GenericTypeInternal< OT_DOUBLE, double > casadi::DoubleType |
Definition at line 38 of file generic_type.cpp.
| typedef GenericTypeInternal< OT_DOUBLEVECTOR, std::vector< double > > casadi::DoubleVectorType |
Definition at line 41 of file generic_type.cpp.
| typedef GenericTypeInternal< OT_DOUBLEVECTORVECTOR, std::vector< std::vector< double > > > casadi::DoubleVectorVectorType |
Definition at line 43 of file generic_type.cpp.
| typedef int(* casadi::eval_t) (const double **arg, double **res, casadi_int *iw, double *w, int) |
Extra doc: https://github.com/casadi/casadi/wiki/L_7j
Definition at line 150 of file casadi_common.hpp.
| typedef void(* casadi::external_print_callback_t) (const char *s) |
| typedef const char*(* casadi::external_transform_t) (char api_version, const char *casadi_version, const char *in, external_print_callback_t cb_stdout, external_print_callback_t cb_stderr) |
| typedef GenericTypeInternal< OT_FUNCTION, Function > casadi::FunctionType |
Definition at line 51 of file generic_type.cpp.
| typedef GenericTypeInternal< OT_FUNCTIONVECTOR, std::vector< Function > > casadi::FunctionVectorType |
Definition at line 52 of file generic_type.cpp.
| typedef casadi_int(* casadi::getint_t) (void) |
Extra doc: https://github.com/casadi/casadi/wiki/L_7j
Definition at line 141 of file casadi_common.hpp.
| typedef void* casadi::handle_t |
Definition at line 109 of file casadi_os.hpp.
| typedef Matrix<casadi_int> casadi::IM |
Definition at line 31 of file im_fwd.hpp.
| typedef GenericTypeInternal< OT_INT, casadi_int > casadi::IntType |
Definition at line 39 of file generic_type.cpp.
| typedef GenericTypeInternal< OT_INTVECTOR, std::vector< casadi_int > > casadi::IntVectorType |
Definition at line 44 of file generic_type.cpp.
| typedef GenericTypeInternal< OT_INTVECTORVECTOR, std::vector< std::vector< casadi_int > > > casadi::IntVectorVectorType |
Definition at line 47 of file generic_type.cpp.
| typedef std::map<std::string, MX> casadi::MXDict |
| typedef std::initializer_list<MX> casadi::MXIList |
| typedef std::vector<MX> casadi::MXVector |
| typedef std::vector<MXVector> casadi::MXVectorVector |
| typedef const char*(* casadi::name_t) (casadi_int i) |
Extra doc: https://github.com/casadi/casadi/wiki/L_7j
Definition at line 143 of file casadi_common.hpp.
| typedef DM casadi::native_DM |
Definition at line 33 of file optistack.hpp.
| typedef void(* casadi::signal_t) (void) |
Extra doc: https://github.com/casadi/casadi/wiki/L_7j
Definition at line 140 of file casadi_common.hpp.
| typedef const casadi_int*(* casadi::sparsity_t) (casadi_int i) |
Extra doc: https://github.com/casadi/casadi/wiki/L_7j
Definition at line 144 of file casadi_common.hpp.
| typedef std::map<std::string, Sparsity> casadi::SpDict |
Readability typedefs
Definition at line 1524 of file sparsity.hpp.
| typedef GenericTypeInternal< OT_STRING, std::string > casadi::StringType |
Definition at line 37 of file generic_type.cpp.
| typedef std::vector<std::string> casadi::StringVector |
Readability typedefs
Definition at line 1027 of file casadi_misc.hpp.
| typedef GenericTypeInternal< OT_STRINGVECTOR, std::vector< std::string > > casadi::StringVectorType |
Definition at line 48 of file generic_type.cpp.
| typedef GenericTypeInternal<OT_STRINGVECTORVECTOR, std::vector<std::vector<std::string> > > casadi::StringVectorVectorType |
Definition at line 50 of file generic_type.cpp.
| typedef Matrix<SXElem> casadi::SX |
| typedef std::map<std::string, SX> casadi::SXDict |
Readability typedefs
Definition at line 40 of file sx_fwd.hpp.
| typedef std::initializer_list<SX> casadi::SXIList |
Readability typedefs
Definition at line 38 of file sx_fwd.hpp.
| typedef SX* casadi::SXPtr |
Definition at line 45 of file symbolic_qr.hpp.
| typedef std::vector<SXPtr> casadi::SXPtrV |
Definition at line 46 of file symbolic_qr.hpp.
| typedef std::vector<SX> casadi::SXVector |
Readability typedefs
Definition at line 37 of file sx_fwd.hpp.
| typedef std::vector<SXVector> casadi::SXVectorVector |
Readability typedefs
Definition at line 39 of file sx_fwd.hpp.
| typedef GenericTypeInternal< OT_VECTOR, std::vector< GenericType > > casadi::VectorType |
Definition at line 57 of file generic_type.cpp.
| typedef GenericTypeInternal< OT_VECTORVECTOR, std::vector< std::vector< GenericType > > > casadi::VectorVectorType |
Definition at line 56 of file generic_type.cpp.
| typedef GenericTypeInternal< OT_VOIDPTR, void * > casadi::VoidPointerType |
Definition at line 58 of file generic_type.cpp.
Definition at line 60 of file output_sx.hpp.
| typedef int(* casadi::work_t) (casadi_int *sz_arg, casadi_int *sz_res, casadi_int *sz_iw, casadi_int *sz_w) |
Extra doc: https://github.com/casadi/casadi/wiki/L_7j
Definition at line 148 of file casadi_common.hpp.
| anonymous enum |
|
strong |
| Enumerator | |
|---|---|
| MIN | |
| MAX | |
| NOMINAL | |
| START | |
| VALUE | |
| STRINGVALUE | |
| NUMEL | |
Definition at line 70 of file dae_builder_internal.hpp.
| enum casadi::BStepIn |
| Enumerator | |
|---|---|
| BSTEP_T | |
| BSTEP_H | |
| BSTEP_X0 | |
| BSTEP_V0 | |
| BSTEP_P | |
| BSTEP_U | |
| BSTEP_OUT_XF | |
| BSTEP_OUT_VF | |
| BSTEP_OUT_QF | |
| BSTEP_ADJ_XF | |
| BSTEP_ADJ_VF | |
| BSTEP_ADJ_QF | |
| BSTEP_NUM_IN | |
Definition at line 528 of file integrator_impl.hpp.
| enum casadi::BStepOut |
| Enumerator | |
|---|---|
| BSTEP_ADJ_T | |
| BSTEP_ADJ_H | |
| BSTEP_ADJ_X0 | |
| BSTEP_ADJ_V0 | |
| BSTEP_ADJ_P | |
| BSTEP_ADJ_U | |
| BSTEP_NUM_OUT | |
Definition at line 545 of file integrator_impl.hpp.
|
strong |
| Enumerator | |
|---|---|
| T | |
| C | |
| P | |
| D | |
| W | |
| U | |
| X | |
| Z | |
| Q | |
| CALCULATED | |
| ODE | |
| ALG | |
| QUAD | |
| ZERO | |
| DDEF | |
| WDEF | |
| Y | |
| NUMEL | |
Definition at line 63 of file dae_builder_internal.hpp.
|
strong |
| Enumerator | |
|---|---|
| PARAMETER | |
| CALCULATED_PARAMETER | |
| INPUT | |
| OUTPUT | |
| LOCAL | |
| INDEPENDENT | |
| NUMEL | |
Definition at line 49 of file dae_builder_internal.hpp.
| enum casadi::ConicInput |
Definition at line 170 of file conic.hpp.
| enum casadi::ConicOutput |
Definition at line 199 of file conic.hpp.
| Enumerator | |
|---|---|
| OPTI_GENERIC_EQUALITY | |
| OPTI_GENERIC_INEQUALITY | |
| OPTI_EQUALITY | |
| OPTI_INEQUALITY | |
| OPTI_DOUBLE_INEQUALITY | |
| OPTI_PSD | |
| OPTI_UNKNOWN | |
Definition at line 487 of file optistack.hpp.
|
strong |
| Enumerator | |
|---|---|
| DEPENDENT | |
| CONSTANT | |
| FIXED | |
| TUNABLE | |
| DISCRETE | |
| NUMEL | |
Definition at line 73 of file dae_builder_internal.hpp.
| enum casadi::DomainType |
| enum casadi::DpleInput |
| Enumerator | |
|---|---|
| DPLE_A | A matrices (horzcat when const_dim, diagcat otherwise) [a]. |
| DPLE_V | V matrices (horzcat when const_dim, diagcat otherwise) [v]. |
| DPLE_NUM_IN | |
Definition at line 119 of file dple.hpp.
| enum casadi::DpleOutput |
| Enumerator | |
|---|---|
| DPLE_P | Lyapunov matrix (horzcat when const_dim, diagcat otherwise) (Cholesky of P if pos_def) [p]. |
| DPLE_NUM_OUT | Number of arguments. |
Definition at line 128 of file dple.hpp.
| enum casadi::DynIn |
| enum casadi::DynOut |
| Enumerator | |
|---|---|
| DYN_ODE | |
| DYN_ALG | |
| DYN_QUAD | |
| DYN_ZERO | |
| DYN_NUM_OUT | |
Definition at line 199 of file integrator.hpp.
| enum casadi::EventIn |
| Enumerator | |
|---|---|
| EVENT_INDEX | |
| EVENT_T | |
| EVENT_X | |
| EVENT_Z | |
| EVENT_P | |
| EVENT_U | |
| EVENT_NUM_IN | |
Definition at line 207 of file integrator.hpp.
| enum casadi::EventOut |
|
strong |
| Enumerator | |
|---|---|
| FORWARD | |
| BACKWARD | |
| CENTRAL | |
| SMOOTHING | |
| NUMEL | |
Definition at line 36 of file finite_differences.hpp.
|
strong |
|
strong |
| Enumerator | |
|---|---|
| EXACT | |
| APPROX | |
| CALCULATED | |
| NA | |
| NUMEL | |
Definition at line 67 of file dae_builder_internal.hpp.
|
strong |
Definition at line 223 of file integrator.hpp.
Definition at line 243 of file integrator.hpp.
| enum casadi::NLPInput |
| Enumerator | |
|---|---|
| NL_X | Decision variable. |
| NL_P | Fixed parameter. |
| NL_NUM_IN | Number of NLP inputs. |
Definition at line 168 of file nlpsol.hpp.
| enum casadi::NLPOutput |
| Enumerator | |
|---|---|
| NL_F | Objective function. |
| NL_G | Constraint function. |
| NL_NUM_OUT | Number of NLP outputs. |
Definition at line 181 of file nlpsol.hpp.
| enum casadi::NlpsolInput |
Definition at line 194 of file nlpsol.hpp.
| enum casadi::NlpsolOutput |
Definition at line 215 of file nlpsol.hpp.
| enum casadi::Operation |
Definition at line 60 of file calculus.hpp.
|
strong |
| Enumerator | |
|---|---|
| REG | |
| FWD | |
| ADJ | |
| JAC | |
| JAC_TRANS | |
| JAC_ADJ_OUT | |
| JAC_REG_ADJ | |
| HESS | |
Definition at line 106 of file fmu_function.hpp.
|
strong |
| Enumerator | |
|---|---|
| SERIAL | |
| OPENMP | |
| THREAD | |
| NUMEL | |
Definition at line 85 of file fmu_function.hpp.
| enum casadi::StepIn |
| Enumerator | |
|---|---|
| STEP_T | Current time. |
| STEP_H | Step size. |
| STEP_X0 | State vector. |
| STEP_V0 | Dependent variables. |
| STEP_P | Parameter. |
| STEP_U | Controls. |
| STEP_NUM_IN | Number of arguments. |
Definition at line 498 of file integrator_impl.hpp.
| enum casadi::StepOut |
| Enumerator | |
|---|---|
| STEP_XF | State vector at next time. |
| STEP_VF | Dependent variables at next time. |
| STEP_QF | Quadrature state contribution. |
| STEP_NUM_OUT | Number of arguments. |
Definition at line 516 of file integrator_impl.hpp.
|
strong |
| Enumerator | |
|---|---|
| FLOAT32 | |
| FLOAT64 | |
| INT8 | |
| UINT8 | |
| INT16 | |
| UINT16 | |
| INT32 | |
| UINT32 | |
| INT64 | |
| UINT64 | |
| BOOLEAN | |
| STRING | |
| BINARY | |
| ENUMERATION | |
| CLOCK | |
| NUMEL | |
Definition at line 45 of file dae_builder_internal.hpp.
|
strong |
| Enumerator | |
|---|---|
| REAL | |
| INTEGER | |
| BOOLEAN | |
| STRING | |
| ENUM | |
| NUMEL | |
Definition at line 42 of file dae_builder_internal.hpp.
| enum casadi::TypeID |
Extra doc: https://github.com/casadi/casadi/wiki/L_17m
Definition at line 43 of file generic_type.hpp.
Unified return status for solvers
| Enumerator | |
|---|---|
| SOLVER_RET_SUCCESS | |
| SOLVER_RET_UNKNOWN | |
| SOLVER_RET_LIMITED | |
| SOLVER_RET_NAN | |
| SOLVER_RET_INFEASIBLE | |
| SOLVER_RET_EXCEPTION | |
Definition at line 55 of file casadi_types.hpp.
|
strong |
| Enumerator | |
|---|---|
| CONSTANT | |
| FIXED | |
| TUNABLE | |
| DISCRETE | |
| CONTINUOUS | |
| NUMEL | |
Definition at line 52 of file dae_builder_internal.hpp.
| enum casadi::VariableType |
| void CASADI_EXPORT casadi::_function_buffer_eval | ( | void * | raw | ) |
Definition at line 2227 of file function.cpp.
| Sparsity casadi::_jacobian_sparsity | ( | const MatType & | expr, |
| const MatType & | var | ||
| ) |
Definition at line 1346 of file x_function.hpp.
References casadi::Function::jac_sparsity().
Referenced by casadi::MX::jacobian_sparsity().
| std::vector<bool> casadi::_which_depends | ( | const MatType & | expr, |
| const MatType & | var, | ||
| casadi_int | order, | ||
| bool | tr | ||
| ) |
Definition at line 1353 of file x_function.hpp.
References casadi_project(), get_ptr(), casadi::Function::nnz_in(), casadi::Function::nnz_out(), casadi::Function::rev(), and str().
Referenced by casadi::MX::which_depends().
| std::string casadi::absolute | ( | const std::string & | path | ) |
Definition at line 59 of file ghc.cpp.
References path().
Referenced by casadi_register_filesystem_ghc().
|
static |
Definition at line 501 of file sleqp_interface.cpp.
References casadi::OracleMemory::arg, casadi::SLEQPMemory::cb_lam_gk, casadi::SLEQPMemory::cb_lam_xk, casadi::SLEQPMemory::cb_xk, casadi::NlpsolMemory::d_nlp, casadi::SLEQPMemory::gk, casadi::SLEQPMemory::iteration_callback_ignore_errors, casadi::OracleMemory::iw, NLPSOL_F, NLPSOL_G, NLPSOL_LAM_G, NLPSOL_LAM_X, NLPSOL_X, casadi::OracleMemory::res, casadi::OracleMemory::w, and casadi::CasadiException::what().
Referenced by casadi::SLEQPInterface::solve().
| std::map<std::string, X> casadi::add_defaults | ( | const std::map< std::string, X > & | in, |
| const std::vector< std::string > & | keys | ||
| ) |
| void casadi::add_directory_recursive | ( | zip_t * | archive, |
| const std::string & | base_dir, | ||
| const std::string & | current_dir, | ||
| const std::string & | rel_prefix | ||
| ) |
Definition at line 170 of file libzip.cpp.
References add_file_to_zip(), and casadi::PluginInterface< Filesystem >::getPlugin().
Referenced by zip_to_path2(), and zip_to_stream().
| bool casadi::add_file_to_zip | ( | zip_t * | archive, |
| const std::string & | file_path, | ||
| const std::string & | archive_name | ||
| ) |
Definition at line 126 of file libzip.cpp.
References casadi::Filesystem::ifstream_ptr(), and uerr().
Referenced by add_directory_recursive(), and zip_entries_to_path().
| void casadi::add_int_attribute | ( | onnx::NodeProto * | node, |
| const std::string & | name, | ||
| casadi_int | value | ||
| ) |
Definition at line 176 of file onnx_operations.cpp.
Referenced by create_gather_node(), create_gemm_node(), and casadi::Onnx::load().
| void casadi::add_int_constant | ( | AddNodeFn | add_node, |
| const std::string & | name, | ||
| const std::vector< casadi_int > & | data, | ||
| std::vector< casadi_int > | dims = {} |
||
| ) |
Definition at line 110 of file onnx_operations.cpp.
| void casadi::add_int_constant | ( | onnx::GraphProto * | graph, |
| const std::string & | name, | ||
| const std::vector< casadi_int > & | data, | ||
| std::vector< casadi_int > | dims = {} |
||
| ) |
Definition at line 193 of file onnx_operations.cpp.
Referenced by create_slice_node(), and emit_colmajor_reshape().
| void casadi::add_ints_attribute | ( | onnx::NodeProto * | node, |
| const std::string & | name, | ||
| const std::vector< casadi_int > & | values | ||
| ) |
Definition at line 184 of file onnx_operations.cpp.
| CASADI_EXPORT bool casadi::all | ( | const std::vector< bool > & | v | ) |
Definition at line 81 of file casadi_misc.cpp.
Referenced by casadi::SetNonzeros< Add >::ad_forward(), casadi::SetNonzeros< Add >::ad_reverse(), casadi::DaeBuilder::c(), casadi::FunctionInternal::codegen_meta(), casadi::DaeBuilder::d(), casadi::SetNonzeros< Add >::eval_mx(), casadi::SetNonzeros< Add >::mapping(), override_num(), casadi::DaeBuilder::p(), casadi::DaeBuilder::q(), reduce_index_gen(), select_tensors(), casadi::DaeBuilder::t_new(), casadi::DaeBuilder::u(), casadi::DaeBuilder::w(), casadi::DaeBuilder::x(), casadi::DaeBuilder::y(), and casadi::DaeBuilder::z().
| CASADI_EXPORT bool casadi::any | ( | const std::vector< bool > & | v | ) |
Definition at line 88 of file casadi_misc.cpp.
Referenced by casadi::MX::graph_substitute(), casadi::OnnxFunction::has_jacobian(), casadi::GenericMatrix< MatType >::is_linear(), casadi::XFunction< DerivedType, MatType, NodeType >::jac(), casadi::ProxqpInterface::solve(), and casadi::OptiNode::stats().
| std::vector< T > casadi::applymap | ( | T(*)(const T &) | f, |
| const std::vector< T > & | comp | ||
| ) |
Apply a function f to each element in a vector
Definition at line 653 of file casadi_misc.hpp.
| void casadi::applymap | ( | void(*)(T &) | f, |
| std::vector< T > & | comp | ||
| ) |
Apply a function f to each element in a vector
Definition at line 660 of file casadi_misc.hpp.
| void casadi::assert_read | ( | std::istream & | stream, |
| const std::string & | s | ||
| ) |
Definition at line 2351 of file function_internal.cpp.
| void casadi::assign_vector | ( | const std::vector< S > & | s, |
| std::vector< D > & | d | ||
| ) |
Definition at line 671 of file casadi_misc.hpp.
Referenced by casadi::Nlpsol::get_stats(), casadi::Nlpsol::init(), casadi::KnitroInterface::solve(), and casadi::OptiNode::to_function().
|
static |
Definition at line 117 of file blas_blasfeo.cpp.
References casadi::CodeGenerator::auxiliaries, BLASFEO_DAXPY_DECL, and casadi::CodeGenerator::sanitize_source().
Referenced by casadi_register_blas_blasfeo().
|
static |
Definition at line 134 of file blas_blasfeo.cpp.
References casadi::CodeGenerator::auxiliaries, BLASFEO_DDOT_DECL, and casadi::CodeGenerator::sanitize_source().
Referenced by casadi_register_blas_blasfeo().
|
static |
Definition at line 98 of file blas_blasfeo.cpp.
References casadi::CodeGenerator::add_external(), BLASFEO_DECL, C, casadi::CodeGenerator::init_local(), and casadi::CodeGenerator::local().
Referenced by casadi_register_blas_blasfeo().
|
static |
|
static |
Definition at line 68 of file blas_blasfeo.cpp.
Referenced by casadi_register_blas_blasfeo(), and eval_L().
|
static |
Definition at line 33 of file blas_blasfeo.cpp.
References C, and CASADI_BLAS_TRANS.
Referenced by casadi_register_blas_blasfeo().
| CASADI_EXPORT Function casadi::blazing_spline | ( | const std::string & | name, |
| const std::vector< casadi_int > & | knot_dims, | ||
| const Dict & | opts = Dict() |
||
| ) |
Like blazing_spline, but the knot values are provided as a symbolic input at evaluation time instead of being fixed at construction time. Only knot vector sizes (per dimension) are needed at construction.
The resulting Function has inputs (x, C, knots) where knots is the stacked knot vector. Supports the same precompute_coeff and precompute_grid options as the fixed-knots variant.
Extra doc: https://github.com/casadi/casadi/wiki/L_2g0
Definition at line 181 of file blazing_spline.cpp.
References C, compute_knots_cache(), casadi::Function::create(), casadi::FunctionInternal::find(), knot_offsets(), casadi::Function::name_out(), casadi::Function::size_in(), and casadi::GenericMatrix< MX >::sym().
| CASADI_EXPORT Function casadi::blazing_spline | ( | const std::string & | name, |
| const std::vector< std::vector< double > > & | knots, | ||
| const Dict & | opts = Dict() |
||
| ) |
Specialized in these ways:
Extra doc: https://github.com/casadi/casadi/wiki/L_2b9
Definition at line 175 of file blazing_spline.cpp.
References casadi::Function::create().
| CASADI_EXPORT std::vector< bool > casadi::boolvec_and | ( | const std::vector< bool > & | lhs, |
| const std::vector< bool > & | rhs | ||
| ) |
Definition at line 395 of file casadi_misc.cpp.
| CASADI_EXPORT std::vector< bool > casadi::boolvec_not | ( | const std::vector< bool > & | v | ) |
Definition at line 388 of file casadi_misc.cpp.
Referenced by construct_nlpsol(), and detect_simple_bounds_gen().
| CASADI_EXPORT std::vector< bool > casadi::boolvec_or | ( | const std::vector< bool > & | lhs, |
| const std::vector< bool > & | rhs | ||
| ) |
Definition at line 403 of file casadi_misc.cpp.
| CASADI_EXPORT std::vector< casadi_int > casadi::boolvec_to_index | ( | const std::vector< bool > & | v | ) |
Definition at line 412 of file casadi_misc.cpp.
Referenced by construct_nlpsol(), and detect_simple_bounds_gen().
| void casadi::bvec_clear | ( | bvec_t * | s, |
| casadi_int | begin, | ||
| casadi_int | end | ||
| ) |
Definition at line 1219 of file function_internal.cpp.
Definition at line 453 of file casadi_misc.cpp.
Referenced by casadi::FunctionInternal::get_jac_sparsity_hierarchical(), casadi::FunctionInternal::get_jac_sparsity_hierarchical_symm(), casadi::GetNonzerosParam::sp_forward(), casadi::SetNonzerosParam< Add >::sp_forward(), casadi::GetNonzerosParam::sp_reverse(), and casadi::SetNonzerosParam< Add >::sp_reverse().
Definition at line 1226 of file function_internal.cpp.
| void casadi::bvec_toggle | ( | bvec_t * | s, |
| casadi_int | begin, | ||
| casadi_int | end, | ||
| casadi_int | j | ||
| ) |
Definition at line 1213 of file function_internal.cpp.
Referenced by casadi::FunctionInternal::get_jac_sparsity_hierarchical(), and casadi::FunctionInternal::get_jac_sparsity_hierarchical_symm().
| int casadi::calc_function | ( | const OracleCallback * | cb, |
| casadi_oracle_data< T1 > * | d | ||
| ) |
Definition at line 280 of file oracle_function.hpp.
References casadi::OracleFunction::calc_function(), casadi_oracle_data< T1 >::m, casadi::OracleCallback::name, casadi::OracleCallback::oracle_, and uerr().
| void casadi::callback_stderr | ( | const char * | s | ) |
| void casadi::callback_stdout | ( | const char * | s | ) |
Definition at line 148 of file mapsum.cpp.
| void casadi::casadi_add | ( | casadi_int | n, |
| const T1 * | x, | ||
| T1 * | y | ||
| ) |
Definition at line 141 of file mapsum.cpp.
Referenced by casadi::MapSum::eval_gen().
| void casadi::casadi_axpy | ( | casadi_int | n, |
| T1 | alpha, | ||
| const T1 * | x, | ||
| T1 * | y | ||
| ) |
Referenced by casadi::FixedStepIntegrator::advance_noevent(), casadi::Feasiblesqpmethod::anderson_acc_step_update(), casadi::Blocksqp::calcLagrangeGradient(), casadi::FiniteDiff::eval(), casadi::Integrator::eval(), casadi::Scpgen::eval_mat(), casadi::Scpgen::eval_vec(), casadi::Feasiblesqpmethod::feasibility_iterations(), casadi::FixedStepIntegrator::impulseB(), casadi::SundialsInterface::impulseB(), casadi::IdasInterface::jtimesB(), casadi::IdasInterface::jtimesF(), casadi::Scpgen::line_search(), casadi::CvodesInterface::psolveB(), casadi::CvodesInterface::psolveF(), casadi::IdasInterface::psolveF(), casadi::IdasInterface::resB(), casadi::IdasInterface::resF(), casadi::FixedStepIntegrator::retreat(), casadi::SuperscsInterface::solve(), casadi::Feasiblesqpmethod::solve(), casadi::Newton::solve(), casadi::Qrsqp::solve(), casadi::Sqpmethod::solve(), casadi::Scpgen::solve_qp(), casadi::IdasInterface::solve_transposed(), casadi::Integrator::trigger_event(), and casadi::IdasInterface::z_impulseB().
| T1 casadi::casadi_bilin | ( | const T1 * | A, |
| const casadi_int * | sp_A, | ||
| const T1 * | x, | ||
| const T1 * | y | ||
| ) |
Calculates dot(x, mul(A, y))
Referenced by casadi::Bilin::eval_gen(), casadi::Feasiblesqpmethod::eval_m_k(), casadi::Scpgen::line_search(), casadi::HpmpcInterface::solve(), casadi::SuperscsInterface::solve(), casadi::Ipqp::solve(), casadi::Feasiblesqpmethod::solve(), casadi::Qrsqp::solve(), and casadi::Sqpmethod::solve().
| void casadi::casadi_bound_consistency | ( | casadi_int | n, |
| T1 * | x, | ||
| T1 * | lam, | ||
| const T1 * | lbx, | ||
| const T1 * | ubx | ||
| ) |
| void casadi::casadi_clear | ( | T1 * | x, |
| casadi_int | n | ||
| ) |
Referenced by casadi::Feasiblesqpmethod::anderson_acc_init_memory(), casadi::SundialsInterface::calc_daeB(), casadi::SundialsInterface::calc_quadB(), casadi_clear_casadi_int(), casadi_copy_block(), casadi::BSpline::eval(), casadi::BSplineParametric::eval(), casadi::Integrator::eval(), casadi::MapSum::eval_gen(), casadi::Scpgen::eval_mat(), casadi::CvodesInterface::psolveB(), casadi::CvodesInterface::psolveF(), casadi::IdasInterface::psolveF(), casadi::FixedStepIntegrator::resetB(), casadi::SundialsInterface::resetB(), casadi::FixedStepIntegrator::retreat(), casadi::Scpgen::set_work(), casadi::GurobiInterface::solve(), casadi::OoqpInterface::solve(), casadi::SuperscsInterface::solve(), casadi::SnoptInterface::solve(), casadi::WorhpInterface::solve(), casadi::Feasiblesqpmethod::solve(), casadi::Qrsqp::solve(), casadi::Scpgen::solve(), casadi::Sqpmethod::solve(), casadi::Sqpmethod::solve_elastic_mode(), casadi::IdasInterface::solve_transposed(), casadi::FunctionInternal::sp_forward(), casadi::FunctionInternal::sp_reverse(), casadi::FixedStepIntegrator::stepB(), casadi::SnoptInterface::userfun(), and casadi::IdasInterface::z_impulseB().
|
inline |
Definition at line 336 of file casadi_runtime.hpp.
References casadi_clear().
| void casadi::casadi_copy | ( | const T1 * | x, |
| casadi_int | n, | ||
| T1 * | y | ||
| ) |
Referenced by casadi::FixedStepIntegrator::advance_noevent(), casadi::CvodesInterface::advance_noevent(), casadi::IdasInterface::advance_noevent(), casadi::Feasiblesqpmethod::anderson_acc_init_memory(), casadi::Feasiblesqpmethod::anderson_acc_step_update(), casadi::Feasiblesqpmethod::anderson_acc_update_memory(), casadi::Blocksqp::calcLagrangeGradient(), casadi_uno_term_cb_cpp(), casadi::Blocksqp::computeNextHessian(), casadi::FunctionInternal::eval(), casadi::Nlpsol::eval(), casadi::FiniteDiff::eval(), casadi::FmuFunction::eval(), casadi::FmuInternal::eval_fd(), casadi::Rank1::eval_gen(), casadi::Scpgen::eval_mat(), casadi::CallSX::eval_sx(), casadi::Feasiblesqpmethod::feasibility_iterations(), casadi::FmuFunction::finalize_hessian(), casadi::BonminInterface::finalize_solution(), casadi::IpoptInterface::finalize_solution(), casadi::BonminInterface::get_bounds_info(), casadi::IpoptInterface::get_bounds_info(), get_initial_uk(), get_initial_xk(), casadi::Integrator::get_q(), casadi::BonminInterface::get_starting_point(), casadi::IpoptInterface::get_starting_point(), casadi::Integrator::get_x(), casadi::Integrator::get_z(), casadi::BonminInterface::intermediate_callback(), casadi::IpoptInterface::intermediate_callback(), casadi::LinsolQr::nfact(), casadi::Integrator::predict_events(), casadi::CvodesInterface::psolveB(), casadi::CvodesInterface::psolveF(), casadi::IdasInterface::psolveF(), casadi::FixedStepIntegrator::reset(), casadi::SundialsInterface::reset(), casadi::Collocation::reset(), casadi::FixedStepIntegrator::retreat(), casadi::CvodesInterface::retreat(), casadi::IdasInterface::retreat(), casadi::Integrator::set_p(), casadi::Integrator::set_q(), casadi::Integrator::set_u(), casadi::Integrator::set_x(), casadi::Integrator::set_z(), casadi::CbcInterface::solve(), casadi::ClpInterface::solve(), casadi::CplexInterface::solve(), casadi::GurobiInterface::solve(), casadi::OoqpInterface::solve(), casadi::OsqpInterface::solve(), casadi::PiqpInterface::solve(), casadi::ProxqpInterface::solve(), casadi::QpoasesInterface::solve(), casadi::SuperscsInterface::solve(), casadi::Qrqp::solve(), casadi::AlpaqaInterface::solve(), casadi::Blocksqp::solve(), casadi::BonminInterface::solve(), casadi::IpoptInterface::solve(), casadi::KnitroInterface::solve(), casadi::SnoptInterface::solve(), casadi::KinsolInterface::solve(), casadi::WorhpInterface::solve(), casadi::FastNewton::solve(), casadi::Feasiblesqpmethod::solve(), casadi::ImplicitToNlp::solve(), casadi::Newton::solve(), casadi::Qrsqp::solve(), casadi::Scpgen::solve(), casadi::Sqpmethod::solve(), casadi::Sqpmethod::solve_elastic_mode(), casadi::Scpgen::solve_qp(), casadi::IdasInterface::solve_transposed(), casadi::MapSum::sp_reverse(), casadi::Feasiblesqpmethod::step_update(), casadi::Integrator::trigger_event(), and casadi::IdasInterface::z_impulseB().
| void casadi::casadi_copy_block | ( | const T1 * | x, |
| const casadi_int * | sp_x, | ||
| T1 * | y, | ||
| const casadi_int * | sp_y, | ||
| casadi_int | r_begin, | ||
| casadi_int | c_begin, | ||
| T1 * | w | ||
| ) |
Definition at line 799 of file idas_interface.cpp.
References casadi_clear().
Referenced by casadi::IdasInterface::psetupF().
| void casadi::casadi_de_boor | ( | T1 | x, |
| const T1 * | knots, | ||
| casadi_int | n_knots, | ||
| casadi_int | degree, | ||
| T1 * | boor | ||
| ) |
| void casadi::casadi_densify | ( | const T1 * | x, |
| const casadi_int * | sp_x, | ||
| T2 * | y, | ||
| casadi_int | tr | ||
| ) |
| T1 casadi::casadi_dot | ( | casadi_int | n, |
| const T1 * | x, | ||
| const T1 * | y | ||
| ) |
Referenced by casadi::Feasiblesqpmethod::anderson_acc_step_update(), casadi::Blocksqp::calcHessianUpdate(), casadi::Blocksqp::calcHessianUpdateLimitedMemory(), casadi::Dot::eval_gen(), casadi::Feasiblesqpmethod::eval_m_k(), casadi::Scpgen::line_search(), casadi::Blocksqp::sizeInitialHessian(), casadi::HpmpcInterface::solve(), casadi::SuperscsInterface::solve(), casadi::Ipqp::solve(), casadi::Qrsqp::solve(), and casadi::Sqpmethod::solve().
| void casadi::casadi_fill | ( | T1 * | x, |
| casadi_int | n, | ||
| T1 | alpha | ||
| ) |
Referenced by casadi::Blocksqp::calcInitialHessian(), casadi::Blocksqp::calcLagrangeGradient(), casadi_fill_casadi_int(), casadi::Nlpsol::eval(), casadi::BonminInterface::finalize_solution(), casadi::Sparsity::mul_sparsityR(), casadi::FixedStepIntegrator::reset(), casadi::Blocksqp::reset_sqp(), casadi::Blocksqp::resetHessian(), casadi::CplexInterface::solve(), casadi::GurobiInterface::solve(), casadi::Qrqp::solve(), casadi::Feasiblesqpmethod::solve(), casadi::Qrsqp::solve(), casadi::Sqpmethod::solve(), casadi::Sqpmethod::solve_elastic_mode(), and casadi::Blocksqp::solveQP().
|
inline |
Definition at line 331 of file casadi_runtime.hpp.
References casadi_fill().
| casadi_int casadi::casadi_flip | ( | casadi_int * | corner, |
| casadi_int | ndim | ||
| ) |
|
static |
Definition at line 132 of file sleqp_func.cpp.
References casadi::OracleMemory::arg, casadi::OracleFunction::calc_function(), casadi::Sparsity::colind(), casadi::NlpsolMemory::d_nlp, casadi::SLEQPMemory::interface, casadi::SLEQPMemory::jac_gk, casadi::SLEQPInterface::jac_sparsity(), casadi_nlpsol_data< T1 >::p, casadi::OracleMemory::res, casadi::Sparsity::row(), casadi::Sparsity::size2(), uerr(), and casadi::SLEQPMemory::xk.
Referenced by casadi_sleqp_func_create().
|
static |
Definition at line 97 of file sleqp_func.cpp.
References casadi::OracleMemory::arg, casadi::OracleFunction::calc_function(), casadi::NlpsolMemory::d_nlp, casadi::SLEQPMemory::gk, casadi::SLEQPMemory::interface, casadi_nlpsol_data< T1 >::p, casadi::OracleMemory::res, uerr(), and casadi::SLEQPMemory::xk.
Referenced by casadi_sleqp_func_create().
|
static |
Definition at line 231 of file sleqp_func.cpp.
Referenced by casadi_sleqp_func_create().
|
static |
Definition at line 184 of file sleqp_func.cpp.
References casadi::OracleMemory::arg, casadi::OracleFunction::calc_function(), casadi::NlpsolMemory::d_nlp, casadi::SLEQPMemory::h_dk, casadi::SLEQPMemory::h_mk, casadi::SLEQPMemory::h_pk, casadi::SLEQPMemory::interface, casadi_nlpsol_data< T1 >::p, product(), casadi::OracleMemory::res, uerr(), and casadi::SLEQPMemory::xk.
Referenced by casadi_sleqp_func_create().
|
static |
Definition at line 22 of file sleqp_func.cpp.
Referenced by casadi_sleqp_func_create().
|
static |
Definition at line 61 of file sleqp_func.cpp.
References casadi::OracleMemory::arg, casadi::OracleFunction::calc_function(), casadi::NlpsolMemory::d_nlp, casadi::SLEQPMemory::grad_fk, casadi::SLEQPMemory::interface, casadi_nlpsol_data< T1 >::p, casadi::OracleMemory::res, uerr(), and casadi::SLEQPMemory::xk.
Referenced by casadi_sleqp_func_create().
|
static |
Definition at line 33 of file sleqp_func.cpp.
References casadi::OracleMemory::arg, casadi::OracleFunction::calc_function(), casadi::NlpsolMemory::d_nlp, casadi::SLEQPMemory::interface, casadi_nlpsol_data< T1 >::p, casadi::OracleMemory::res, uerr(), and casadi::SLEQPMemory::xk.
Referenced by casadi_sleqp_func_create().
|
static |
Definition at line 9 of file sleqp_func.cpp.
References casadi::SLEQPMemory::xk.
Referenced by casadi_sleqp_func_create().
| void casadi::casadi_getu | ( | const T1 * | x, |
| const casadi_int * | sp_x, | ||
| T1 * | v | ||
| ) |
| casadi_int casadi::casadi_iamax | ( | casadi_int | n, |
| const T1 * | x, | ||
| casadi_int | inc_x | ||
| ) |
| T1 casadi::casadi_interpn | ( | casadi_int | ndim, |
| const T1 * | grid, | ||
| const casadi_int * | offset, | ||
| const T1 * | values, | ||
| const T1 * | x, | ||
| casadi_int * | iw, | ||
| T1 * | w | ||
| ) |
Referenced by casadi::LinearInterpolant::eval().
| void casadi::casadi_interpn_grad | ( | T1 * | grad, |
| casadi_int | ndim, | ||
| const T1 * | grid, | ||
| const casadi_int * | offset, | ||
| const T1 * | values, | ||
| const T1 * | x, | ||
| casadi_int * | iw, | ||
| T1 * | w | ||
| ) |
Referenced by casadi::LinearInterpolantJac::eval().
| T1 casadi::casadi_interpn_interpolate | ( | casadi_int | ndim, |
| const casadi_int * | offset, | ||
| const T1 * | values, | ||
| const T1 * | alpha, | ||
| const casadi_int * | index, | ||
| const casadi_int * | corner, | ||
| T1 * | coeff | ||
| ) |
| void casadi::casadi_interpn_weights | ( | casadi_int | ndim, |
| const T1 * | grid, | ||
| const casadi_int * | offset, | ||
| const T1 * | x, | ||
| T1 * | alpha, | ||
| casadi_int * | index | ||
| ) |
| int casadi::casadi_KN_puts | ( | const char *const | str, |
| void *const | userParams | ||
| ) |
Definition at line 204 of file knitro_interface.cpp.
Referenced by casadi::KnitroInterface::solve().
| void casadi::casadi_kron | ( | const T1 * | a, |
| const casadi_int * | sp_a, | ||
| const T1 * | b, | ||
| const casadi_int * | sp_b, | ||
| T1 * | r | ||
| ) |
Calculates Calculates nonzeros of kronecker product
Referenced by casadi::Kron::eval_kernel().
| void casadi::casadi_kron_contract_inner | ( | const T1 * | m, |
| const casadi_int * | sp_m, | ||
| const T1 * | b, | ||
| const casadi_int * | sp_b, | ||
| T1 * | y, | ||
| const casadi_int * | sp_y, | ||
| T1 * | w | ||
| ) |
Kron contraction (inner): contract M's inner block axes against b
Referenced by casadi::KronContract::eval_kernel().
| void casadi::casadi_kron_contract_inner_dense | ( | const T1 * | m, |
| casadi_int | mA, | ||
| casadi_int | nA, | ||
| const T1 * | b, | ||
| casadi_int | mB, | ||
| casadi_int | nB, | ||
| T1 * | y | ||
| ) |
Kron contraction (inner), all dense
Referenced by casadi::DenseKronContract::eval_kernel().
| void casadi::casadi_kron_contract_inner_dense_sparse | ( | const T1 * | m, |
| casadi_int | mA, | ||
| casadi_int | nA, | ||
| const T1 * | b, | ||
| const casadi_int * | sp_b, | ||
| T1 * | y | ||
| ) |
Kron contraction (inner), m dense + b sparse
Referenced by casadi::DenseSparseKronContract::eval_kernel().
| void casadi::casadi_kron_contract_inner_sparse_dense | ( | const T1 * | m, |
| const casadi_int * | sp_m, | ||
| const T1 * | b, | ||
| casadi_int | mB, | ||
| casadi_int | nB, | ||
| T1 * | y, | ||
| const casadi_int * | sp_y | ||
| ) |
Kron contraction (inner), m sparse + b dense
Referenced by casadi::SparseDenseKronContract::eval_kernel().
| void casadi::casadi_kron_contract_outer | ( | const T1 * | m, |
| const casadi_int * | sp_m, | ||
| const T1 * | a, | ||
| const casadi_int * | sp_a, | ||
| T1 * | y, | ||
| const casadi_int * | sp_y, | ||
| T1 * | w | ||
| ) |
Kron contraction (outer): contract M's outer block axes against a
Referenced by casadi::KronContract::eval_kernel().
| void casadi::casadi_kron_contract_outer_dense | ( | const T1 * | m, |
| casadi_int | mB, | ||
| casadi_int | nB, | ||
| const T1 * | a, | ||
| casadi_int | mA, | ||
| casadi_int | nA, | ||
| T1 * | y | ||
| ) |
Kron contraction (outer), all dense
Referenced by casadi::DenseKronContract::eval_kernel().
| void casadi::casadi_kron_contract_outer_dense_sparse | ( | const T1 * | m, |
| casadi_int | mB, | ||
| casadi_int | nB, | ||
| const T1 * | a, | ||
| const casadi_int * | sp_a, | ||
| T1 * | y | ||
| ) |
Kron contraction (outer), m dense + a sparse
Referenced by casadi::DenseSparseKronContract::eval_kernel().
| void casadi::casadi_kron_contract_outer_sparse_dense | ( | const T1 * | m, |
| const casadi_int * | sp_m, | ||
| const T1 * | a, | ||
| casadi_int | mA, | ||
| casadi_int | nA, | ||
| T1 * | y, | ||
| const casadi_int * | sp_y | ||
| ) |
Kron contraction (outer), m sparse + a dense
Referenced by casadi::SparseDenseKronContract::eval_kernel().
| void casadi::casadi_kron_dense | ( | const T1 * | a, |
| casadi_int | mA, | ||
| casadi_int | nA, | ||
| const T1 * | b, | ||
| casadi_int | mB, | ||
| casadi_int | nB, | ||
| T1 * | r | ||
| ) |
Kron, both operands dense
Referenced by casadi::DenseKron::eval_kernel().
| void casadi::casadi_kron_dense_sparse | ( | const T1 * | a, |
| casadi_int | mA, | ||
| casadi_int | nA, | ||
| const T1 * | b, | ||
| const casadi_int * | sp_b, | ||
| T1 * | r | ||
| ) |
Kron, dense a + sparse b
Referenced by casadi::DenseSparseKron::eval_kernel().
| void casadi::casadi_kron_sparse_dense | ( | const T1 * | a, |
| const casadi_int * | sp_a, | ||
| const T1 * | b, | ||
| casadi_int | mB, | ||
| casadi_int | nB, | ||
| T1 * | r | ||
| ) |
Kron, sparse a + dense b
Referenced by casadi::SparseDenseKron::eval_kernel().
| void CASADI_ARCHIVER_LIBZIP_EXPORT casadi::casadi_load_archiver_libzip | ( | ) |
Definition at line 382 of file libzip.cpp.
References casadi_register_archiver_libzip(), and casadi::PluginInterface< Archiver >::registerPlugin().
| void CASADI_BLAS_BLASFEO_EXPORT casadi::casadi_load_blas_blasfeo | ( | ) |
Definition at line 171 of file blas_blasfeo.cpp.
References casadi_register_blas_blasfeo(), and casadi::PluginInterface< Blas >::registerPlugin().
| void CASADI_BLAS_CLASSIC_EXPORT casadi::casadi_load_blas_classic | ( | ) |
Definition at line 257 of file blas_classic.cpp.
References casadi_register_blas_classic(), and casadi::PluginInterface< Blas >::registerPlugin().
Referenced by casadi::Blas::shorthand_for().
| void CASADI_CONIC_CBC_EXPORT casadi::casadi_load_conic_cbc | ( | ) |
Definition at line 45 of file cbc_interface.cpp.
References casadi_register_conic_cbc(), and casadi::PluginInterface< Conic >::registerPlugin().
| void CASADI_CONIC_CLARABEL_EXPORT casadi::casadi_load_conic_clarabel | ( | ) |
Definition at line 45 of file clarabel_interface.cpp.
References casadi_register_conic_clarabel(), and casadi::PluginInterface< Conic >::registerPlugin().
| void CASADI_CONIC_CLP_EXPORT casadi::casadi_load_conic_clp | ( | ) |
Definition at line 42 of file clp_interface.cpp.
References casadi_register_conic_clp(), and casadi::PluginInterface< Conic >::registerPlugin().
| void CASADI_CONIC_CPLEX_EXPORT casadi::casadi_load_conic_cplex | ( | ) |
Definition at line 56 of file cplex_interface.cpp.
References casadi_register_conic_cplex(), and casadi::PluginInterface< Conic >::registerPlugin().
| void CASADI_CONIC_DAQP_EXPORT casadi::casadi_load_conic_daqp | ( | ) |
Definition at line 44 of file daqp_interface.cpp.
References casadi_register_conic_daqp(), and casadi::PluginInterface< Conic >::registerPlugin().
| void CASADI_CONIC_FATROP_EXPORT casadi::casadi_load_conic_fatrop | ( | ) |
Definition at line 46 of file fatrop_conic_interface.cpp.
References casadi_register_conic_fatrop(), and casadi::PluginInterface< Conic >::registerPlugin().
| void CASADI_CONIC_GUROBI_EXPORT casadi::casadi_load_conic_gurobi | ( | ) |
Definition at line 126 of file gurobi_interface.cpp.
References casadi_register_conic_gurobi(), and casadi::PluginInterface< Conic >::registerPlugin().
| void CASADI_CONIC_HIGHS_EXPORT casadi::casadi_load_conic_highs | ( | ) |
Definition at line 44 of file highs_interface.cpp.
References casadi_register_conic_highs(), and casadi::PluginInterface< Conic >::registerPlugin().
| void CASADI_CONIC_HPIPM_EXPORT casadi::casadi_load_conic_hpipm | ( | ) |
Definition at line 45 of file hpipm_interface.cpp.
References casadi_register_conic_hpipm(), and casadi::PluginInterface< Conic >::registerPlugin().
| void CASADI_CONIC_HPMPC_EXPORT casadi::casadi_load_conic_hpmpc | ( | ) |
Definition at line 42 of file hpmpc_interface.cpp.
References casadi_register_conic_hpmpc(), and casadi::PluginInterface< Conic >::registerPlugin().
| void CASADI_CONIC_IPQP_EXPORT casadi::casadi_load_conic_ipqp | ( | ) |
Definition at line 44 of file ipqp.cpp.
References casadi_register_conic_ipqp(), and casadi::PluginInterface< Conic >::registerPlugin().
| void CASADI_CONIC_MOSEK_EXPORT casadi::casadi_load_conic_mosek | ( | ) |
Definition at line 57 of file mosek_interface.cpp.
References casadi_register_conic_mosek(), and casadi::PluginInterface< Conic >::registerPlugin().
| void CASADI_CONIC_NLPSOL_EXPORT casadi::casadi_load_conic_nlpsol | ( | ) |
Definition at line 45 of file qp_to_nlp.cpp.
References casadi_register_conic_nlpsol(), and casadi::PluginInterface< Conic >::registerPlugin().
| void CASADI_CONIC_OOQP_EXPORT casadi::casadi_load_conic_ooqp | ( | ) |
Definition at line 53 of file ooqp_interface.cpp.
References casadi_register_conic_ooqp(), and casadi::PluginInterface< Conic >::registerPlugin().
| void CASADI_CONIC_OSQP_EXPORT casadi::casadi_load_conic_osqp | ( | ) |
Definition at line 61 of file osqp_interface.cpp.
References casadi_register_conic_osqp(), and casadi::PluginInterface< Conic >::registerPlugin().
| void CASADI_CONIC_PIQP_EXPORT casadi::casadi_load_conic_piqp | ( | ) |
Definition at line 46 of file piqp_interface.cpp.
References casadi_load_conic_piqp(), and casadi_register_conic_piqp().
Referenced by casadi_load_conic_piqp().
| void CASADI_CONIC_PROXQP_EXPORT casadi::casadi_load_conic_proxqp | ( | ) |
Definition at line 47 of file proxqp_interface.cpp.
References casadi_load_conic_proxqp(), and casadi_register_conic_proxqp().
Referenced by casadi_load_conic_proxqp().
| void CASADI_CONIC_QPOASES_EXPORT casadi::casadi_load_conic_qpoases | ( | ) |
Definition at line 47 of file qpoases_interface.cpp.
References casadi_register_conic_qpoases(), and casadi::PluginInterface< Conic >::registerPlugin().
| void CASADI_CONIC_QRQP_EXPORT casadi::casadi_load_conic_qrqp | ( | ) |
Definition at line 44 of file qrqp.cpp.
References casadi_register_conic_qrqp(), and casadi::PluginInterface< Conic >::registerPlugin().
| void CASADI_CONIC_SQIC_EXPORT casadi::casadi_load_conic_sqic | ( | ) |
Definition at line 48 of file sqic_interface.cpp.
References casadi_register_conic_sqic(), and casadi::PluginInterface< Conic >::registerPlugin().
| void CASADI_CONIC_SUPERSCS_EXPORT casadi::casadi_load_conic_superscs | ( | ) |
Definition at line 48 of file superscs_interface.cpp.
References casadi_register_conic_superscs(), and casadi::PluginInterface< Conic >::registerPlugin().
| void CASADI_CONIC_XPRESS_EXPORT casadi::casadi_load_conic_xpress | ( | ) |
Definition at line 57 of file xpress_interface.cpp.
References casadi_register_conic_xpress(), and casadi::PluginInterface< Conic >::registerPlugin().
| void CASADI_DPLE_SLICOT_EXPORT casadi::casadi_load_dple_slicot | ( | ) |
Definition at line 52 of file slicot_dple.cpp.
References casadi_register_dple_slicot(), and casadi::PluginInterface< Dple >::registerPlugin().
| void CASADI_EXPM_SLICOT_EXPORT casadi::casadi_load_expm_slicot | ( | ) |
Definition at line 52 of file slicot_expm.cpp.
References casadi_register_expm_slicot(), and casadi::PluginInterface< Expm >::registerPlugin().
| void CASADI_FILESYSTEM_GHC_EXPORT casadi::casadi_load_filesystem_ghc | ( | ) |
Definition at line 90 of file ghc.cpp.
References casadi_register_filesystem_ghc(), and casadi::PluginInterface< Filesystem >::registerPlugin().
| void CASADI_GRAPHMODEL_ONNX_EXPORT casadi::casadi_load_graphmodel_onnx | ( | ) |
Definition at line 45 of file onnx_model.cpp.
References casadi_register_graphmodel_onnx(), and casadi::PluginInterface< GraphModelInternal >::registerPlugin().
| void CASADI_IMPORTER_CLANG_EXPORT casadi::casadi_load_importer_clang | ( | ) |
Definition at line 56 of file clang_compiler.cpp.
References casadi_register_importer_clang(), and casadi::PluginInterface< ImporterInternal >::registerPlugin().
| void CASADI_IMPORTER_SHELL_EXPORT casadi::casadi_load_importer_shell | ( | ) |
Definition at line 53 of file shell_compiler.cpp.
References casadi_register_importer_shell(), and casadi::PluginInterface< ImporterInternal >::registerPlugin().
| void CASADI_INTEGRATOR_COLLOCATION_EXPORT casadi::casadi_load_integrator_collocation | ( | ) |
Definition at line 45 of file collocation.cpp.
References casadi_register_integrator_collocation(), and casadi::PluginInterface< Integrator >::registerPlugin().
| void CASADI_INTEGRATOR_CVODES_EXPORT casadi::casadi_load_integrator_cvodes | ( | ) |
Definition at line 47 of file cvodes_interface.cpp.
References casadi_register_integrator_cvodes(), and casadi::PluginInterface< Integrator >::registerPlugin().
| void CASADI_INTEGRATOR_IDAS_EXPORT casadi::casadi_load_integrator_idas | ( | ) |
Definition at line 48 of file idas_interface.cpp.
References casadi_register_integrator_idas(), and casadi::PluginInterface< Integrator >::registerPlugin().
| void CASADI_INTEGRATOR_RK_EXPORT casadi::casadi_load_integrator_rk | ( | ) |
Definition at line 43 of file runge_kutta.cpp.
References casadi_register_integrator_rk(), and casadi::PluginInterface< Integrator >::registerPlugin().
| void CASADI_INTERPOLANT_BSPLINE_EXPORT casadi::casadi_load_interpolant_bspline | ( | ) |
Definition at line 45 of file bspline_interpolant.cpp.
References casadi_register_interpolant_bspline(), and casadi::PluginInterface< Interpolant >::registerPlugin().
| void CASADI_INTERPOLANT_LINEAR_EXPORT casadi::casadi_load_interpolant_linear | ( | ) |
Definition at line 44 of file linear_interpolant.cpp.
References casadi_register_interpolant_linear(), and casadi::PluginInterface< Interpolant >::registerPlugin().
| void CASADI_LINSOL_CSPARSE_EXPORT casadi::casadi_load_linsol_csparse | ( | ) |
Definition at line 45 of file csparse_interface.cpp.
References casadi_register_linsol_csparse(), and casadi::PluginInterface< LinsolInternal >::registerPlugin().
| void CASADI_LINSOL_LAPACKLU_EXPORT casadi::casadi_load_linsol_lapacklu | ( | ) |
Definition at line 44 of file lapack_lu.cpp.
References casadi_register_linsol_lapacklu(), and casadi::PluginInterface< LinsolInternal >::registerPlugin().
| void CASADI_LINSOL_LAPACKQR_EXPORT casadi::casadi_load_linsol_lapackqr | ( | ) |
Definition at line 44 of file lapack_qr.cpp.
References casadi_register_linsol_lapackqr(), and casadi::PluginInterface< LinsolInternal >::registerPlugin().
| void CASADI_LINSOL_LDL_EXPORT casadi::casadi_load_linsol_ldl | ( | ) |
Definition at line 44 of file linsol_ldl.cpp.
References casadi_register_linsol_ldl(), and casadi::PluginInterface< LinsolInternal >::registerPlugin().
| void CASADI_LINSOL_LSQR_EXPORT casadi::casadi_load_linsol_lsqr | ( | ) |
Definition at line 47 of file lsqr.cpp.
References casadi_register_linsol_lsqr(), and casadi::PluginInterface< LinsolInternal >::registerPlugin().
| void CASADI_LINSOL_MA27_EXPORT casadi::casadi_load_linsol_ma27 | ( | ) |
Definition at line 45 of file ma27_interface.cpp.
References casadi_register_linsol_ma27(), and casadi::PluginInterface< LinsolInternal >::registerPlugin().
| void CASADI_LINSOL_MUMPS_EXPORT casadi::casadi_load_linsol_mumps | ( | ) |
Definition at line 45 of file mumps_interface.cpp.
References casadi_register_linsol_mumps(), and casadi::PluginInterface< LinsolInternal >::registerPlugin().
| void CASADI_LINSOL_QR_EXPORT casadi::casadi_load_linsol_qr | ( | ) |
Definition at line 44 of file linsol_qr.cpp.
References casadi_register_linsol_qr(), and casadi::PluginInterface< LinsolInternal >::registerPlugin().
| void CASADI_LINSOL_SYMBOLICQR_EXPORT casadi::casadi_load_linsol_symbolicqr | ( | ) |
Definition at line 100 of file symbolic_qr.cpp.
References casadi_register_linsol_symbolicqr(), and casadi::PluginInterface< LinsolInternal >::registerPlugin().
| void CASADI_LINSOL_TRIDIAG_EXPORT casadi::casadi_load_linsol_tridiag | ( | ) |
Definition at line 44 of file linsol_tridiag.cpp.
References casadi_register_linsol_tridiag(), and casadi::PluginInterface< LinsolInternal >::registerPlugin().
| void CASADI_MODELICAPARSER_LACEMODELICA_EXPORT casadi::casadi_load_modelicaparser_lacemodelica | ( | ) |
Definition at line 42 of file lace_modelica.cpp.
References casadi_register_modelicaparser_lacemodelica(), and casadi::PluginInterface< ModelicaParserInternal >::registerPlugin().
| void CASADI_NLPSOL_ALPAQA_EXPORT casadi::casadi_load_nlpsol_alpaqa | ( | ) |
Definition at line 45 of file alpaqa_interface.cpp.
References casadi_register_nlpsol_alpaqa(), and casadi::PluginInterface< Nlpsol >::registerPlugin().
| void CASADI_NLPSOL_AMPL_EXPORT casadi::casadi_load_nlpsol_ampl | ( | ) |
Definition at line 46 of file ampl_interface.cpp.
References casadi_register_nlpsol_ampl(), and casadi::PluginInterface< Nlpsol >::registerPlugin().
| void CASADI_NLPSOL_BLOCKSQP_EXPORT casadi::casadi_load_nlpsol_blocksqp | ( | ) |
Definition at line 45 of file blocksqp.cpp.
References casadi_register_nlpsol_blocksqp(), and casadi::PluginInterface< Nlpsol >::registerPlugin().
| void CASADI_NLPSOL_BONMIN_EXPORT casadi::casadi_load_nlpsol_bonmin | ( | ) |
Definition at line 53 of file bonmin_interface.cpp.
References casadi_register_nlpsol_bonmin(), and casadi::PluginInterface< Nlpsol >::registerPlugin().
| void CASADI_NLPSOL_CCOPT_EXPORT casadi::casadi_load_nlpsol_ccopt | ( | ) |
Definition at line 57 of file ccopt_interface.cpp.
References casadi_register_nlpsol_ccopt(), and casadi::PluginInterface< Nlpsol >::registerPlugin().
| void CASADI_NLPSOL_FATROP_EXPORT casadi::casadi_load_nlpsol_fatrop | ( | ) |
Definition at line 64 of file fatrop_interface.cpp.
References casadi_register_nlpsol_fatrop(), and casadi::PluginInterface< Nlpsol >::registerPlugin().
| void CASADI_NLPSOL_FEASIBLESQPMETHOD_EXPORT casadi::casadi_load_nlpsol_feasiblesqpmethod | ( | ) |
Definition at line 57 of file feasiblesqpmethod.cpp.
References casadi_register_nlpsol_feasiblesqpmethod(), and casadi::PluginInterface< Nlpsol >::registerPlugin().
| void CASADI_NLPSOL_IPOPT_EXPORT casadi::casadi_load_nlpsol_ipopt | ( | ) |
Definition at line 58 of file ipopt_interface.cpp.
References casadi_register_nlpsol_ipopt(), and casadi::PluginInterface< Nlpsol >::registerPlugin().
| void CASADI_NLPSOL_KNITRO_EXPORT casadi::casadi_load_nlpsol_knitro | ( | ) |
Definition at line 55 of file knitro_interface.cpp.
References casadi_register_nlpsol_knitro(), and casadi::PluginInterface< Nlpsol >::registerPlugin().
| void CASADI_NLPSOL_MADNLP_EXPORT casadi::casadi_load_nlpsol_madnlp | ( | ) |
Definition at line 57 of file madnlp_interface.cpp.
References casadi_register_nlpsol_madnlp(), and casadi::PluginInterface< Nlpsol >::registerPlugin().
| void CASADI_NLPSOL_QRSQP_EXPORT casadi::casadi_load_nlpsol_qrsqp | ( | ) |
Definition at line 52 of file qrsqp.cpp.
References casadi_register_nlpsol_qrsqp(), and casadi::PluginInterface< Nlpsol >::registerPlugin().
| void CASADI_NLPSOL_SCPGEN_EXPORT casadi::casadi_load_nlpsol_scpgen | ( | ) |
Definition at line 49 of file scpgen.cpp.
References casadi_register_nlpsol_scpgen(), and casadi::PluginInterface< Nlpsol >::registerPlugin().
| void CASADI_NLPSOL_SLEQP_EXPORT casadi::casadi_load_nlpsol_sleqp | ( | ) |
Definition at line 84 of file sleqp_interface.cpp.
References casadi_register_nlpsol_sleqp(), and casadi::PluginInterface< Nlpsol >::registerPlugin().
| void CASADI_NLPSOL_SNOPT_EXPORT casadi::casadi_load_nlpsol_snopt | ( | ) |
Definition at line 51 of file snopt_interface.cpp.
References casadi_register_nlpsol_snopt(), and casadi::PluginInterface< Nlpsol >::registerPlugin().
| void CASADI_NLPSOL_SQPMETHOD_EXPORT casadi::casadi_load_nlpsol_sqpmethod | ( | ) |
Definition at line 54 of file sqpmethod.cpp.
References casadi_register_nlpsol_sqpmethod(), and casadi::PluginInterface< Nlpsol >::registerPlugin().
| void CASADI_NLPSOL_UNO_EXPORT casadi::casadi_load_nlpsol_uno | ( | ) |
Definition at line 50 of file uno_interface.cpp.
References casadi_register_nlpsol_uno(), and casadi::PluginInterface< Nlpsol >::registerPlugin().
| void CASADI_NLPSOL_WORHP_EXPORT casadi::casadi_load_nlpsol_worhp | ( | ) |
Definition at line 47 of file worhp_interface.cpp.
References casadi_register_nlpsol_worhp(), and casadi::PluginInterface< Nlpsol >::registerPlugin().
| void CASADI_ONNX_ORT_EXPORT casadi::casadi_load_onnx_ort | ( | ) |
Definition at line 42 of file ort_interface.cpp.
References casadi_register_onnx_ort(), and casadi::PluginInterface< OnnxFunction >::registerPlugin().
| void CASADI_ROOTFINDER_FAST_NEWTON_EXPORT casadi::casadi_load_rootfinder_fast_newton | ( | ) |
Definition at line 45 of file fast_newton.cpp.
References casadi_register_rootfinder_fast_newton(), and casadi::PluginInterface< Rootfinder >::registerPlugin().
| void CASADI_ROOTFINDER_KINSOL_EXPORT casadi::casadi_load_rootfinder_kinsol | ( | ) |
Definition at line 42 of file kinsol_interface.cpp.
References casadi_register_rootfinder_kinsol(), and casadi::PluginInterface< Rootfinder >::registerPlugin().
| void CASADI_ROOTFINDER_NEWTON_EXPORT casadi::casadi_load_rootfinder_newton | ( | ) |
Definition at line 44 of file newton.cpp.
References casadi_register_rootfinder_newton(), and casadi::PluginInterface< Rootfinder >::registerPlugin().
| void CASADI_ROOTFINDER_NLPSOL_EXPORT casadi::casadi_load_rootfinder_nlpsol | ( | ) |
Definition at line 44 of file implicit_to_nlp.cpp.
References casadi_register_rootfinder_nlpsol(), and casadi::PluginInterface< Rootfinder >::registerPlugin().
| void CASADI_XMLFILE_TINYXML_EXPORT casadi::casadi_load_xmlfile_tinyxml | ( | ) |
Definition at line 41 of file tinyxml_interface.cpp.
References casadi_register_xmlfile_tinyxml(), and casadi::PluginInterface< XmlFileInternal >::registerPlugin().
|
static |
Definition at line 51 of file sleqp_interface.cpp.
References log_level_name(), and uout().
Referenced by casadi_register_nlpsol_sleqp().
| T1 casadi::casadi_logsumexp | ( | const T1 * | x, |
| casadi_int | n | ||
| ) |
Referenced by casadi::LogSumExp::eval_gen().
| casadi_int casadi::casadi_low | ( | T1 | x, |
| const T1 * | grid, | ||
| casadi_int | ng, | ||
| casadi_int | lookup_mode | ||
| ) |
Referenced by casadi::Low::eval().
|
inline |
| T1 casadi::casadi_max_viol | ( | casadi_int | n, |
| const T1 * | x, | ||
| const T1 * | lb, | ||
| const T1 * | ub | ||
| ) |
|
inline |
| T1 casadi::casadi_mmax | ( | const T1 * | x, |
| casadi_int | n, | ||
| T1 | is_dense | ||
| ) |
Referenced by casadi::MMax::eval(), and casadi::MMax::eval_sx().
| T1 casadi::casadi_mmin | ( | const T1 * | x, |
| casadi_int | n, | ||
| casadi_int | is_dense | ||
| ) |
Referenced by casadi::MMin::eval(), and casadi::MMin::eval_sx().
| void casadi::casadi_mtimes | ( | const T1 * | x, |
| const casadi_int * | sp_x, | ||
| const T1 * | y, | ||
| const casadi_int * | sp_y, | ||
| T1 * | z, | ||
| const casadi_int * | sp_z, | ||
| T1 * | w, | ||
| casadi_int | tr | ||
| ) |
Referenced by casadi::Multiplication::eval_kernel(), and casadi::Scpgen::eval_mat().
| void casadi::casadi_mtimes_dense | ( | const T1 * | x, |
| casadi_int | nrow_x, | ||
| casadi_int | ncol_x, | ||
| const T1 * | y, | ||
| casadi_int | ncol_y, | ||
| T1 * | z, | ||
| casadi_int | tr | ||
| ) |
| void casadi::casadi_mtimes_dense_sparse | ( | const T1 * | x, |
| casadi_int | nrow_x, | ||
| const T1 * | y, | ||
| const casadi_int * | sp_y, | ||
| T1 * | z | ||
| ) |
Referenced by casadi::DenseSparseMultiplication::eval_kernel().
| void casadi::casadi_mv | ( | const T1 * | x, |
| const casadi_int * | sp_x, | ||
| const T1 * | y, | ||
| T1 * | z, | ||
| casadi_int | tr | ||
| ) |
| void casadi::casadi_nd_boor_eval | ( | T1 * | ret, |
| casadi_int | n_dims, | ||
| const T1 * | knots, | ||
| const casadi_int * | offset, | ||
| const casadi_int * | degree, | ||
| const casadi_int * | strides, | ||
| const T1 * | c, | ||
| casadi_int | m, | ||
| const T1 * | x, | ||
| const casadi_int * | lookup_mode, | ||
| casadi_int * | iw, | ||
| T1 * | w | ||
| ) |
Referenced by casadi::BSpline::eval(), and casadi::BSplineParametric::eval().
| int casadi::casadi_newton | ( | const casadi_newton_mem< T1 > * | m | ) |
Referenced by casadi::FastNewton::solve().
| T1 casadi::casadi_norm_1 | ( | casadi_int | n, |
| const T1 * | x | ||
| ) |
| T1 casadi::casadi_norm_2 | ( | casadi_int | n, |
| const T1 * | x | ||
| ) |
| T1 casadi::casadi_norm_inf | ( | casadi_int | n, |
| const T1 * | x | ||
| ) |
Inf-norm of a vector * Returns the largest element in absolute value
Referenced by casadi::Sqpmethod::calc_gamma_1(), casadi::Blocksqp::calcOptTol(), casadi::NormInf::eval_gen(), casadi::Blocksqp::kktErrorReduction(), casadi::Blocksqp::printProgress(), casadi::Feasiblesqpmethod::solve(), casadi::Newton::solve(), casadi::Qrsqp::solve(), casadi::Sqpmethod::solve(), and casadi::Scpgen::solve_qp().
| T1 casadi::casadi_norm_inf_mul | ( | const T1 * | x, |
| const casadi_int * | sp_x, | ||
| const T1 * | y, | ||
| const casadi_int * | sp_y, | ||
| T1 * | dwork, | ||
| casadi_int * | iwork | ||
| ) |
Inf-norm of a Matrix-matrix product,*
| dwork | A real work vector that you must allocate Minimum size: y.size1() |
| iwork | A integer work vector that you must allocate Minimum size: y.size1()+x.size2()+1 |
| T1 casadi::casadi_polyval | ( | const T1 * | p, |
| casadi_int | n, | ||
| T1 | x | ||
| ) |
| void casadi::casadi_project | ( | const T1 * | x, |
| const casadi_int * | sp_x, | ||
| T1 * | y, | ||
| const casadi_int * | sp_y, | ||
| T1 * | w | ||
| ) |
| void casadi::casadi_rank1 | ( | T1 * | A, |
| const casadi_int * | sp_A, | ||
| T1 | alpha, | ||
| const T1 * | x | ||
| ) |
Referenced by casadi::Rank1::eval_gen().
| int CASADI_ARCHIVER_LIBZIP_EXPORT casadi::casadi_register_archiver_libzip | ( | Archiver::Plugin * | plugin | ) |
Definition at line 369 of file libzip.cpp.
References extract_zip_from_path(), extract_zip_from_stringstream(), casadi::Libzip::meta_doc, zip_entries_to_path(), zip_to_path(), and zip_to_stream().
Referenced by casadi_load_archiver_libzip().
| int CASADI_BLAS_BLASFEO_EXPORT casadi::casadi_register_blas_blasfeo | ( | Blas::Plugin * | plugin | ) |
Definition at line 148 of file blas_blasfeo.cpp.
References blasfeo_codegen_axpy_aux(), blasfeo_codegen_dot_aux(), blasfeo_codegen_mtimes(), blasfeo_daxpy(), blasfeo_ddot(), blasfeo_dgemm(), and casadi::BlasBlasfeo::meta_doc.
Referenced by casadi_load_blas_blasfeo().
| int CASADI_BLAS_CLASSIC_EXPORT casadi::casadi_register_blas_classic | ( | Blas::Plugin * | plugin | ) |
Definition at line 234 of file blas_classic.cpp.
References classic_codegen_asum_aux(), classic_codegen_axpy_aux(), classic_codegen_dot_aux(), classic_codegen_mtimes(), classic_codegen_nrm2_aux(), classic_codegen_scal_aux(), classic_dasum(), classic_daxpy(), classic_dcopy(), classic_ddot(), classic_dgemm(), classic_dnrm2(), classic_dscal(), and casadi::BlasClassic::meta_doc.
Referenced by casadi_load_blas_classic().
| int CASADI_CONIC_CBC_EXPORT casadi::casadi_register_conic_cbc | ( | Conic::Plugin * | plugin | ) |
Definition at line 34 of file cbc_interface.cpp.
References casadi::CbcInterface::creator(), casadi::CbcInterface::deserialize(), casadi::CbcInterface::meta_doc, and casadi::CbcInterface::options_.
Referenced by casadi_load_conic_cbc().
| int CASADI_CONIC_CLARABEL_EXPORT casadi::casadi_register_conic_clarabel | ( | Conic::Plugin * | plugin | ) |
Definition at line 34 of file clarabel_interface.cpp.
References casadi::ClarabelInterface::creator(), casadi::ClarabelInterface::deserialize(), casadi::ClarabelInterface::meta_doc, and casadi::ClarabelInterface::options_.
Referenced by casadi_load_conic_clarabel().
| int CASADI_CONIC_CLP_EXPORT casadi::casadi_register_conic_clp | ( | Conic::Plugin * | plugin | ) |
Definition at line 31 of file clp_interface.cpp.
References casadi::ClpInterface::creator(), casadi::ClpInterface::deserialize(), casadi::ClpInterface::meta_doc, and casadi::ClpInterface::options_.
Referenced by casadi_load_conic_clp().
| int CASADI_CONIC_CPLEX_EXPORT casadi::casadi_register_conic_cplex | ( | Conic::Plugin * | plugin | ) |
Definition at line 37 of file cplex_interface.cpp.
References casadi::CplexInterface::creator(), casadi::CplexInterface::deserialize(), casadi::CplexInterface::meta_doc, and casadi::CplexInterface::options_.
Referenced by casadi_load_conic_cplex().
| int CASADI_CONIC_DAQP_EXPORT casadi::casadi_register_conic_daqp | ( | Conic::Plugin * | plugin | ) |
Definition at line 33 of file daqp_interface.cpp.
References casadi::DaqpInterface::creator(), casadi::DaqpInterface::deserialize(), casadi::DaqpInterface::meta_doc, and casadi::DaqpInterface::options_.
Referenced by casadi_load_conic_daqp().
| int CASADI_CONIC_FATROP_EXPORT casadi::casadi_register_conic_fatrop | ( | Conic::Plugin * | plugin | ) |
Definition at line 36 of file fatrop_conic_interface.cpp.
References casadi::FatropConicInterface::creator(), casadi::FatropConicInterface::meta_doc, and casadi::FatropConicInterface::options_.
Referenced by casadi_load_conic_fatrop().
| int CASADI_CONIC_GUROBI_EXPORT casadi::casadi_register_conic_gurobi | ( | Conic::Plugin * | plugin | ) |
Definition at line 107 of file gurobi_interface.cpp.
References casadi::GurobiInterface::creator(), casadi::GurobiInterface::deserialize(), casadi::GurobiInterface::meta_doc, and casadi::GurobiInterface::options_.
Referenced by casadi_load_conic_gurobi().
| int CASADI_CONIC_HIGHS_EXPORT casadi::casadi_register_conic_highs | ( | Conic::Plugin * | plugin | ) |
Definition at line 33 of file highs_interface.cpp.
References casadi::HighsInterface::creator(), casadi::HighsInterface::deserialize(), casadi::HighsInterface::meta_doc, and casadi::HighsInterface::options_.
Referenced by casadi_load_conic_highs().
| int CASADI_CONIC_HPIPM_EXPORT casadi::casadi_register_conic_hpipm | ( | Conic::Plugin * | plugin | ) |
Definition at line 35 of file hpipm_interface.cpp.
References casadi::HpipmInterface::creator(), casadi::HpipmInterface::meta_doc, and casadi::HpipmInterface::options_.
Referenced by casadi_load_conic_hpipm().
| int CASADI_CONIC_HPMPC_EXPORT casadi::casadi_register_conic_hpmpc | ( | Conic::Plugin * | plugin | ) |
Definition at line 32 of file hpmpc_interface.cpp.
References casadi::HpmpcInterface::creator(), casadi::HpmpcInterface::meta_doc, and casadi::HpmpcInterface::options_.
Referenced by casadi_load_conic_hpmpc().
| int CASADI_CONIC_IPQP_EXPORT casadi::casadi_register_conic_ipqp | ( | Conic::Plugin * | plugin | ) |
Definition at line 33 of file ipqp.cpp.
References casadi::Ipqp::creator(), casadi::Ipqp::deserialize(), casadi::Ipqp::meta_doc, and casadi::Ipqp::options_.
Referenced by casadi_load_conic_ipqp().
| int CASADI_CONIC_MOSEK_EXPORT casadi::casadi_register_conic_mosek | ( | Conic::Plugin * | plugin | ) |
Definition at line 38 of file mosek_interface.cpp.
References casadi::MosekInterface::creator(), casadi::MosekInterface::deserialize(), casadi::MosekInterface::meta_doc, and casadi::MosekInterface::options_.
Referenced by casadi_load_conic_mosek().
| int CASADI_CONIC_NLPSOL_EXPORT casadi::casadi_register_conic_nlpsol | ( | Conic::Plugin * | plugin | ) |
Definition at line 34 of file qp_to_nlp.cpp.
References casadi::QpToNlp::creator(), casadi::QpToNlp::deserialize(), casadi::QpToNlp::meta_doc, and casadi::QpToNlp::options_.
Referenced by casadi_load_conic_nlpsol().
| int CASADI_CONIC_OOQP_EXPORT casadi::casadi_register_conic_ooqp | ( | Conic::Plugin * | plugin | ) |
Definition at line 42 of file ooqp_interface.cpp.
References casadi::OoqpInterface::creator(), casadi::OoqpInterface::deserialize(), casadi::OoqpInterface::meta_doc, and casadi::OoqpInterface::options_.
Referenced by casadi_load_conic_ooqp().
| int CASADI_CONIC_OSQP_EXPORT casadi::casadi_register_conic_osqp | ( | Conic::Plugin * | plugin | ) |
Definition at line 50 of file osqp_interface.cpp.
References casadi::OsqpInterface::creator(), casadi::OsqpInterface::deserialize(), casadi::OsqpInterface::meta_doc, and casadi::OsqpInterface::options_.
Referenced by casadi_load_conic_osqp().
| int CASADI_CONIC_PIQP_EXPORT casadi::casadi_register_conic_piqp | ( | Conic::Plugin * | plugin | ) |
Definition at line 35 of file piqp_interface.cpp.
References casadi_register_conic_piqp().
Referenced by casadi_load_conic_piqp(), and casadi_register_conic_piqp().
| int CASADI_CONIC_PROXQP_EXPORT casadi::casadi_register_conic_proxqp | ( | Conic::Plugin * | plugin | ) |
Definition at line 36 of file proxqp_interface.cpp.
References casadi_register_conic_proxqp().
Referenced by casadi_load_conic_proxqp(), and casadi_register_conic_proxqp().
| int CASADI_CONIC_QPOASES_EXPORT casadi::casadi_register_conic_qpoases | ( | Conic::Plugin * | plugin | ) |
Definition at line 36 of file qpoases_interface.cpp.
References casadi::QpoasesInterface::creator(), casadi::QpoasesInterface::deserialize(), casadi::QpoasesInterface::meta_doc, and casadi::QpoasesInterface::options_.
Referenced by casadi_load_conic_qpoases().
| int CASADI_CONIC_QRQP_EXPORT casadi::casadi_register_conic_qrqp | ( | Conic::Plugin * | plugin | ) |
Definition at line 33 of file qrqp.cpp.
References casadi::Qrqp::creator(), casadi::Qrqp::deserialize(), casadi::Qrqp::meta_doc, and casadi::Qrqp::options_.
Referenced by casadi_load_conic_qrqp().
| int CASADI_CONIC_SQIC_EXPORT casadi::casadi_register_conic_sqic | ( | Conic::Plugin * | plugin | ) |
Definition at line 38 of file sqic_interface.cpp.
References casadi::SqicInterface::creator(), casadi::SqicInterface::meta_doc, and casadi::Conic::options_.
Referenced by casadi_load_conic_sqic().
| int CASADI_CONIC_SUPERSCS_EXPORT casadi::casadi_register_conic_superscs | ( | Conic::Plugin * | plugin | ) |
Definition at line 37 of file superscs_interface.cpp.
References casadi::SuperscsInterface::creator(), casadi::SuperscsInterface::deserialize(), casadi::SuperscsInterface::meta_doc, and casadi::SuperscsInterface::options_.
Referenced by casadi_load_conic_superscs().
| int CASADI_CONIC_XPRESS_EXPORT casadi::casadi_register_conic_xpress | ( | Conic::Plugin * | plugin | ) |
Definition at line 46 of file xpress_interface.cpp.
References casadi::XpressInterface::creator(), casadi::XpressInterface::deserialize(), casadi::XpressInterface::meta_doc, and casadi::XpressInterface::options_.
Referenced by casadi_load_conic_xpress().
| int CASADI_DPLE_SLICOT_EXPORT casadi::casadi_register_dple_slicot | ( | Dple::Plugin * | plugin | ) |
Definition at line 42 of file slicot_dple.cpp.
References casadi::SlicotDple::creator(), casadi::SlicotDple::meta_doc, and casadi::SlicotDple::options_.
Referenced by casadi_load_dple_slicot().
| int CASADI_EXPM_SLICOT_EXPORT casadi::casadi_register_expm_slicot | ( | Expm::Plugin * | plugin | ) |
Definition at line 42 of file slicot_expm.cpp.
References casadi::SlicotExpm::creator(), casadi::SlicotExpm::meta_doc, and casadi::Expm::options_.
Referenced by casadi_load_expm_slicot().
| int CASADI_FILESYSTEM_GHC_EXPORT casadi::casadi_register_filesystem_ghc | ( | Filesystem::Plugin * | plugin | ) |
Definition at line 73 of file ghc.cpp.
References absolute(), create_directories(), filename(), has_parent_path(), is_directory(), iterate_directory_names(), casadi::Ghc::meta_doc, parent_path(), remove(), and remove_all().
Referenced by casadi_load_filesystem_ghc().
| int CASADI_GRAPHMODEL_ONNX_EXPORT casadi::casadi_register_graphmodel_onnx | ( | GraphModelInternal::Plugin * | plugin | ) |
Definition at line 35 of file onnx_model.cpp.
References casadi::Onnx::creator(), casadi::Onnx::meta_doc, and casadi::Onnx::options_.
Referenced by casadi_load_graphmodel_onnx().
| int CASADI_IMPORTER_CLANG_EXPORT casadi::casadi_register_importer_clang | ( | ImporterInternal::Plugin * | plugin | ) |
Definition at line 46 of file clang_compiler.cpp.
References casadi::ClangCompiler::creator(), casadi::ClangCompiler::meta_doc, and casadi::ClangCompiler::options_.
Referenced by casadi_load_importer_clang(), and casadi::ClangCompiler::init().
| int CASADI_IMPORTER_SHELL_EXPORT casadi::casadi_register_importer_shell | ( | ImporterInternal::Plugin * | plugin | ) |
Definition at line 43 of file shell_compiler.cpp.
References casadi::ShellCompiler::creator(), casadi::ShellCompiler::meta_doc, and casadi::ShellCompiler::options_.
Referenced by casadi_load_importer_shell().
| int CASADI_INTEGRATOR_COLLOCATION_EXPORT casadi::casadi_register_integrator_collocation | ( | Integrator::Plugin * | plugin | ) |
Definition at line 34 of file collocation.cpp.
References casadi::Collocation::creator(), casadi::Collocation::deserialize(), casadi::Collocation::meta_doc, and casadi::Collocation::options_.
Referenced by casadi_load_integrator_collocation().
| int CASADI_INTEGRATOR_CVODES_EXPORT casadi::casadi_register_integrator_cvodes | ( | Integrator::Plugin * | plugin | ) |
Definition at line 36 of file cvodes_interface.cpp.
References casadi::CvodesInterface::creator(), casadi::CvodesInterface::deserialize(), casadi::CvodesInterface::meta_doc, and casadi::CvodesInterface::options_.
Referenced by casadi_load_integrator_cvodes().
| int CASADI_INTEGRATOR_IDAS_EXPORT casadi::casadi_register_integrator_idas | ( | Integrator::Plugin * | plugin | ) |
Definition at line 37 of file idas_interface.cpp.
References casadi::IdasInterface::creator(), casadi::IdasInterface::deserialize(), casadi::IdasInterface::meta_doc, and casadi::IdasInterface::options_.
Referenced by casadi_load_integrator_idas().
| int CASADI_INTEGRATOR_RK_EXPORT casadi::casadi_register_integrator_rk | ( | Integrator::Plugin * | plugin | ) |
Definition at line 32 of file runge_kutta.cpp.
References casadi::RungeKutta::creator(), casadi::RungeKutta::deserialize(), casadi::RungeKutta::meta_doc, and casadi::FixedStepIntegrator::options_.
Referenced by casadi_load_integrator_rk().
| int CASADI_INTERPOLANT_BSPLINE_EXPORT casadi::casadi_register_interpolant_bspline | ( | Interpolant::Plugin * | plugin | ) |
Definition at line 33 of file bspline_interpolant.cpp.
References casadi::BSplineInterpolant::creator(), casadi::BSplineInterpolant::deserialize(), casadi::BSplineInterpolant::meta_doc, and casadi::BSplineInterpolant::options_.
Referenced by casadi_load_interpolant_bspline().
| int CASADI_INTERPOLANT_LINEAR_EXPORT casadi::casadi_register_interpolant_linear | ( | Interpolant::Plugin * | plugin | ) |
Definition at line 32 of file linear_interpolant.cpp.
References casadi::LinearInterpolant::creator(), casadi::LinearInterpolant::deserialize(), casadi::LinearInterpolant::do_inline(), casadi::LinearInterpolant::meta_doc, and casadi::LinearInterpolant::options_.
Referenced by casadi_load_interpolant_linear().
| int CASADI_LINSOL_CSPARSE_EXPORT casadi::casadi_register_linsol_csparse | ( | LinsolInternal::Plugin * | plugin | ) |
Definition at line 34 of file csparse_interface.cpp.
References casadi::CsparseInterface::creator(), casadi::CsparseInterface::deserialize(), casadi::CsparseInterface::meta_doc, and casadi::ProtoFunction::options_.
Referenced by casadi_load_linsol_csparse().
| int CASADI_LINSOL_LAPACKLU_EXPORT casadi::casadi_register_linsol_lapacklu | ( | LinsolInternal::Plugin * | plugin | ) |
Definition at line 33 of file lapack_lu.cpp.
References casadi::LapackLu::creator(), casadi::LapackLu::deserialize(), casadi::LapackLu::meta_doc, and casadi::LapackLu::options_.
Referenced by casadi_load_linsol_lapacklu().
| int CASADI_LINSOL_LAPACKQR_EXPORT casadi::casadi_register_linsol_lapackqr | ( | LinsolInternal::Plugin * | plugin | ) |
Definition at line 33 of file lapack_qr.cpp.
References casadi::LapackQr::creator(), casadi::LapackQr::deserialize(), casadi::LapackQr::meta_doc, and casadi::LapackQr::options_.
Referenced by casadi_load_linsol_lapackqr().
| int CASADI_LINSOL_LDL_EXPORT casadi::casadi_register_linsol_ldl | ( | LinsolInternal::Plugin * | plugin | ) |
Definition at line 33 of file linsol_ldl.cpp.
References casadi::LinsolLdl::creator(), casadi::LinsolLdl::deserialize(), casadi::LinsolLdl::meta_doc, and casadi::LinsolLdl::options_.
Referenced by casadi_load_linsol_ldl().
| int CASADI_LINSOL_LSQR_EXPORT casadi::casadi_register_linsol_lsqr | ( | LinsolInternal::Plugin * | plugin | ) |
Definition at line 36 of file lsqr.cpp.
References casadi::Lsqr::creator(), casadi::Lsqr::deserialize(), casadi::Lsqr::meta_doc, and casadi::ProtoFunction::options_.
Referenced by casadi_load_linsol_lsqr().
| int CASADI_LINSOL_MA27_EXPORT casadi::casadi_register_linsol_ma27 | ( | LinsolInternal::Plugin * | plugin | ) |
Definition at line 34 of file ma27_interface.cpp.
References casadi::Ma27Interface::creator(), casadi::Ma27Interface::deserialize(), casadi::Ma27Interface::meta_doc, and casadi::ProtoFunction::options_.
Referenced by casadi_load_linsol_ma27().
| int CASADI_LINSOL_MUMPS_EXPORT casadi::casadi_register_linsol_mumps | ( | LinsolInternal::Plugin * | plugin | ) |
Definition at line 34 of file mumps_interface.cpp.
References casadi::MumpsInterface::creator(), casadi::MumpsInterface::deserialize(), casadi::MumpsInterface::meta_doc, and casadi::MumpsInterface::options_.
Referenced by casadi_load_linsol_mumps().
| int CASADI_LINSOL_QR_EXPORT casadi::casadi_register_linsol_qr | ( | LinsolInternal::Plugin * | plugin | ) |
Definition at line 33 of file linsol_qr.cpp.
References casadi::LinsolQr::creator(), casadi::LinsolQr::deserialize(), casadi::LinsolQr::meta_doc, and casadi::LinsolQr::options_.
Referenced by casadi_load_linsol_qr().
| int CASADI_LINSOL_SYMBOLICQR_EXPORT casadi::casadi_register_linsol_symbolicqr | ( | LinsolInternal::Plugin * | plugin | ) |
Definition at line 36 of file symbolic_qr.cpp.
References casadi::SymbolicQr::creator(), casadi::SymbolicQr::deserialize(), casadi::SymbolicQr::det(), casadi::SymbolicQr::meta_doc, and casadi::SymbolicQr::options_.
Referenced by casadi_load_linsol_symbolicqr().
| int CASADI_LINSOL_TRIDIAG_EXPORT casadi::casadi_register_linsol_tridiag | ( | LinsolInternal::Plugin * | plugin | ) |
Definition at line 34 of file linsol_tridiag.cpp.
References casadi::LinsolTridiag::creator(), casadi::LinsolTridiag::meta_doc, and casadi::ProtoFunction::options_.
Referenced by casadi_load_linsol_tridiag().
| int CASADI_MODELICAPARSER_LACEMODELICA_EXPORT casadi::casadi_register_modelicaparser_lacemodelica | ( | ModelicaParserInternal::Plugin * | plugin | ) |
Definition at line 33 of file lace_modelica.cpp.
References casadi::LaceModelica::creator(), and casadi::LaceModelica::meta_doc.
Referenced by casadi_load_modelicaparser_lacemodelica().
| int CASADI_NLPSOL_ALPAQA_EXPORT casadi::casadi_register_nlpsol_alpaqa | ( | Nlpsol::Plugin * | plugin | ) |
Definition at line 34 of file alpaqa_interface.cpp.
References casadi::AlpaqaInterface::creator(), casadi::AlpaqaInterface::deserialize(), casadi::AlpaqaInterface::meta_doc, and casadi::AlpaqaInterface::options_.
Referenced by casadi_load_nlpsol_alpaqa().
| int CASADI_NLPSOL_AMPL_EXPORT casadi::casadi_register_nlpsol_ampl | ( | Nlpsol::Plugin * | plugin | ) |
Definition at line 36 of file ampl_interface.cpp.
References casadi::AmplInterface::creator(), casadi::AmplInterface::meta_doc, and casadi::AmplInterface::options_.
Referenced by casadi_load_nlpsol_ampl().
| int CASADI_NLPSOL_BLOCKSQP_EXPORT casadi::casadi_register_nlpsol_blocksqp | ( | Nlpsol::Plugin * | plugin | ) |
Definition at line 34 of file blocksqp.cpp.
References casadi::Blocksqp::creator(), casadi::Blocksqp::deserialize(), casadi::Blocksqp::meta_doc, and casadi::Blocksqp::options_.
Referenced by casadi_load_nlpsol_blocksqp().
| int CASADI_NLPSOL_BONMIN_EXPORT casadi::casadi_register_nlpsol_bonmin | ( | Nlpsol::Plugin * | plugin | ) |
Definition at line 42 of file bonmin_interface.cpp.
References casadi::BonminInterface::creator(), casadi::BonminInterface::deserialize(), casadi::BonminInterface::meta_doc, and casadi::BonminInterface::options_.
Referenced by casadi_load_nlpsol_bonmin().
| int CASADI_NLPSOL_CCOPT_EXPORT casadi::casadi_register_nlpsol_ccopt | ( | Nlpsol::Plugin * | plugin | ) |
Definition at line 46 of file ccopt_interface.cpp.
References casadi::MadmpecInterface::creator(), casadi::MadmpecInterface::deserialize(), casadi::MadmpecInterface::meta_doc, and casadi::MadmpecInterface::options_.
Referenced by casadi_load_nlpsol_ccopt().
| int CASADI_NLPSOL_FATROP_EXPORT casadi::casadi_register_nlpsol_fatrop | ( | Nlpsol::Plugin * | plugin | ) |
Definition at line 53 of file fatrop_interface.cpp.
References casadi::FatropInterface::creator(), casadi::FatropInterface::deserialize(), casadi::FatropInterface::meta_doc, and casadi::FatropInterface::options_.
Referenced by casadi_load_nlpsol_fatrop().
| int CASADI_NLPSOL_FEASIBLESQPMETHOD_EXPORT casadi::casadi_register_nlpsol_feasiblesqpmethod | ( | Nlpsol::Plugin * | plugin | ) |
Definition at line 46 of file feasiblesqpmethod.cpp.
References casadi::Feasiblesqpmethod::creator(), casadi::Feasiblesqpmethod::deserialize(), casadi::Feasiblesqpmethod::meta_doc, and casadi::Feasiblesqpmethod::options_.
Referenced by casadi_load_nlpsol_feasiblesqpmethod().
| int CASADI_NLPSOL_IPOPT_EXPORT casadi::casadi_register_nlpsol_ipopt | ( | Nlpsol::Plugin * | plugin | ) |
Definition at line 47 of file ipopt_interface.cpp.
References casadi::IpoptInterface::creator(), casadi::IpoptInterface::deserialize(), casadi::IpoptInterface::meta_doc, and casadi::IpoptInterface::options_.
Referenced by casadi_load_nlpsol_ipopt().
| int CASADI_NLPSOL_KNITRO_EXPORT casadi::casadi_register_nlpsol_knitro | ( | Nlpsol::Plugin * | plugin | ) |
Definition at line 44 of file knitro_interface.cpp.
References casadi::KnitroInterface::creator(), casadi::KnitroInterface::deserialize(), casadi::KnitroInterface::meta_doc, and casadi::KnitroInterface::options_.
Referenced by casadi_load_nlpsol_knitro().
| int CASADI_NLPSOL_MADNLP_EXPORT casadi::casadi_register_nlpsol_madnlp | ( | Nlpsol::Plugin * | plugin | ) |
Definition at line 46 of file madnlp_interface.cpp.
References casadi::MadnlpInterface::creator(), casadi::MadnlpInterface::deserialize(), casadi::MadnlpInterface::meta_doc, and casadi::MadnlpInterface::options_.
Referenced by casadi_load_nlpsol_madnlp().
| int CASADI_NLPSOL_QRSQP_EXPORT casadi::casadi_register_nlpsol_qrsqp | ( | Nlpsol::Plugin * | plugin | ) |
Definition at line 42 of file qrsqp.cpp.
References casadi::Qrsqp::creator(), casadi::Qrsqp::meta_doc, and casadi::Qrsqp::options_.
Referenced by casadi_load_nlpsol_qrsqp().
| int CASADI_NLPSOL_SCPGEN_EXPORT casadi::casadi_register_nlpsol_scpgen | ( | Nlpsol::Plugin * | plugin | ) |
Definition at line 39 of file scpgen.cpp.
References casadi::Scpgen::creator(), casadi::Scpgen::meta_doc, and casadi::Scpgen::options_.
Referenced by casadi_load_nlpsol_scpgen().
| int CASADI_NLPSOL_SLEQP_EXPORT casadi::casadi_register_nlpsol_sleqp | ( | Nlpsol::Plugin * | plugin | ) |
Definition at line 70 of file sleqp_interface.cpp.
References casadi_log_output(), casadi::SLEQPInterface::creator(), casadi::SLEQPInterface::deserialize(), casadi::SLEQPInterface::meta_doc, and casadi::SLEQPInterface::options_.
Referenced by casadi_load_nlpsol_sleqp().
| int CASADI_NLPSOL_SNOPT_EXPORT casadi::casadi_register_nlpsol_snopt | ( | Nlpsol::Plugin * | plugin | ) |
Definition at line 40 of file snopt_interface.cpp.
References casadi::SnoptInterface::creator(), casadi::SnoptInterface::deserialize(), casadi::SnoptInterface::meta_doc, and casadi::SnoptInterface::options_.
Referenced by casadi_load_nlpsol_snopt().
| int CASADI_NLPSOL_SQPMETHOD_EXPORT casadi::casadi_register_nlpsol_sqpmethod | ( | Nlpsol::Plugin * | plugin | ) |
Definition at line 43 of file sqpmethod.cpp.
References casadi::Sqpmethod::creator(), casadi::Sqpmethod::deserialize(), casadi::Sqpmethod::meta_doc, and casadi::Sqpmethod::options_.
Referenced by casadi_load_nlpsol_sqpmethod().
| int CASADI_NLPSOL_UNO_EXPORT casadi::casadi_register_nlpsol_uno | ( | Nlpsol::Plugin * | plugin | ) |
Definition at line 39 of file uno_interface.cpp.
References casadi::UnoInterface::creator(), casadi::UnoInterface::deserialize(), casadi::UnoInterface::meta_doc, and casadi::UnoInterface::options_.
Referenced by casadi_load_nlpsol_uno().
| int CASADI_NLPSOL_WORHP_EXPORT casadi::casadi_register_nlpsol_worhp | ( | Nlpsol::Plugin * | plugin | ) |
Definition at line 36 of file worhp_interface.cpp.
References casadi::WorhpInterface::creator(), casadi::WorhpInterface::deserialize(), casadi::WorhpInterface::meta_doc, and casadi::WorhpInterface::options_.
Referenced by casadi_load_nlpsol_worhp().
| int CASADI_ONNX_ORT_EXPORT casadi::casadi_register_onnx_ort | ( | OnnxFunction::Plugin * | plugin | ) |
Definition at line 31 of file ort_interface.cpp.
References casadi::OnnxRuntimeInterface::creator(), casadi::OnnxRuntimeInterface::deserialize(), casadi::OnnxRuntimeInterface::meta_doc, and casadi::OnnxRuntimeInterface::options_.
Referenced by casadi_load_onnx_ort().
| int CASADI_ROOTFINDER_FAST_NEWTON_EXPORT casadi::casadi_register_rootfinder_fast_newton | ( | Rootfinder::Plugin * | plugin | ) |
Definition at line 34 of file fast_newton.cpp.
References casadi::FastNewton::creator(), casadi::FastNewton::deserialize(), casadi::FastNewton::meta_doc, and casadi::FastNewton::options_.
Referenced by casadi_load_rootfinder_fast_newton().
| int CASADI_ROOTFINDER_KINSOL_EXPORT casadi::casadi_register_rootfinder_kinsol | ( | Rootfinder::Plugin * | plugin | ) |
Definition at line 32 of file kinsol_interface.cpp.
References casadi::KinsolInterface::creator(), casadi::KinsolInterface::meta_doc, and casadi::KinsolInterface::options_.
Referenced by casadi_load_rootfinder_kinsol().
| int CASADI_ROOTFINDER_NEWTON_EXPORT casadi::casadi_register_rootfinder_newton | ( | Rootfinder::Plugin * | plugin | ) |
Definition at line 33 of file newton.cpp.
References casadi::Newton::creator(), casadi::Newton::deserialize(), casadi::Newton::meta_doc, and casadi::Newton::options_.
Referenced by casadi_load_rootfinder_newton().
| int CASADI_ROOTFINDER_NLPSOL_EXPORT casadi::casadi_register_rootfinder_nlpsol | ( | Rootfinder::Plugin * | plugin | ) |
Definition at line 34 of file implicit_to_nlp.cpp.
References casadi::ImplicitToNlp::creator(), casadi::ImplicitToNlp::meta_doc, and casadi::ImplicitToNlp::options_.
Referenced by casadi_load_rootfinder_nlpsol().
| int CASADI_XMLFILE_TINYXML_EXPORT casadi::casadi_register_xmlfile_tinyxml | ( | XmlFileInternal::Plugin * | plugin | ) |
Definition at line 32 of file tinyxml_interface.cpp.
References casadi::TinyXmlInterface::creator(), and casadi::TinyXmlInterface::meta_doc.
Referenced by casadi_load_xmlfile_tinyxml().
| void casadi::casadi_scal | ( | casadi_int | n, |
| T1 | alpha, | ||
| T1 * | x | ||
| ) |
Referenced by casadi::Blocksqp::calcLagrangeGradient(), casadi::Nlpsol::eval(), casadi::Scpgen::eval_vec(), casadi::HpmpcInterface::mproject(), casadi::CvodesInterface::rhsB(), casadi::CvodesInterface::rhsQB(), casadi::IdasInterface::rhsQB(), casadi::ClpInterface::solve(), casadi::CplexInterface::solve(), casadi::GurobiInterface::solve(), casadi::QpoasesInterface::solve(), casadi::Blocksqp::solve(), casadi::SnoptInterface::solve(), casadi::WorhpInterface::solve(), casadi::Qrsqp::solve(), and casadi::Sqpmethod::solve().
| void casadi::casadi_sleqp_func_create | ( | SleqpFunc ** | star, |
| int | num_vars, | ||
| int | num_cons, | ||
| SLEQPMemory * | m | ||
| ) |
Definition at line 237 of file sleqp_func.cpp.
References casadi_func_cons_jac(), casadi_func_cons_val(), casadi_func_free(), casadi_func_hess_prod(), casadi_func_nonzeros(), casadi_func_obj_grad(), casadi_func_obj_val(), and casadi_func_set().
Referenced by casadi::SLEQPInterface::set_work().
| void casadi::casadi_sparsify | ( | const T1 * | x, |
| T2 * | y, | ||
| const casadi_int * | sp_y, | ||
| casadi_int | tr | ||
| ) |
Referenced by casadi::Sparsify::eval_gen().
| T1 casadi::casadi_sum_viol | ( | casadi_int | n, |
| const T1 * | x, | ||
| const T1 * | lb, | ||
| const T1 * | ub | ||
| ) |
Referenced by casadi::Scpgen::primalInfeasibility(), and casadi::Sqpmethod::solve().
| void casadi::casadi_swap | ( | casadi_int | n, |
| T1 * | x, | ||
| casadi_int | inc_x, | ||
| T1 * | y, | ||
| casadi_int | inc_y | ||
| ) |
| void casadi::casadi_tensor_ttv | ( | T1 * | ret, |
| casadi_int | dim, | ||
| casadi_int | n_dims, | ||
| const T1 * | all_w, | ||
| const casadi_int * | w_offset, | ||
| const casadi_int * | starts, | ||
| const casadi_int * | strides, | ||
| const T1 * | c, | ||
| casadi_int | m, | ||
| T1 | weight, | ||
| casadi_int | offset | ||
| ) |
| void casadi::casadi_trans | ( | const T1 * | x, |
| const casadi_int * | sp_x, | ||
| T1 * | y, | ||
| const casadi_int * | sp_y, | ||
| casadi_int * | tmp | ||
| ) |
Referenced by casadi::FmuFunction::eval(), casadi::SlicotDple::eval(), and casadi::OoqpInterface::solve().
| void casadi::casadi_trilsolve | ( | const casadi_int * | sp_a, |
| const T1 * | nz_a, | ||
| T1 * | x, | ||
| int | tr, | ||
| int | unity, | ||
| casadi_int | nrhs | ||
| ) |
| void casadi::casadi_triusolve | ( | const casadi_int * | sp_a, |
| const T1 * | nz_a, | ||
| T1 * | x, | ||
| int | tr, | ||
| int | unity, | ||
| casadi_int | nrhs | ||
| ) |
|
static |
Definition at line 187 of file uno_interface.cpp.
References casadi_copy(), NLPSOL_LAM_G, NLPSOL_LAM_X, NLPSOL_X, and casadi::FunctionInternal::self().
Referenced by casadi::UnoInterface::init_mem().
| T1 casadi::casadi_vfmax | ( | const T1 * | x, |
| casadi_int | n, | ||
| T1 | r | ||
| ) |
| T1 casadi::casadi_vfmin | ( | const T1 * | x, |
| casadi_int | n, | ||
| T1 | r | ||
| ) |
| T casadi::check_exposed | ( | T | t | ) |
Definition at line 40 of file plugin_interface.hpp.
References T.
| void casadi::check_sos | ( | casadi_int | nx, |
| const std::vector< std::vector< T > > & | groups, | ||
| std::vector< std::vector< double > > & | weights, | ||
| std::vector< casadi_int > & | types | ||
| ) |
Extra doc: https://github.com/casadi/casadi/wiki/L_1sx
Definition at line 79 of file nlp_tools.hpp.
References in_range(), and str().
Referenced by casadi::CbcInterface::init(), casadi::CplexInterface::init(), casadi::GurobiInterface::init(), and casadi::XpressInterface::init().
|
static |
Definition at line 219 of file blas_classic.cpp.
References casadi::CodeGenerator::auxiliaries, CLASSIC_DASUM_DECL, and casadi::CodeGenerator::sanitize_source().
Referenced by casadi_register_blas_classic().
|
static |
Definition at line 169 of file blas_classic.cpp.
References casadi::CodeGenerator::auxiliaries, CLASSIC_DAXPY_DECL, and casadi::CodeGenerator::sanitize_source().
Referenced by casadi_register_blas_classic().
|
static |
Definition at line 194 of file blas_classic.cpp.
References casadi::CodeGenerator::auxiliaries, CLASSIC_DDOT_DECL, and casadi::CodeGenerator::sanitize_source().
Referenced by casadi_register_blas_classic().
|
static |
Definition at line 150 of file blas_classic.cpp.
References casadi::CodeGenerator::add_external(), C, CLASSIC_DECL, casadi::CodeGenerator::init_local(), and casadi::CodeGenerator::local().
Referenced by casadi_register_blas_classic().
|
static |
Definition at line 207 of file blas_classic.cpp.
References casadi::CodeGenerator::auxiliaries, CLASSIC_DNRM2_DECL, and casadi::CodeGenerator::sanitize_source().
Referenced by casadi_register_blas_classic().
|
static |
Definition at line 182 of file blas_classic.cpp.
References casadi::CodeGenerator::auxiliaries, CLASSIC_DSCAL_DECL, and casadi::CodeGenerator::sanitize_source().
Referenced by casadi_register_blas_classic().
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 35 of file blas_classic.cpp.
References C, and CASADI_BLAS_TRANS.
Referenced by casadi_register_blas_classic().
|
static |
|
static |
|
static |
Definition at line 142 of file multiplication.cpp.
References casadi::CodeGenerator::copy(), and casadi::CodeGenerator::work().
Referenced by casadi::Multiplication::generate(), casadi::DenseMultiplication::generate(), casadi::DenseSparseMultiplication::generate(), and casadi::PseudoDenseMultiplication::generate().
|
static |
Definition at line 398 of file uno_interface.cpp.
References casadi::CodeGenerator::array(), and casadi::CodeGenerator::initializer().
|
static |
Definition at line 165 of file mosek_interface.cpp.
References casadi::CodeGenerator::constant_copy().
Referenced by casadi::MosekInterface::set_mosek_prob(), and casadi::XpressInterface::set_xpress_prob().
|
static |
Definition at line 226 of file xpress_interface.cpp.
References casadi::CodeGenerator::constant_copy().
| void casadi::codegen_local | ( | CodeGenerator & | g, |
| const std::string & | name, | ||
| const std::vector< int > & | v | ||
| ) |
Definition at line 105 of file clarabel_interface.cpp.
References casadi::CodeGenerator::init_local(), and casadi::CodeGenerator::local().
Referenced by casadi::ClarabelInterface::set_clarabel_prob(), casadi::DaqpInterface::set_daqp_prob(), casadi::HighsInterface::set_highs_prob(), and casadi::HpipmInterface::set_hpipm_prob().
| void casadi::codegen_unpack_block | ( | CodeGenerator & | g, |
| const std::string & | name, | ||
| const std::vector< casadi_hpipm_block > & | blocks | ||
| ) |
Definition at line 490 of file hpipm_interface.cpp.
References casadi::CodeGenerator::constant(), hpipm_blocks_pack(), casadi::CodeGenerator::local(), and str().
| void casadi::codegen_unpack_block | ( | CodeGenerator & | g, |
| const std::string & | name, | ||
| const std::vector< casadi_ocp_block > & | blocks | ||
| ) |
Definition at line 813 of file fatrop_interface.cpp.
References casadi::CodeGenerator::constant(), fatrop_blocks_pack(), casadi::CodeGenerator::local(), and str().
Referenced by casadi::FatropInterface::set_fatrop_prob(), and casadi::HpipmInterface::set_hpipm_prob().
| CASADI_EXPORT void casadi::collocation_coeff | ( | const std::vector< double > & | tau, |
| DM & | C, | ||
| DM & | D, | ||
| DM & | B | ||
| ) |
A collocation method poses a polynomial Pi that interpolates exactly through an initial state (0,X_0) and helper states at collocation points (tau_j,Xc_j) with j=1..degree.
This function computes the linear mapping between dPi/dt and coefficients Z=[X_0 Xc].
| tau | location of collocation points (length: degree), as obtained from collocation_points | |
| [out] | C | interpolating coefficients to obtain derivatives. Size: (degree+1)-by-degree |
You may find the slopes of Pi at the collocation points as
dPi/dt @ Xc = (1/h) Z*C,
with h the length of the integration interval.
| [out] | D | interpolating coefficients to obtain end state. Size: (degree+1)-by-1 |
You may find the end point of Pi as
Pi @X_f = Z*D
| [out] | B | quadrature coefficients Size: degree-by-1 |
Given quadrature righ-hand-sides 'quad' evaluated at the collocation points, you may find the integrated quadratures as
q = quad*B*h
Extra doc: https://github.com/casadi/casadi/wiki/L_1sq
Definition at line 233 of file integration_tools.cpp.
References casadi::Polynomial::anti_derivative(), C, D, and casadi::Polynomial::derivative().
| CASADI_EXPORT void casadi::collocation_interpolators | ( | const std::vector< double > & | tau, |
| std::vector< std::vector< double > > & | C, | ||
| std::vector< double > & | D | ||
| ) |
A collocation method poses a polynomial Pi that interpolates exactly through an initial state (0,X_0) and helper states at collocation points (tau_j,X:collPoint(j)).
This function computes the linear mapping between dPi/dt and coefficients Z=[X_0 X:collPoints].
| tau | location of collocation points, as obtained from collocation_points | |
| [out] | C | interpolating coefficients to obtain derivatives. Length: order+1, order+1 |
dPi/dt @Z_j = (1/h) Sum_i C[j][i]*Z_i,
with h the length of the integration interval.
| [out] | D | interpolating coefficients to obtain end state. Length: order+1 |
Pi @X_f = Sum_i D[i]*Z_i
Extra doc: https://github.com/casadi/casadi/wiki/L_1sp
Definition at line 189 of file integration_tools.cpp.
References C, D, and casadi::GenericMatrix< Matrix< Scalar > >::sym().
Referenced by simpleIRK().
| CASADI_EXPORT std::vector< double > casadi::collocation_points | ( | casadi_int | order, |
| const std::string & | scheme = "radau" |
||
| ) |
| order | Which order (1 to 9 supported) |
| scheme | 'radau' or 'legendre' |
Extra doc: https://github.com/casadi/casadi/wiki/L_1so
Definition at line 120 of file integration_tools.cpp.
Referenced by casadi::Collocation::setup_step(), and simpleIRK().
| std::vector<RealT> casadi::collocation_pointsGen | ( | casadi_int | order, |
| const std::string & | scheme | ||
| ) |
Definition at line 103 of file integration_tools.cpp.
References legendre_points, radau_points, and str().
| CASADI_EXPORT std::vector< long double > casadi::collocation_pointsL | ( | casadi_int | order, |
| const std::string & | scheme | ||
| ) |
| order | Which order (1 to 9 supported) |
| scheme | 'radau' or 'legendre' |
Extra doc: https://github.com/casadi/casadi/wiki/L_1so
Definition at line 124 of file integration_tools.cpp.
| CASADI_EXPORT Dict casadi::combine | ( | const Dict & | first, |
| const Dict & | second, | ||
| bool | recurse = false |
||
| ) |
Extra doc: https://github.com/casadi/casadi/wiki/L_17t
Definition at line 827 of file generic_type.cpp.
References update_dict().
Referenced by casadi::OracleFunction::create_function(), casadi::FunctionInternal::forward(), casadi::BlazingSplineFunction::get_jacobian(), casadi::FunctionInternal::jacobian(), casadi::FunctionInternal::reverse(), and casadi::MX::stop_diff().
| T casadi::common_simp_binary | ( | casadi_int | op, |
| const T & | x, | ||
| const T & | y, | ||
| casadi_int | depth, | ||
| SU && | gen_unary, | ||
| SB && | gen_binary, | ||
| bool | unique_x, | ||
| bool | unique_y, | ||
| bool & | hit | ||
| ) |
Definition at line 1871 of file calculus.hpp.
References is_equal(), OP_ADD, OP_CONSTPOW, OP_COS, OP_DIV, OP_EQ, OP_FMAX, OP_FMIN, OP_IF_ELSE_ZERO, OP_INV, OP_LE, OP_LT, OP_MUL, OP_NE, OP_NEG, OP_POW, OP_SIN, OP_SQ, OP_SUB, OP_TWICE, sq(), and T.
Referenced by casadi::MXNode::_get_binary(), and casadi::SXElem::binary().
| T casadi::common_simp_unary | ( | casadi_int | op, |
| const T & | x, | ||
| casadi_int | depth, | ||
| SU && | gen_unary, | ||
| bool | unique, | ||
| bool & | hit | ||
| ) |
| CASADI_EXPORT std::vector< casadi_int > casadi::complement | ( | const std::vector< casadi_int > & | v, |
| casadi_int | size | ||
| ) |
The supplied vector may contain duplicates and may be non-monotonous The supplied vector will be checked for bounds The result vector is guaranteed to be monotonously increasing
Extra doc: https://github.com/casadi/casadi/wiki/L_1lf
Definition at line 141 of file casadi_misc.cpp.
References in_range().
Referenced by casadi::Function::mapaccum(), and reduce_index_gen().
|
static |
Definition at line 92 of file blazing_spline.cpp.
References diff(), and if_else_zero().
Referenced by blazing_spline(), casadi::BlazingSplineFunction::get_jacobian(), and casadi::BlazingSplineFunction::init_derived_members().
|
static |
Definition at line 472 of file onnx_import.cpp.
References casadi::MX::is_constant(), and casadi::GenericMatrix< MatType >::numel().
|
inline |
Definition at line 506 of file constant_sx.hpp.
References casadi::IntegerSX::create(), casadi::RealtypeSX::create(), and casadi::DeserializingStream::unpack().
|
inline |
| Function casadi::construct_nlpsol | ( | const std::string & | name, |
| const std::string & | solver, | ||
| const std::map< std::string, X > & | nlp, | ||
| const Dict & | opts | ||
| ) |
Definition at line 63 of file nlpsol.cpp.
References boolvec_not(), boolvec_to_index(), casadi::Function::call(), casadi::Sparsity::colind(), casadi::Nlpsol::create_oracle(), get_from_dict(), casadi::Function::has_free(), casadi::Function::n_in(), casadi::Function::n_out(), casadi::Function::name(), name_has_g(), casadi::Function::name_in(), casadi::Function::name_out(), nlpsol(), casadi::Sparsity::row(), casadi::Function::size1_in(), casadi::Function::size1_out(), casadi::Function::sym_in(), casadi::Sparsity::T(), vector_select(), and X.
Referenced by nlpsol().
Definition at line 156 of file shared.hpp.
| void casadi::Contraction | ( | const T & | a, |
| const T & | b, | ||
| T & | r | ||
| ) |
Definition at line 151 of file shared.hpp.
| void casadi::copy | ( | const T1 * | x, |
| casadi_int | n, | ||
| T2 * | y | ||
| ) |
Definition at line 65 of file alpaqa_problem.cpp.
Referenced by casadi::OptiNode::baked_copy(), casadi::AlpaqaProblem::eval_hess_L(), casadi::AlpaqaProblem::eval_hess_ψ(), and casadi::AlpaqaProblem::eval_jac_g().
| void casadi::copy_vector | ( | const S * | s, |
| std::vector< D > & | d | ||
| ) |
Definition at line 678 of file casadi_misc.hpp.
References D.
| void casadi::copy_vector | ( | const std::vector< S > & | s, |
| std::vector< D > & | d | ||
| ) |
Definition at line 665 of file casadi_misc.hpp.
Referenced by casadi::DaqpInterface::init(), casadi::ClarabelInterface::init_dependent(), casadi::HighsInterface::init_dependent(), casadi::MosekInterface::init_dependent(), casadi::XpressInterface::init_dependent(), casadi::CplexInterface::init_mem(), casadi::CsparseInterface::init_mem(), casadi::CbcInterface::solve(), casadi::ClpInterface::solve(), casadi::QpoasesInterface::solve(), casadi::SnoptInterface::solve(), and casadi::Blocksqp::solveQP().
| onnx::NodeProto * casadi::create_binary_node | ( | AddNodeFn | add_node, |
| const std::string & | op_type, | ||
| const std::string & | input1, | ||
| const std::string & | input2, | ||
| const std::string & | output | ||
| ) |
| onnx::NodeProto * casadi::create_binary_node | ( | onnx::GraphProto * | graph, |
| const std::string & | op_type, | ||
| const std::string & | input1, | ||
| const std::string & | input2, | ||
| const std::string & | output | ||
| ) |
Definition at line 324 of file onnx_operations.cpp.
References create_binary_node().
| onnx::NodeProto* casadi::create_cast_node | ( | AddNodeFn | add_node, |
| const std::string & | input, | ||
| const std::string & | output, | ||
| onnx::TensorProto::DataType | to_type | ||
| ) |
Definition at line 272 of file onnx_operations.cpp.
| onnx::TensorProto* casadi::create_constant_tensor | ( | AddNodeFn | add_node, |
| const std::string & | output_name, | ||
| onnx::TensorProto::DataType | data_type | ||
| ) |
Definition at line 94 of file onnx_operations.cpp.
| bool casadi::create_directories | ( | const std::string & | path | ) |
Definition at line 35 of file ghc.cpp.
References path().
Referenced by casadi_register_filesystem_ghc().
| onnx::NodeProto* casadi::create_gather_node | ( | AddNodeFn | add_node, |
| const std::string & | data, | ||
| const std::string & | indices, | ||
| const std::string & | output, | ||
| casadi_int | axis = 0 |
||
| ) |
Definition at line 199 of file onnx_operations.cpp.
References add_int_attribute().
| onnx::NodeProto* casadi::create_gemm_node | ( | AddNodeFn | add_node, |
| const std::string & | A, | ||
| const std::string & | B, | ||
| const std::string & | C, | ||
| const std::string & | output, | ||
| bool | transA = false, |
||
| bool | transB = false |
||
| ) |
| onnx::NodeProto* casadi::create_slice_node | ( | AddNodeFn | add_node, |
| const std::string & | uniq, | ||
| const std::string & | data, | ||
| const std::vector< casadi_int > & | starts, | ||
| const std::vector< casadi_int > & | ends, | ||
| const std::vector< casadi_int > & | axes, | ||
| const std::vector< casadi_int > & | steps, | ||
| const std::string & | output | ||
| ) |
| onnx::NodeProto * casadi::create_unary_node | ( | AddNodeFn | add_node, |
| const std::string & | op_type, | ||
| const std::string & | input, | ||
| const std::string & | output | ||
| ) |
Definition at line 259 of file onnx_operations.cpp.
Referenced by create_unary_node(), and emit_colmajor_reshape().
| onnx::NodeProto * casadi::create_unary_node | ( | onnx::GraphProto * | graph, |
| const std::string & | op_type, | ||
| const std::string & | input, | ||
| const std::string & | output | ||
| ) |
Definition at line 334 of file onnx_operations.cpp.
References create_unary_node().
| onnx::NodeProto* casadi::create_where_node | ( | AddNodeFn | add_node, |
| const std::string & | cond, | ||
| const std::string & | if_true, | ||
| const std::string & | if_false, | ||
| const std::string & | output | ||
| ) |
Definition at line 308 of file onnx_operations.cpp.
| std::vector< T > casadi::cumsum | ( | const std::vector< T > & | values | ) |
Extra doc: https://github.com/casadi/casadi/wiki/L_1lm
Definition at line 948 of file casadi_misc.hpp.
References T.
| std::vector< T > casadi::cumsum0 | ( | const std::vector< T > & | values | ) |
Extra doc: https://github.com/casadi/casadi/wiki/L_1lo
Definition at line 959 of file casadi_misc.hpp.
References T.
Referenced by interpolant().
| CASADI_EXPORT Function casadi::dae_init_gen | ( | const MXDict & | dae, |
| const MXDict & | dae_red, | ||
| const std::string & | init_solver, | ||
| const DMDict & | init_strength = DMDict(), |
||
| const Dict & | init_solver_options = Dict() |
||
| ) |
| [in] | dae | Original (unreduced) DAE structure |
| [in] | dae_red | Reduced DAE (see dae_reduce_index) |
| [in] | init_solver | NLP solver plugin name for nlpsol used to construct an initial guess |
| [in] | init_strength | Influence the nature of the NLP Structure with keys x_impl, dx_impl, z corresponding to inputs of init_gen Each key maps to a DM that should match the variable size corresponding to that key. For each variable the meaning of the corresponding DM value is as follows: When >=0, indicates that the provided initial guess is used in a quadratic penalty (value used as weight) When -1, indicates that the provided initial guess must be observed (simple bound on variable) |
| [in] | init_solver_options | NLP solver options to be passed to nlpsol |
Extra doc: https://github.com/casadi/casadi/wiki/L_1sv
Definition at line 1221 of file integration_tools.cpp.
References init_gen().
| CASADI_EXPORT Function casadi::dae_init_gen | ( | const SXDict & | dae, |
| const SXDict & | dae_red, | ||
| const std::string & | init_solver, | ||
| const DMDict & | init_strength, | ||
| const Dict & | init_solver_options | ||
| ) |
| [in] | dae | Original (unreduced) DAE structure |
| [in] | dae_red | Reduced DAE (see dae_reduce_index) |
| [in] | init_solver | NLP solver plugin name for nlpsol used to construct an initial guess |
| [in] | init_strength | Influence the nature of the NLP Structure with keys x_impl, dx_impl, z corresponding to inputs of init_gen Each key maps to a DM that should match the variable size corresponding to that key. For each variable the meaning of the corresponding DM value is as follows: When >=0, indicates that the provided initial guess is used in a quadratic penalty (value used as weight) When -1, indicates that the provided initial guess must be observed (simple bound on variable) |
| [in] | init_solver_options | NLP solver options to be passed to nlpsol |
Extra doc: https://github.com/casadi/casadi/wiki/L_1sv
Definition at line 1226 of file integration_tools.cpp.
References init_gen().
| CASADI_EXPORT MXDict casadi::dae_map_semi_expl | ( | const MXDict & | dae, |
| const MXDict & | dae_red, | ||
| Function & | state_to_orig, | ||
| Function & | phi | ||
| ) |
| [in] | dae | Original (unreduced) DAE structure |
| [in] | dae_red | Reduced DAE (see dae_reduce_index) |
| [out] | state_to_orig | A mapping of integrator (semi explicit) states to states of the original DAE |
| [out] | phi | A function to compute the invariants of the reduced DAE Inputs:
|
Extra doc: https://github.com/casadi/casadi/wiki/L_1su
Definition at line 1211 of file integration_tools.cpp.
References map_semi_expl().
| CASADI_EXPORT SXDict casadi::dae_map_semi_expl | ( | const SXDict & | dae, |
| const SXDict & | dae_red, | ||
| Function & | state_to_orig, | ||
| Function & | phi | ||
| ) |
| [in] | dae | Original (unreduced) DAE structure |
| [in] | dae_red | Reduced DAE (see dae_reduce_index) |
| [out] | state_to_orig | A mapping of integrator (semi explicit) states to states of the original DAE |
| [out] | phi | A function to compute the invariants of the reduced DAE Inputs:
|
Extra doc: https://github.com/casadi/casadi/wiki/L_1su
Definition at line 1216 of file integration_tools.cpp.
References map_semi_expl().
| CASADI_EXPORT MXDict casadi::dae_reduce_index | ( | const MXDict & | dae, |
| Dict & | stats, | ||
| const Dict & | opts = {} |
||
| ) |
Index reduction leads to a new set of variables and equations.
In the process, a set of constraints (algebraic equations or derivatives) a.k.a invariants is constructed that are invariant to the problem: whenever an initial point satisfies these constraints, the boundary-value-problem outcome will keep satisfying those constraints automatically, even though they are not part of the reduced DAE.
For any practical numerical integration method, there will be numerical drift away from satisfaction of those constraints. In other words, you will see the value of invariants slowly moving away from original zero.
A classic mitigation technique is Baumgarte stabilization: you add these invariants to the reduced DAE as a correction term that acts in a way to make small (numerical) perturbations to the invariants decay to the origin as a dampened linear system.
in which a certain set of constraints (algebraic equations or derivatives) has been dropped in favour of
| dae | Expression dictionary describing the DAE |
Each value must be a dense column vector.
keys:
| opts | Option dictionary |
| stats | Statistics |
In addition the fields allowed in the input DAE, the following keys occur:
Extra doc: https://github.com/casadi/casadi/wiki/L_23h
Definition at line 1067 of file integration_tools.cpp.
References reduce_index_gen().
| CASADI_EXPORT SXDict casadi::dae_reduce_index | ( | const SXDict & | dae, |
| Dict & | stats, | ||
| const Dict & | opts | ||
| ) |
Index reduction leads to a new set of variables and equations.
In the process, a set of constraints (algebraic equations or derivatives) a.k.a invariants is constructed that are invariant to the problem: whenever an initial point satisfies these constraints, the boundary-value-problem outcome will keep satisfying those constraints automatically, even though they are not part of the reduced DAE.
For any practical numerical integration method, there will be numerical drift away from satisfaction of those constraints. In other words, you will see the value of invariants slowly moving away from original zero.
A classic mitigation technique is Baumgarte stabilization: you add these invariants to the reduced DAE as a correction term that acts in a way to make small (numerical) perturbations to the invariants decay to the origin as a dampened linear system.
in which a certain set of constraints (algebraic equations or derivatives) has been dropped in favour of
| dae | Expression dictionary describing the DAE |
Each value must be a dense column vector.
keys:
| opts | Option dictionary |
| stats | Statistics |
In addition the fields allowed in the input DAE, the following keys occur:
Extra doc: https://github.com/casadi/casadi/wiki/L_23h
Definition at line 1071 of file integration_tools.cpp.
References reduce_index_gen().
|
inline |
|
inline |
|
inline |
Definition at line 32 of file slicot_la.hpp.
References C.
Referenced by casadi::SlicotDple::eval().
|
inline |
Definition at line 93 of file slicot_la.hpp.
References C, and dense_mul_nn_stride().
Referenced by casadi::SlicotDple::eval().
|
inline |
|
inline |
Definition at line 61 of file slicot_la.hpp.
References C.
Referenced by dense_mul_nn(), and casadi::SlicotDple::eval().
|
inline |
Definition at line 56 of file slicot_la.hpp.
References C, and dense_mul_nt_stride().
Referenced by casadi::SlicotDple::eval().
|
inline |
Definition at line 42 of file slicot_la.hpp.
References C.
Referenced by dense_mul_nt(), and casadi::SlicotDple::eval().
|
inline |
Definition at line 114 of file slicot_la.hpp.
References C.
Referenced by casadi::SlicotDple::eval().
Definition at line 280 of file dae_builder_internal.cpp.
References D, DDEF, to_string(), W, and WDEF.
Referenced by casadi::DaeBuilderInternal::eliminate(), and casadi::DaeBuilderInternal::sort().
|
static |
Definition at line 137 of file blazing_spline.cpp.
References casadi::MX::einstein(), range(), and casadi::GenericMatrix< MatType >::size1().
Referenced by casadi::BlazingSplineFunction::get_jacobian().
| CASADI_EXPORT std::string casadi::description | ( | Category | v | ) |
Get description
Definition at line 217 of file dae_builder_internal.cpp.
References C, CALCULATED, D, P, Q, T, U, W, X, and Z.
Referenced by casadi::DaeBuilderInternal::add(), casadi::OptiNode::describe(), casadi::DaeBuilderInternal::disp(), casadi::OptiNode::g_describe(), casadi::DaeBuilderInternal::generate_model_description(), casadi::DaeBuilderInternal::import_model_variables(), and casadi::OptiNode::x_describe().
| int casadi::detect_bounds_callback | ( | const double ** | arg, |
| double ** | res, | ||
| casadi_int * | iw, | ||
| double * | w, | ||
| void * | callback_data | ||
| ) |
Definition at line 665 of file nlpsol.cpp.
| CASADI_EXPORT void casadi::detect_simple_bounds | ( | const MX & | x, |
| const MX & | p, | ||
| const MX & | g, | ||
| const MX & | lbg, | ||
| const MX & | ubg, | ||
| std::vector< casadi_int > & | gi, | ||
| MX & | lbx, | ||
| MX & | ubx, | ||
| Function & | lam_forward, | ||
| Function & | lam_backward | ||
| ) |
Definition at line 227 of file nlp_tools.cpp.
References detect_simple_bounds_gen().
| CASADI_EXPORT void casadi::detect_simple_bounds | ( | const SX & | xX, |
| const SX & | p, | ||
| const SX & | g, | ||
| const SX & | lbg, | ||
| const SX & | ubg, | ||
| std::vector< casadi_int > & | gi, | ||
| SX & | lbx, | ||
| SX & | ubx, | ||
| Function & | lam_forward, | ||
| Function & | lam_backward | ||
| ) |
Given parametric constraints:
* subject to lbg(p) <= g(x,p) <= ubg(p) *
Returns an equivalent set
* subject to lbg(p)(gi) <= g(x,p)(gi) <= ubg(p)(gi) * lbx(p) <= x <= ubx(p) *
| [out] | lam_forward | (lam_g,p)->(lam_sg,lam_x) |
| [out] | lam_backward | (lam_sg,lam_x,p)->(lam_g) |
Extra doc: https://github.com/casadi/casadi/wiki/L_1sw
Definition at line 217 of file nlp_tools.cpp.
References detect_simple_bounds_gen().
| void casadi::detect_simple_bounds_gen | ( | const T & | x, |
| const T & | p, | ||
| const T & | g, | ||
| const T & | lbg, | ||
| const T & | ubg, | ||
| std::vector< casadi_int > & | gi, | ||
| T & | lbx, | ||
| T & | ubx, | ||
| Function & | lam_forward, | ||
| Function & | lam_backward | ||
| ) |
Definition at line 33 of file nlp_tools.cpp.
References boolvec_not(), boolvec_to_index(), casadi::Function::call(), casadi::Sparsity::colind(), casadi::Function::has_free(), lookupvector(), range(), casadi::Sparsity::row(), T, and casadi::Sparsity::T().
Referenced by detect_simple_bounds().
| std::vector< T > casadi::diff | ( | const std::vector< T > & | values | ) |
Extra doc: https://github.com/casadi/casadi/wiki/L_1ln
Definition at line 970 of file casadi_misc.hpp.
Referenced by compute_knots_cache(), casadi::FunctionInternal::get_jac_sparsity_hierarchical(), casadi::FunctionInternal::get_jac_sparsity_hierarchical_symm(), and casadi::SuperscsInterface::init_mem().
| MX casadi::do_inline | ( | const MX & | x, |
| const std::vector< K > & | knots, | ||
| const MX & | coeffs, | ||
| casadi_int | m, | ||
| const std::vector< casadi_int > & | degree, | ||
| const std::vector< casadi_int > & | lookup_mode | ||
| ) |
Definition at line 216 of file bspline.cpp.
References get_boor(), knot_size(), range(), casadi::GenericMatrix< MatType >::size1(), casadi::GenericMatrix< MatType >::size2(), T, and casadi::MX::T().
Referenced by casadi::Interpolant::construct(), casadi::BSplineInterpolant::construct_graph(), casadi::BSplineParametric::create(), and casadi::BSpline::create().
| CASADI_EXPORT std::string casadi::doc_archiver | ( | const std::string & | name | ) |
Definition at line 46 of file archiver.cpp.
References casadi::PluginInterface< Archiver >::getPlugin().
| CASADI_EXPORT std::string casadi::doc_blas | ( | const std::string & | name | ) |
Definition at line 260 of file blas.cpp.
References casadi::PluginInterface< Blas >::getPlugin(), and REFERENCE_DOC.
| CASADI_EXPORT std::string casadi::doc_filesystem | ( | const std::string & | name | ) |
Definition at line 100 of file filesystem.cpp.
References casadi::PluginInterface< Filesystem >::getPlugin().
| CASADI_EXPORT std::string casadi::doc_graphmodel | ( | const std::string & | name | ) |
Definition at line 79 of file graph_model.cpp.
References casadi::GraphModel::doc().
| CASADI_EXPORT std::string casadi::doc_linsol | ( | const std::string & | name | ) |
Definition at line 237 of file linsol.cpp.
References casadi::Linsol::doc().
| CASADI_EXPORT std::string casadi::doc_modelicaparser | ( | const std::string & | name | ) |
Definition at line 68 of file modelica_parser.cpp.
References casadi::ModelicaParser::doc().
| T casadi::dot | ( | const std::vector< T > & | a, |
| const std::vector< T > & | b | ||
| ) |
Definition at line 980 of file casadi_misc.hpp.
References T.
Referenced by casadi::Determinant::ad_forward(), casadi::LogSumExp::ad_forward(), casadi::MMin::ad_forward(), casadi::MMax::ad_forward(), casadi::NormInf::ad_forward(), casadi::BinaryMX< ScX, ScY >::ad_reverse(), casadi::Factory< MatType >::add_dual(), casadi::Dot::eval_linear(), format_from_path(), casadi::ConstantMX::get_dot(), casadi::AlpaqaInterface::init(), casadi::Blocksqp::init(), casadi::Scpgen::init(), and casadi::DaeBuilderInternal::sort_dependent().
| void casadi::dummy_signal | ( | void * | user_data | ) |
Definition at line 1022 of file fatrop_conic_interface.cpp.
| void casadi::einstein_eval | ( | casadi_int | n_iter, |
| const std::vector< casadi_int > & | iter_dims, | ||
| const std::vector< casadi_int > & | strides_a, | ||
| const std::vector< casadi_int > & | strides_b, | ||
| const std::vector< casadi_int > & | strides_c, | ||
| const T * | a_in, | ||
| const T * | b_in, | ||
| T * | c_in | ||
| ) |
Definition at line 161 of file shared.hpp.
Referenced by casadi::Matrix< Scalar >::einstein(), and casadi::Einstein::eval_gen().
| casadi_int casadi::einstein_process | ( | const T & | A, |
| const T & | B, | ||
| const T & | C, | ||
| const std::vector< casadi_int > & | dim_a, | ||
| const std::vector< casadi_int > & | dim_b, | ||
| const std::vector< casadi_int > & | dim_c, | ||
| const std::vector< casadi_int > & | a, | ||
| const std::vector< casadi_int > & | b, | ||
| const std::vector< casadi_int > & | c, | ||
| std::vector< casadi_int > & | iter_dims, | ||
| std::vector< casadi_int > & | strides_a, | ||
| std::vector< casadi_int > & | strides_b, | ||
| std::vector< casadi_int > & | strides_c | ||
| ) |
Definition at line 35 of file shared.hpp.
References C, lookupvector(), and product().
Referenced by casadi::Matrix< Scalar >::einstein(), and casadi::Einstein::Einstein().
| void casadi::emit_colmajor_reshape | ( | AddNodeFn | add_node, |
| const std::string & | data, | ||
| const std::vector< casadi_int > & | dims, | ||
| const std::string & | output, | ||
| const std::string & | uniq | ||
| ) |
Definition at line 236 of file onnx_operations.cpp.
References add_int_constant(), and create_unary_node().
| void casadi::ensure_directory_exists | ( | const std::string & | dir | ) |
Definition at line 46 of file dump.cpp.
References casadi::Filesystem::ensure_directory_exists(), casadi::Filesystem::ensure_trailing_slash(), and casadi::Filesystem::is_enabled().
Referenced by casadi::Dump::add_dependency(), and casadi::Dump::finalize().
| std::vector<std::string> casadi::enum_names | ( | ) |
|
inline | ||||||||||||||
CasADi additions
Definition at line 300 of file calculus.hpp.
Referenced by casadi::UnaryOperation< OP_ERFINV >::fcn().
| fatrop_int casadi::eval_b | ( | const double * | states_kp1, |
| const double * | inputs_k, | ||
| const double * | states_k, | ||
| const double * | stage_params_k, | ||
| const double * | global_params, | ||
| double * | res, | ||
| const fatrop_int | k, | ||
| void * | user_data | ||
| ) |
Definition at line 787 of file fatrop_conic_interface.cpp.
References eval_BAbt().
Referenced by casadi::FatropConicInterface::solve().
| fatrop_int casadi::eval_BAbt | ( | const double * | states_kp1, |
| const double * | inputs_k, | ||
| const double * | states_k, | ||
| const double * | stage_params_k, | ||
| const double * | global_params, | ||
| MAT * | res, | ||
| const fatrop_int | k, | ||
| void * | user_data | ||
| ) |
Definition at line 482 of file fatrop_conic_interface.cpp.
References get_ptr(), and casadi_qp_data< T1 >::lba.
Referenced by eval_b(), eval_RSQrqt(), and casadi::FatropConicInterface::solve().
| fatrop_int casadi::eval_g | ( | const double * | states_k, |
| const double * | inputs_k, | ||
| const double * | stage_params_k, | ||
| const double * | global_params, | ||
| double * | res, | ||
| const fatrop_int | k, | ||
| void * | user_data | ||
| ) |
Definition at line 810 of file fatrop_conic_interface.cpp.
References eval_Ggt().
Referenced by casadi::FatropConicInterface::solve().
| fatrop_int casadi::eval_Ggt | ( | const double * | inputs_k, |
| const double * | states_k, | ||
| const double * | stage_params_k, | ||
| const double * | global_params, | ||
| MAT * | res, | ||
| const fatrop_int | k, | ||
| void * | user_data | ||
| ) |
Definition at line 529 of file fatrop_conic_interface.cpp.
References get_ptr(), casadi_qp_data< T1 >::lba, and casadi_qp_data< T1 >::lbx.
Referenced by eval_g(), eval_RSQrqt(), and casadi::FatropConicInterface::solve().
| fatrop_int casadi::eval_Ggt_ineq | ( | const double * | inputs_k, |
| const double * | states_k, | ||
| const double * | stage_params_k, | ||
| const double * | global_params, | ||
| MAT * | res, | ||
| const fatrop_int | k, | ||
| void * | user_data | ||
| ) |
Definition at line 600 of file fatrop_conic_interface.cpp.
References get_ptr().
Referenced by eval_gineq(), eval_RSQrqt(), and casadi::FatropConicInterface::solve().
| fatrop_int casadi::eval_gineq | ( | const double * | states_k, |
| const double * | inputs_k, | ||
| const double * | stage_params_k, | ||
| const double * | global_params, | ||
| double * | res, | ||
| const fatrop_int | k, | ||
| void * | user_data | ||
| ) |
Definition at line 836 of file fatrop_conic_interface.cpp.
References eval_Ggt_ineq().
Referenced by casadi::FatropConicInterface::solve().
| fatrop_int casadi::eval_L | ( | const double * | objective_scale, |
| const double * | inputs_k, | ||
| const double * | states_k, | ||
| const double * | stage_params_k, | ||
| const double * | global_params, | ||
| double * | res, | ||
| const fatrop_int | k, | ||
| void * | user_data | ||
| ) |
Definition at line 915 of file fatrop_conic_interface.cpp.
References blasfeo_ddot(), and casadi_qp_data< T1 >::g.
Referenced by casadi::FatropConicInterface::solve().
| fatrop_int casadi::eval_rq | ( | const double * | objective_scale, |
| const double * | inputs_k, | ||
| const double * | states_k, | ||
| const double * | stage_params_k, | ||
| const double * | global_params, | ||
| double * | res, | ||
| const fatrop_int | k, | ||
| void * | user_data | ||
| ) |
Definition at line 862 of file fatrop_conic_interface.cpp.
References casadi_qp_data< T1 >::g.
Referenced by casadi::FatropConicInterface::solve().
| fatrop_int casadi::eval_RSQrqt | ( | const double * | objective_scale, |
| const double * | inputs_k, | ||
| const double * | states_k, | ||
| const double * | lam_dyn_k, | ||
| const double * | lam_eq_k, | ||
| const double * | lam_eq_ineq_k, | ||
| const double * | stage_params_k, | ||
| const double * | global_params, | ||
| MAT * | res, | ||
| const fatrop_int | k, | ||
| void * | user_data | ||
| ) |
Definition at line 669 of file fatrop_conic_interface.cpp.
References eval_BAbt(), eval_Ggt(), eval_Ggt_ineq(), casadi_qp_data< T1 >::g, and get_ptr().
Referenced by casadi::FatropConicInterface::solve().
| name | Name as in the label assigned to a CasADi Function object: Function(name,...,...) Will be used to look up symbols/functions named eg. <name>_eval Use nm (linux/osx) or depends.exe (win) to check which symbols are present in your shared library |
File name is assumed to be ./<name>.so
Extra doc: https://github.com/casadi/casadi/wiki/L_i0
Definition at line 50 of file external.cpp.
References external().
| CASADI_EXPORT Function casadi::external | ( | const std::string & | name, |
| const Importer & | li, | ||
| const Dict & | opts = Dict() |
||
| ) |
File name given
Extra doc: https://github.com/casadi/casadi/wiki/L_i2
Definition at line 42 of file external.cpp.
References casadi::Function::create(), extract_from_dict(), and casadi::Importer::library().
Referenced by casadi::DaeBuilder::add_fun(), external(), casadi::External::factory(), casadi::External::get_forward(), casadi::External::get_jacobian(), casadi::External::get_reverse(), casadi::Scpgen::init(), casadi::OracleFunction::jit_dependencies(), and nlpsol().
| CASADI_EXPORT Function casadi::external | ( | const std::string & | name, |
| const std::string & | bin_name, | ||
| const Dict & | opts = Dict() |
||
| ) |
| name | Name as in the label assigned to a CasADi Function object: Function(name,...,...) Will be used to look up symbols/functions named eg. <name>_eval Use nm (linux/osx) or depends.exe (win) to check which symbols are present in your shared library |
| bin_name | File name of the shared library |
Extra doc: https://github.com/casadi/casadi/wiki/L_i1
Definition at line 54 of file external.cpp.
References external().
| CASADI_EXPORT Function casadi::external_transform | ( | const std::string & | name, |
| const std::string & | op, | ||
| const Function & | f, | ||
| const Dict & | opts = Dict() |
||
| ) |
| name | Name of the shared library |
| op | Name of the operation |
| f | Function to transform |
| opts | Options Extra doc: https://github.com/casadi/casadi/wiki/L_27i |
Definition at line 44 of file tools.cpp.
References callback_stderr(), callback_stdout(), casadi::StringSerializer::encode(), casadi::Importer::get_function(), casadi::SerializerBase::pack(), casadi::CasadiMeta::shared_library_suffix(), casadi::DeserializerBase::unpack_function(), and casadi::CasadiMeta::version().
Referenced by casadi::Function::construct(), and casadi::Function::transform().
| Dict casadi::extract_from_dict | ( | const Dict & | d, |
| const std::string & | key, | ||
| T & | value | ||
| ) |
Definition at line 277 of file generic_type.hpp.
Referenced by casadi::Function::bspline(), casadi::Interpolant::construct(), external(), casadi::MX::forward(), casadi::Matrix< double >::has_duplicates(), casadi::Matrix< double >::has_output(), casadi::MX::jacobian(), and casadi::MX::reverse().
| void casadi::extract_from_dict_inplace | ( | Dict & | d, |
| const std::string & | key, | ||
| T & | value | ||
| ) |
Definition at line 288 of file generic_type.hpp.
Referenced by casadi::XFunction< DerivedType, MatType, NodeType >::factory(), and qpsol_nlp().
| bool casadi::extract_zip_from_path | ( | const std::string & | zip_path, |
| const std::string & | output_dir | ||
| ) |
Definition at line 57 of file libzip.cpp.
References extract_zip_internal().
Referenced by casadi_register_archiver_libzip().
| bool casadi::extract_zip_from_stringstream | ( | std::stringstream & | src, |
| const std::string & | output_dir | ||
| ) |
Definition at line 34 of file libzip.cpp.
References extract_zip_internal().
Referenced by casadi_register_archiver_libzip().
| bool casadi::extract_zip_internal | ( | zip_t * | za, |
| const std::string & | output_dir | ||
| ) |
Definition at line 67 of file libzip.cpp.
References casadi::Filesystem::assert_enabled(), casadi::PluginInterface< Filesystem >::getPlugin(), casadi::Filesystem::ofstream_ptr(), and uerr().
Referenced by extract_zip_from_path(), and extract_zip_from_stringstream().
| std::vector< casadi_int > casadi::fatrop_blocks_pack | ( | const std::vector< casadi_ocp_block > & | blocks | ) |
Definition at line 311 of file fatrop_conic_interface.cpp.
References get_ptr().
Referenced by codegen_unpack_block(), and casadi::FatropInterface::serialize_body().
| CASADI_EXPORT casadi_int casadi::fd_offset | ( | FdMode | v | ) |
Definition at line 52 of file finite_differences.cpp.
References BACKWARD, CENTRAL, FORWARD, and SMOOTHING.
Referenced by casadi::FmuInternal::eval_fd().
| std::string casadi::filename | ( | const std::string & | path | ) |
Definition at line 55 of file ghc.cpp.
References path().
Referenced by casadi_register_filesystem_ghc(), conic_debug(), casadi::XmlFile::dump(), casadi::TinyXmlInterface::dump(), casadi::Dump::eval(), casadi::GraphBuilderInternal::export_onnx(), casadi::GraphBuilder::export_onnx(), casadi::Sparsity::file_format(), casadi::Sparsity::from_file(), casadi::NlpBuilder::import_nl(), casadi::Function::load(), casadi::DaeBuilder::load_fmi_description(), casadi::DaeBuilderInternal::load_fmi_description(), casadi::NlImporter::NlImporter(), casadi::XmlFile::parse(), casadi::TinyXmlInterface::parse(), casadi::ModelicaParser::parse(), casadi::LaceModelica::parse(), casadi::DaeBuilder::parse_fmi(), and casadi::Sparsity::to_file().
| CASADI_EXPORT std::string casadi::filesep | ( | ) |
Definition at line 71 of file casadi_os.cpp.
Referenced by casadi::Dump::eval(), and casadi::ClangCompiler::init().
| std::vector< casadi_int > casadi::find | ( | const std::vector< T > & | v | ) |
Extra doc: https://github.com/casadi/casadi/wiki/L_1le
Definition at line 643 of file casadi_misc.hpp.
Referenced by casadi::Find::eval_mx(), casadi::MXNode::get_find(), casadi::PluginInterface< Derived >::has_plugin(), casadi::PluginInterface< Derived >::load_plugin(), casadi::Opti::to_function(), and casadi::DaeBuilderInternal::variable().
| CASADI_EXPORT void casadi::finite_diff | ( | FdMode | v, |
| const T1 ** | yk, | ||
| T1 * | J, | ||
| T1 | h, | ||
| casadi_int | n_y, | ||
| T1 | smoothing | ||
| ) |
Definition at line 49 of file finite_differences.hpp.
References BACKWARD, CENTRAL, eps, FORWARD, SMOOTHING, and to_string().
Referenced by casadi::FmuInternal::eval_fd().
| void casadi::flatten_nested_vector | ( | const std::vector< std::vector< T > > & | nested, |
| std::vector< S > & | flat | ||
| ) |
Contents of nested[i] ends up in flat[indices[i]]..flat[indices[i+1]-1]
Extra doc: https://github.com/casadi/casadi/wiki/L_1lh
Definition at line 706 of file casadi_misc.hpp.
Referenced by flatten_nested_vector(), casadi::CplexInterface::init(), casadi::GurobiInterface::init(), and casadi::XpressInterface::init().
| void casadi::flatten_nested_vector | ( | const std::vector< std::vector< T > > & | nested, |
| std::vector< S > & | flat, | ||
| std::vector< I > & | indices | ||
| ) |
Contents of nested[i] ends up in flat[indices[i]]..flat[indices[i+1]-1]
Extra doc: https://github.com/casadi/casadi/wiki/L_1li
Definition at line 723 of file casadi_misc.hpp.
References flatten_nested_vector().
Definition at line 96 of file ccopt_interface.cpp.
References OT_DICT.
Referenced by casadi::MadmpecInterface::init(), and casadi::MadnlpInterface::init().
|
inline |
Definition at line 236 of file casadi_common.hpp.
|
static |
Definition at line 53 of file graph_builder.cpp.
Referenced by casadi::GraphBuilder::GraphBuilder().
Version mappings
Definition at line 63 of file dae_builder_internal.cpp.
References BOOLEAN, ENUM, ENUMERATION, FLOAT64, INT32, INTEGER, NUMEL, REAL, and STRING.
Referenced by casadi::DaeBuilder::set_type().
| fatrop_int casadi::full_eval_constr_jac | ( | const double * | primal_data, |
| const double * | stageparams_p, | ||
| const double * | globalparams_p, | ||
| MAT * | BAbt_p, | ||
| MAT * | Ggt_p, | ||
| MAT * | Ggt_ineq_p, | ||
| const FatropOcpCDims * | s, | ||
| void * | user_data | ||
| ) |
Definition at line 1033 of file fatrop_conic_interface.cpp.
Referenced by casadi::FatropConicInterface::solve().
| fatrop_int casadi::full_eval_contr_viol | ( | const double * | primal_data, |
| const double * | stageparams_p, | ||
| const double * | globalparams_p, | ||
| double * | cv_p, | ||
| const FatropOcpCDims * | s, | ||
| void * | user_data | ||
| ) |
Definition at line 1039 of file fatrop_conic_interface.cpp.
Referenced by casadi::FatropConicInterface::solve().
| fatrop_int casadi::full_eval_lag_hess | ( | double | objective_scale, |
| const double * | primal_data, | ||
| const double * | lam_data, | ||
| const double * | stageparams_p, | ||
| const double * | globalparams_p, | ||
| MAT * | RSQrqt_p, | ||
| const FatropOcpCDims * | s, | ||
| void * | user_data | ||
| ) |
Definition at line 1026 of file fatrop_conic_interface.cpp.
Referenced by casadi::FatropConicInterface::solve().
| fatrop_int casadi::full_eval_obj | ( | double | objective_scale, |
| const double * | primal_data, | ||
| const double * | stageparams_p, | ||
| const double * | globalparams_p, | ||
| double * | res, | ||
| const FatropOcpCDims * | s, | ||
| void * | user_data | ||
| ) |
Definition at line 1051 of file fatrop_conic_interface.cpp.
Referenced by casadi::FatropConicInterface::solve().
| fatrop_int casadi::full_eval_obj_grad | ( | double | objective_scale, |
| const double * | primal_data, | ||
| const double * | stageparams_p, | ||
| const double * | globalparams_p, | ||
| double * | grad_p, | ||
| const FatropOcpCDims * | s, | ||
| void * | user_data | ||
| ) |
Definition at line 1045 of file fatrop_conic_interface.cpp.
Referenced by casadi::FatropConicInterface::solve().
| void casadi::get_boor | ( | const MX & | x, |
| const MX & | knots, | ||
| casadi_int | degree, | ||
| casadi_int | lookup_mode, | ||
| MX & | start, | ||
| MX & | boor | ||
| ) |
Definition at line 177 of file bspline.cpp.
References casadi::MX::get_nz(), if_else_zero(), casadi::Low::lookup_mode_from_enum(), range(), casadi::GenericMatrix< MatType >::size1(), casadi::GenericMatrix< MatType >::size2(), casadi::MX::T(), and casadi::GenericMatrix< MatType >::zeros().
Referenced by do_inline().
| fatrop_int casadi::get_bounds | ( | double * | lower, |
| double * | upper, | ||
| const fatrop_int | k, | ||
| void * | user_data | ||
| ) |
Definition at line 974 of file fatrop_conic_interface.cpp.
References casadi_qp_data< T1 >::lba, casadi_qp_data< T1 >::lbx, casadi_qp_data< T1 >::uba, and casadi_qp_data< T1 >::ubx.
Referenced by casadi::FatropConicInterface::solve().
| CASADI_EXPORT const bvec_t * casadi::get_bvec_t | ( | const std::vector< double > & | v | ) |
Definition at line 200 of file casadi_misc.cpp.
| const bvec_t * casadi::get_bvec_t | ( | const std::vector< T > & | v | ) |
Definition at line 1021 of file casadi_misc.hpp.
| CASADI_EXPORT bvec_t * casadi::get_bvec_t | ( | std::vector< double > & | v | ) |
Get an pointer of sets of booleans from a double vector
Definition at line 191 of file casadi_misc.cpp.
| bvec_t * casadi::get_bvec_t | ( | std::vector< T > & | v | ) |
Definition at line 1016 of file casadi_misc.hpp.
| MX casadi::get_const | ( | const Sparsity & | sp, |
| const double * | v, | ||
| std::unordered_multimap< std::size_t, std::pair< MX, DM > > & | cache | ||
| ) |
Definition at line 2360 of file mx.cpp.
References casadi::Sparsity::hash(), hash_combine(), casadi::Sparsity::nnz(), casadi::Matrix< Scalar >::ptr(), and casadi::Matrix< Scalar >::sparsity().
Referenced by casadi::MX::simplify_const_folding().
| fatrop_int casadi::get_default_global_params | ( | double * | global_params, |
| void * | user_data | ||
| ) |
Definition at line 465 of file fatrop_conic_interface.cpp.
Referenced by casadi::FatropConicInterface::solve().
| fatrop_int casadi::get_default_stage_params | ( | double * | stage_params, |
| const fatrop_int | k, | ||
| void * | user_data | ||
| ) |
Definition at line 461 of file fatrop_conic_interface.cpp.
Referenced by casadi::FatropConicInterface::solve().
| double casadi::get_float_attribute | ( | const onnx::NodeProto & | node, |
| const std::string & | name, | ||
| double | default_value | ||
| ) |
Definition at line 48 of file onnx_utilities.cpp.
| T casadi::get_from_dict | ( | const Dict & | d, |
| const std::string & | key, | ||
| const T & | default_value | ||
| ) |
| T casadi::get_from_dict | ( | const std::map< std::string, T > & | d, |
| const std::string & | key, | ||
| const T & | default_value | ||
| ) |
Definition at line 262 of file generic_type.hpp.
References T.
Referenced by construct_nlpsol(), casadi::FunctionInternal::get_jit_directory(), init_gen(), map_semi_expl(), qpsol_nlp(), reduce_index_gen(), and casadi::OptiNode::stats().
| const onnx::GraphProto * casadi::get_graph_attribute | ( | const onnx::NodeProto & | node, |
| const std::string & | name | ||
| ) |
Definition at line 63 of file onnx_utilities.cpp.
| fatrop_int casadi::get_horizon_length | ( | void * | user_data | ) |
Definition at line 477 of file fatrop_conic_interface.cpp.
Referenced by casadi::FatropConicInterface::solve().
| fatrop_int casadi::get_initial_uk | ( | double * | uk, |
| const fatrop_int | k, | ||
| void * | user_data | ||
| ) |
Definition at line 1012 of file fatrop_conic_interface.cpp.
References casadi_copy(), and casadi_qp_data< T1 >::x0.
Referenced by casadi::FatropConicInterface::solve().
| fatrop_int casadi::get_initial_xk | ( | double * | xk, |
| const fatrop_int | k, | ||
| void * | user_data | ||
| ) |
Definition at line 1001 of file fatrop_conic_interface.cpp.
References casadi_copy(), and casadi_qp_data< T1 >::x0.
Referenced by casadi::FatropConicInterface::solve().
| casadi_int casadi::get_int_attribute | ( | const onnx::NodeProto & | node, |
| const std::string & | name, | ||
| casadi_int | default_value | ||
| ) |
Definition at line 40 of file onnx_utilities.cpp.
| std::vector<casadi_int> casadi::get_inverse | ( | const std::vector< casadi_int > & | map | ) |
| fatrop_int casadi::get_n_global_params | ( | void * | user_data | ) |
Definition at line 457 of file fatrop_conic_interface.cpp.
Referenced by casadi::FatropConicInterface::solve().
| fatrop_int casadi::get_n_stage_params | ( | const fatrop_int | k, |
| void * | user_data | ||
| ) |
Definition at line 453 of file fatrop_conic_interface.cpp.
Referenced by casadi::FatropConicInterface::solve().
| fatrop_int casadi::get_ng | ( | const fatrop_int | k, |
| void * | user_data | ||
| ) |
Definition at line 442 of file fatrop_conic_interface.cpp.
Referenced by casadi::FatropConicInterface::solve().
| fatrop_int casadi::get_ng_ineq | ( | const fatrop_int | k, |
| void * | user_data | ||
| ) |
Definition at line 469 of file fatrop_conic_interface.cpp.
Referenced by casadi::FatropConicInterface::solve().
| fatrop_int casadi::get_nu | ( | const fatrop_int | k, |
| void * | user_data | ||
| ) |
Definition at line 436 of file fatrop_conic_interface.cpp.
Referenced by casadi::FatropConicInterface::solve().
| fatrop_int casadi::get_nx | ( | const fatrop_int | k, |
| void * | user_data | ||
| ) |
Definition at line 429 of file fatrop_conic_interface.cpp.
Referenced by casadi::FatropConicInterface::solve().
| const OpMapping * casadi::get_op_mapping | ( | casadi_int | op | ) |
Returns nullptr if not a simple mapped operation.
Definition at line 75 of file onnx_operations.cpp.
References op_map.
| const OpMapping * casadi::get_op_mapping_by_name | ( | const std::string & | onnx_name | ) |
Returns nullptr if not a simple mapped operation.
Definition at line 83 of file onnx_operations.cpp.
References op_map.
| std::vector<casadi_int> casadi::get_orders | ( | const std::vector< casadi_int > & | map | ) |
| const T * casadi::get_ptr | ( | const std::vector< T > & | v | ) |
Definition at line 890 of file casadi_misc.hpp.
References T.
| T * casadi::get_ptr | ( | std::vector< T > & | v | ) |
Definition at line 882 of file casadi_misc.hpp.
References T.
Referenced by casadi::FunctionBuffer::_eval(), _which_depends(), casadi::Function::activity(), casadi::SparsityInternal::amd(), casadi::HpmpcInterface::blockptr(), casadi::HpipmInterface::blockptr(), casadi::FatropConicInterface::blockptr(), casadi::Function::buf_in(), casadi::Function::buf_out(), casadi::Blocksqp::calcSR1(), casadi::FunctionInternal::call_gen(), casadi::Function::call_gen(), casadi::ConstantFile::ConstantFile(), casadi::MX::depends_on(), casadi::Convexify::deserialize(), casadi::LinsolQr::det(), casadi::BSpline::dual(), casadi::Matrix< Scalar >::einstein(), einstein_eval(), casadi::Sparsity::etree(), casadi::BSpline::eval(), casadi::BSplineParametric::eval(), casadi::LinearInterpolant::eval(), casadi::LinearInterpolantJac::eval(), casadi::FmuInternal::eval(), casadi::FmuInternal::eval_ad(), casadi::FmuInternal::eval_adj(), eval_BAbt(), casadi::FmuInternal::eval_fd(), eval_Ggt(), eval_Ggt_ineq(), casadi::SXFunction::eval_mx(), eval_RSQrqt(), casadi::CallSX::eval_sx(), casadi::MXFunction::eval_sx(), casadi::Switch::eval_sx(), casadi::Blocksqp::evaluate(), fatrop_blocks_pack(), casadi::Blocksqp::feasibilityRestorationPhase(), casadi::FmuInternal::finalize(), casadi::FmuFunction::FmuFunction(), casadi::FmuInternal::get_all(), casadi::Fmu2::get_aux_impl(), casadi::Fmu3::get_aux_impl(), casadi::Matrix< double >::get_input(), casadi::FunctionInternal::get_jac_sparsity_gen(), casadi::FunctionInternal::get_jac_sparsity_hierarchical(), casadi::FunctionInternal::get_jac_sparsity_hierarchical_symm(), casadi::Fmu2::get_real(), casadi::FmuFunction::get_stats(), hash_combine(), hash_sparsity(), hpipm_blocks_pack(), casadi::FmuFunction::init(), casadi::SXFunction::init(), casadi::MadmpecInterface::init(), casadi::External::init_external(), casadi::CsparseInterface::init_mem(), casadi::HpmpcInterface::init_mem(), casadi::OsqpInterface::init_mem(), casadi::SuperscsInterface::init_mem(), casadi::SparsityInternal::is_equal(), casadi::BSplineCommon::jac(), casadi::Blocksqp::kktErrorReduction(), casadi::Sparsity::kron(), casadi::Sparsity::ldl(), casadi::Ma27Interface::nfact(), casadi::LapackLu::nfact(), casadi::LapackQr::nfact(), casadi::MumpsInterface::nfact(), casadi::LinsolLdl::nfact(), casadi::LinsolQr::nfact(), casadi::Lsqr::nfact(), casadi::SymbolicQr::nfact(), casadi::Sparsity::norm_0_mul(), casadi::SXFunction::print_arg(), casadi::SXFunction::print_res(), casadi::QpoasesInterface::qpoases_nfact(), casadi::QpoasesInterface::qpoases_sfact(), casadi::QpoasesInterface::qpoases_solve(), qr_block_det(), casadi::Sparsity::qr_sparse(), casadi::Function::rev(), casadi::Blocksqp::secondOrderCorrection(), casadi::FmuInternal::set_all(), casadi::ClarabelInterface::set_clarabel_prob(), casadi::DaqpInterface::set_daqp_prob(), casadi::FatropConicInterface::set_fatrop_conic_prob(), casadi::FatropInterface::set_fatrop_prob(), casadi::HighsInterface::set_highs_prob(), casadi::HpipmInterface::set_hpipm_prob(), casadi::MosekInterface::set_mosek_prob(), casadi::Fmu2::set_values(), casadi::Fmu3::set_values(), casadi::FastNewton::set_work(), casadi::XpressInterface::set_xpress_prob(), casadi::Convexify::setup(), casadi::MX::simplify_const_folding(), casadi::CbcInterface::solve(), casadi::ClpInterface::solve(), casadi::CplexInterface::solve(), casadi::FatropConicInterface::solve(), casadi::GurobiInterface::solve(), casadi::HpmpcInterface::solve(), casadi::OoqpInterface::solve(), casadi::PiqpInterface::solve(), casadi::ProxqpInterface::solve(), casadi::QpoasesInterface::solve(), casadi::SuperscsInterface::solve(), casadi::KnitroInterface::solve(), casadi::SnoptInterface::solve(), casadi::Feasiblesqpmethod::solve(), casadi::Ma27Interface::solve(), casadi::LapackLu::solve(), casadi::LinsolLdl::solve(), casadi::LinsolQr::solve(), casadi::Lsqr::solve(), casadi::SymbolicQr::solve(), casadi::LapackQr::solve_batch(), casadi::Blocksqp::solveQP(), and unpack_block().
| CASADI_EXPORT std::vector< std::string > casadi::get_search_paths | ( | ) |
Definition at line 79 of file casadi_os.cpp.
References casadi::GlobalOptions::getCasadiPath(), and pathsep().
Referenced by casadi::ShellCompiler::init(), casadi::DllLibrary::init_handle(), and casadi::PluginInterface< Derived >::load_library().
| std::string casadi::get_string_attribute | ( | const onnx::NodeProto & | node, |
| const std::string & | name | ||
| ) |
Definition at line 56 of file onnx_utilities.cpp.
| A casadi::getcopy | ( | const A & | a, |
| std::map< typename A::base_type *, typename A::internal_base_type > & | already_copied | ||
| ) |
Definition at line 128 of file generic_shared_internal.hpp.
|
static |
Definition at line 92 of file gurobi_interface.cpp.
References casadi::GurobiInterface::handle_lazy_constraints_callback(), and casadi::GurobiMemory::interface.
Referenced by casadi::GurobiInterface::solve().
|
static |
Definition at line 38 of file blazing_spline.cpp.
Referenced by casadi::BlazingSplineFunction::init().
| CASADI_EXPORT bool casadi::has_archiver | ( | const std::string & | name | ) |
Definition at line 38 of file archiver.cpp.
References casadi::PluginInterface< Archiver >::has_plugin().
| CASADI_EXPORT bool casadi::has_blas | ( | const std::string & | name | ) |
Definition at line 250 of file blas.cpp.
References casadi::PluginInterface< Blas >::has_plugin().
| bool casadi::has_empty | ( | const std::vector< MX > & | x, |
| bool | both = false |
||
| ) |
Definition at line 1104 of file mx.cpp.
Referenced by casadi::MX::diagcat(), casadi::MX::horzcat(), and casadi::MX::vertcat().
| bool casadi::has_enum | ( | const std::string & | s | ) |
| CASADI_EXPORT bool casadi::has_filesystem | ( | const std::string & | name | ) |
Definition at line 92 of file filesystem.cpp.
References casadi::PluginInterface< Filesystem >::has_plugin().
| CASADI_EXPORT bool casadi::has_graphmodel | ( | const std::string & | name | ) |
Definition at line 77 of file graph_model.cpp.
References casadi::GraphModel::has_plugin().
| CASADI_EXPORT bool casadi::has_linsol | ( | const std::string & | name | ) |
Definition at line 229 of file linsol.cpp.
References casadi::Linsol::has_plugin().
| CASADI_EXPORT bool casadi::has_modelicaparser | ( | const std::string & | name | ) |
Definition at line 60 of file modelica_parser.cpp.
References casadi::PluginInterface< ModelicaParserInternal >::has_plugin().
| bool casadi::has_negative | ( | const std::vector< T > & | v | ) |
Definition at line 801 of file casadi_misc.hpp.
Referenced by casadi::SparsityInternal::_enlargeColumns(), casadi::SparsityInternal::_enlargeRows(), casadi::SparsityInternal::_erase(), casadi::GetNonzerosVector::generate(), casadi::SetNonzerosVector< Add >::generate(), lookupvector(), and casadi::SparsityInternal::sub().
| bool casadi::has_parent_path | ( | const std::string & | path | ) |
Definition at line 67 of file ghc.cpp.
References path().
Referenced by casadi_register_filesystem_ghc().
| CASADI_EXPORT bool casadi::has_prefix | ( | const std::string & | s | ) |
Definition at line 1492 of file fmu_function.cpp.
Referenced by casadi::Factory< MatType >::get_output(), casadi::InputStruct::parse(), casadi::OutputStruct::parse(), casadi::Factory< MatType >::request_input(), and casadi::Factory< MatType >::request_output().
|
inline |
Extra doc: https://github.com/casadi/casadi/wiki/L_dr
Definition at line 1056 of file casadi_misc.hpp.
References get_ptr(), and hash_combine().
|
inline |
Extra doc: https://github.com/casadi/casadi/wiki/L_dq
Definition at line 1048 of file casadi_misc.hpp.
References hash_combine().
|
inline |
Extra doc: https://github.com/casadi/casadi/wiki/L_dp
Definition at line 1040 of file casadi_misc.hpp.
References hash_value().
Referenced by get_const(), casadi::CodeGenerator::hash(), hash_combine(), hash_sparsity(), and hash_value().
| CASADI_EXPORT std::size_t casadi::hash_sparsity | ( | casadi_int | nrow, |
| casadi_int | ncol, | ||
| const casadi_int * | colind, | ||
| const casadi_int * | row | ||
| ) |
| CASADI_EXPORT std::size_t casadi::hash_sparsity | ( | casadi_int | nrow, |
| casadi_int | ncol, | ||
| const std::vector< casadi_int > & | colind, | ||
| const std::vector< casadi_int > & | row | ||
| ) |
Extra doc: https://github.com/casadi/casadi/wiki/L_ds
Definition at line 1012 of file sparsity.cpp.
References get_ptr().
Referenced by casadi::SparsityInternal::hash().
|
inline |
Extra doc: https://github.com/casadi/casadi/wiki/L_2em
Definition at line 1071 of file casadi_misc.hpp.
References hash_combine().
|
inline |
Definition at line 1061 of file casadi_misc.hpp.
References hash_combine().
|
inline |
Extra doc: https://github.com/casadi/casadi/wiki/L_do
Definition at line 1034 of file casadi_misc.hpp.
Referenced by hash_combine().
| std::vector<casadi_int> casadi::hpipm_blocks_pack | ( | const std::vector< casadi_hpipm_block > & | blocks | ) |
Definition at line 476 of file hpipm_interface.cpp.
References get_ptr().
Referenced by codegen_unpack_block().
|
inline |
CasADi additions
Definition at line 296 of file calculus.hpp.
Referenced by casadi::Call::ad_reverse(), casadi::Switch::codegen_body(), casadi::Switch::eval_sx(), casadi::Nlpsol::get_forward(), casadi::Nlpsol::get_reverse(), and casadi::DaeBuilderInternal::read_expr().
|
inline |
Definition at line 295 of file calculus.hpp.
Referenced by casadi::BinaryMX< ScX, ScY >::ad_forward(), casadi::SXFunction::ad_forward(), casadi::BinaryMX< ScX, ScY >::ad_reverse(), casadi::SXFunction::ad_reverse(), compute_knots_cache(), casadi::BinaryOperation< OP_IF_ELSE_ZERO >::fcn(), casadi::MXNode::get_binary(), and get_boor().
| CASADI_EXPORT std::unique_ptr< std::istream > casadi::ifstream_compat | ( | const std::string & | utf8_path, |
| std::ios::openmode | mode | ||
| ) |
Definition at line 497 of file casadi_os.cpp.
Referenced by casadi::Filesystem::exists(), and casadi::Filesystem::ifstream_ptr().
| bool casadi::in_range | ( | const std::vector< T > & | v, |
| casadi_int | lower, | ||
| casadi_int | upper | ||
| ) |
Definition at line 697 of file casadi_misc.hpp.
| bool casadi::in_range | ( | const std::vector< T > & | v, |
| casadi_int | upper | ||
| ) |
Definition at line 692 of file casadi_misc.hpp.
Referenced by check_sos(), complement(), lookupvector(), and casadi::Function::mapaccum().
| double CASADI_EXPORT casadi::index_interp1d | ( | const std::vector< double > & | x, |
| double | xq, | ||
| bool | equidistant | ||
| ) |
Definition at line 30 of file generic_matrix.cpp.
Referenced by casadi::GenericMatrix< MatType >::interp1d().
| Function casadi::init_gen | ( | const std::map< std::string, X > & | dae, |
| const std::map< std::string, X > & | dae_red, | ||
| const std::string & | init_solver, | ||
| const DMDict & | init_strength, | ||
| const Dict & | init_solver_options | ||
| ) |
Definition at line 1112 of file integration_tools.cpp.
References get_from_dict(), casadi::MX::inf(), nlpsol(), casadi::GenericMatrix< MatType >::numel(), casadi::GenericMatrix< MatType >::size(), str(), casadi::GenericMatrix< MX >::sym(), X, and casadi::GenericMatrix< MatType >::zeros().
Referenced by dae_init_gen().
| void casadi::init_vector | ( | std::vector< S > & | d, |
| const std::vector< D > & | s | ||
| ) |
Definition at line 685 of file casadi_misc.hpp.
Referenced by casadi::HpmpcInterface::init_mem().
| CASADI_EXPORT std::vector< Category > casadi::input_categories | ( | ) |
Definition at line 292 of file dae_builder_internal.cpp.
References is_input_category().
Referenced by casadi::DaeBuilderInternal::oracle(), and casadi::DaeBuilderInternal::prune().
Definition at line 2225 of file dae_builder_internal.cpp.
References D, DDEF, ODE, Q, QUAD, to_string(), W, WDEF, and X.
Referenced by casadi::DaeBuilderInternal::outputs().
|
static |
Definition at line 172 of file uno_interface.cpp.
References casadi::Options::sanitize(), and set_uno_option().
Referenced by casadi::UnoInterface::init_mem().
| MX casadi::interpn_G | ( | casadi_int | i, |
| const MX & | v, | ||
| const std::vector< MX > & | xis, | ||
| const std::vector< MX > & | L, | ||
| const std::vector< MX > & | Lp, | ||
| const std::vector< casadi_int > & | strides, | ||
| const Slice & | I, | ||
| const MX & | offset = 0 |
||
| ) |
Definition at line 3115 of file mx.cpp.
References casadi::MX::get_nz(), and casadi::GenericMatrix< MatType >::size().
Referenced by casadi::MX::interpn_linear().
| std::vector<casadi_int> casadi::invert_lookup | ( | const std::vector< casadi_int > & | lookup | ) |
Definition at line 398 of file integration_tools.cpp.
| std::vector< casadi_int > casadi::invert_permutation | ( | const std::vector< casadi_int > & | a | ) |
Extra doc: https://github.com/casadi/casadi/wiki/L_251
Definition at line 182 of file casadi_misc.cpp.
References is_permutation().
Referenced by casadi::Sparsity::permutation(), casadi::Sparsity::permutation_vector(), casadi::SparsityInternal::pmult(), and casadi::Sparsity::pmult().
|
static |
Definition at line 87 of file onnx_model.cpp.
References casadi::Node::dim_params, casadi::Node::dimension, casadi::Node::dtype, casadi::Node::io, casadi::Node::name, and onnx_dtype_name().
Referenced by casadi::Onnx::fill_metadata().
| CASADI_EXPORT bool casadi::is_acyclic | ( | Category | cat | ) |
Definition at line 268 of file dae_builder_internal.cpp.
Referenced by casadi::DaeBuilderInternal::categorize(), casadi::DaeBuilderInternal::eliminate(), and casadi::DaeBuilderInternal::sort().
| bool casadi::is_decreasing | ( | const std::vector< T > & | v | ) |
| bool casadi::is_directory | ( | const std::string & | path | ) |
Definition at line 31 of file ghc.cpp.
References path().
Referenced by casadi_register_filesystem_ghc().
|
inline |
CasADi additions
Definition at line 287 of file calculus.hpp.
Referenced by common_simp_binary(), casadi::DaeBuilderInternal::find(), casadi::XFunction< DerivedType, MatType, NodeType >::isInput(), casadi::Sparsity::operator!=(), casadi::Sparsity::operator==(), and casadi::MXFunction::symbolic_output().
| CASADI_EXPORT bool casadi::is_equally_spaced | ( | const std::vector< double > & | v | ) |
Definition at line 122 of file casadi_misc.cpp.
Referenced by casadi::Interpolant::interpret_lookup_mode().
| bool casadi::is_increasing | ( | const std::vector< T > & | v | ) |
Definition at line 747 of file casadi_misc.hpp.
References T.
Referenced by casadi::Interpolant::check_grid(), casadi::GenericMatrix< MatType >::interp1d(), casadi::Interpolant::interpret_lookup_mode(), and is_strictly_monotone().
| CASADI_EXPORT bool casadi::is_input_category | ( | Category | cat | ) |
Definition at line 234 of file dae_builder_internal.cpp.
References C, D, P, Q, T, U, W, X, and Z.
Referenced by input_categories(), casadi::DaeBuilderInternal::inputs(), and casadi::DaeBuilder::set_all().
| bool casadi::is_monotone | ( | const std::vector< T > & | v | ) |
Definition at line 791 of file casadi_misc.hpp.
References is_nondecreasing(), and is_nonincreasing().
Referenced by casadi::MX::diagsplit(), casadi::Sparsity::diagsplit(), casadi::MX::horzsplit(), casadi::Sparsity::horzsplit(), and casadi::MX::vertsplit().
| bool casadi::is_nondecreasing | ( | const std::vector< T > & | v | ) |
Definition at line 780 of file casadi_misc.hpp.
References T.
Referenced by casadi::SparsityInternal::_erase(), casadi::BlazingSplineFunction::init(), and is_monotone().
| bool casadi::is_nonincreasing | ( | const std::vector< T > & | v | ) |
| CASADI_EXPORT bool casadi::is_output_category | ( | Category | cat | ) |
Definition at line 252 of file dae_builder_internal.cpp.
References ALG, DDEF, ODE, QUAD, WDEF, Y, and ZERO.
Referenced by output_categories(), and casadi::DaeBuilder::set_all().
| bool casadi::is_permutation | ( | const std::vector< casadi_int > & | order | ) |
Extra doc: https://github.com/casadi/casadi/wiki/L_250
Definition at line 175 of file casadi_misc.cpp.
Referenced by invert_permutation(), casadi::Sparsity::permutation(), and permute().
|
static |
Definition at line 54 of file blazing_spline.cpp.
Referenced by casadi::BlazingSplineFunction::init(), and scan_prefix_pow2().
| CASADI_EXPORT bool casadi::is_range | ( | const std::vector< casadi_int > & | v, |
| casadi_int | start, | ||
| casadi_int | stop, | ||
| casadi_int | step = 1 |
||
| ) |
Extra doc: https://github.com/casadi/casadi/wiki/L_1l7
Definition at line 95 of file casadi_misc.cpp.
Referenced by casadi::MXNode::get_nzref().
| bool casadi::is_regular | ( | const std::vector< T > & | v | ) |
Definition at line 428 of file casadi_misc.hpp.
Referenced by casadi::Interpolant::check_grid(), is_regular(), and casadi::OptiNode::solve_prepare().
|
inline |
Definition at line 239 of file sundials_interface.hpp.
References is_regular().
| bool CASADI_EXPORT casadi::is_slice | ( | const IM & | x, |
| bool | ind1 = false |
||
| ) |
Definition at line 30 of file im_instantiator.cpp.
References casadi::GenericMatrix< MatType >::is_column(), casadi::GenericMatrix< MatType >::is_dense(), casadi::GenericMatrix< MatType >::is_scalar(), and casadi::Matrix< Scalar >::nonzeros().
Referenced by casadi::SetNonzeros< Add >::create(), casadi::GetNonzeros::create(), is_slice2(), to_slice(), and to_slice2().
| bool CASADI_EXPORT casadi::is_slice | ( | const std::vector< casadi_int > & | v, |
| bool | ind1 | ||
| ) |
| bool CASADI_EXPORT casadi::is_slice2 | ( | const std::vector< casadi_int > & | v | ) |
Definition at line 202 of file slice.cpp.
References is_slice().
Referenced by casadi::SetNonzeros< Add >::create(), casadi::GetNonzeros::create(), and to_slice2().
| bool casadi::is_strictly_monotone | ( | const std::vector< T > & | v | ) |
Definition at line 796 of file casadi_misc.hpp.
References is_decreasing(), and is_increasing().
|
inline |
Definition at line 96 of file casadi_limits.hpp.
References casadi::casadi_limits< T >::is_zero().
Referenced by casadi::MXFunction::ad_forward(), casadi::MXFunction::ad_reverse(), casadi::Solve< Tr >::eval_mx(), casadi::Constant< Value >::get_project(), casadi::Constant< Value >::get_unary(), and casadi::Constant< Value >::is_value().
| bool casadi::isUnique | ( | const std::vector< T > & | v | ) |
Definition at line 741 of file casadi_misc.hpp.
Referenced by casadi::Function::mapaccum().
| std::vector<std::string> casadi::iterate_directory_names | ( | const std::string & | path | ) |
Definition at line 39 of file ghc.cpp.
References path().
Referenced by casadi_register_filesystem_ghc().
| CASADI_EXPORT std::string casadi::join | ( | const std::vector< std::string > & | l, |
| const std::string & | delim | ||
| ) |
Definition at line 208 of file casadi_misc.cpp.
Referenced by casadi::CodeGenerator::copy_check(), casadi::Function::expand(), casadi::OracleFunction::finalize(), casadi::FunctionInternal::generate_options(), casadi::MapSum::get_forward(), casadi::Map::get_function(), casadi::MapSum::get_function(), casadi::OracleFunction::get_function(), casadi::XFunction< DerivedType, MatType, NodeType >::get_jacobian(), casadi::MapSum::get_reverse(), casadi::Factory< MatType >::imap(), casadi::MXFunction::init(), casadi::SXFunction::init(), casadi::OracleFunction::monitored(), casadi::Factory< MatType >::omap(), reduce_index_gen(), casadi::Factory< MatType >::request_input(), casadi::Factory< MatType >::request_output(), and casadi::FunctionInternal::signature_unrolled().
| std::vector< T > casadi::join | ( | const std::vector< T > & | a, |
| const std::vector< T > & | b | ||
| ) |
Extra doc: https://github.com/casadi/casadi/wiki/L_1lb
Definition at line 621 of file casadi_misc.hpp.
| std::vector< T > casadi::join | ( | const std::vector< T > & | a, |
| const std::vector< T > & | b, | ||
| const std::vector< T > & | c | ||
| ) |
Extra doc: https://github.com/casadi/casadi/wiki/L_1lc
Definition at line 628 of file casadi_misc.hpp.
|
inline |
Definition at line 51 of file piqp_interface.cpp.
References kkt_solver_from_string().
Referenced by casadi::PiqpInterface::init(), kkt_solver_from_string(), and casadi::PiqpInterface::PiqpInterface().
|
static |
|
static |
Definition at line 213 of file bspline.cpp.
References casadi::GenericMatrix< MatType >::size1().
|
static |
inner = true: Y[i, j] = sum over (r, s) of M[i*mB+r, j*nB+s] * X[r, s] inner = false: Y[r, s] = sum over (i, j) of X[i, j] * M[i*mB+r, j*nB+s]
Closes the AD algebra of kron under arbitrary-order differentiation.
Extra doc: https://github.com/casadi/casadi/wiki/L_2ho
Definition at line 1121 of file mx.hpp.
References casadi::MX::kron_contract().
Referenced by casadi::KronContract::ad_forward(), casadi::Kron::ad_reverse(), casadi::KronContract::ad_reverse(), and casadi::KronContract::eval_mx().
|
static |
Definition at line 61 of file kron.cpp.
References casadi::Sparsity::colind(), and casadi::Sparsity::size2().
| void casadi::linspace | ( | std::vector< T > & | v, |
| const F & | first, | ||
| const L & | last | ||
| ) |
| CASADI_EXPORT void casadi::load_archiver | ( | const std::string & | name | ) |
Definition at line 42 of file archiver.cpp.
References casadi::PluginInterface< Archiver >::load_plugin().
| CASADI_EXPORT void casadi::load_blas | ( | const std::string & | name | ) |
Definition at line 255 of file blas.cpp.
References casadi::PluginInterface< Blas >::load_plugin().
| CASADI_EXPORT void casadi::load_filesystem | ( | const std::string & | name | ) |
Definition at line 96 of file filesystem.cpp.
References casadi::PluginInterface< Filesystem >::load_plugin().
| CASADI_EXPORT void casadi::load_graphmodel | ( | const std::string & | name | ) |
Definition at line 78 of file graph_model.cpp.
References casadi::GraphModel::load_plugin().
| CASADI_EXPORT void casadi::load_linsol | ( | const std::string & | name | ) |
Definition at line 233 of file linsol.cpp.
References casadi::Linsol::load_plugin().
| CASADI_EXPORT void casadi::load_modelicaparser | ( | const std::string & | name | ) |
Definition at line 64 of file modelica_parser.cpp.
References casadi::ModelicaParser::load_plugin().
|
static |
| std::string casadi::log_level_name | ( | SLEQP_LOG_LEVEL | level | ) |
| CASADI_EXPORT std::vector< casadi_int > casadi::lookupvector | ( | const std::vector< casadi_int > & | v | ) |
Definition at line 170 of file casadi_misc.cpp.
References has_negative(), and lookupvector().
| CASADI_EXPORT std::vector< casadi_int > casadi::lookupvector | ( | const std::vector< casadi_int > & | v, |
| casadi_int | size | ||
| ) |
lookupvector[i]!=-1 <=> v contains i v[lookupvector[i]] == i <=> v contains i
Duplicates are treated by looking up last occurrence
Extra doc: https://github.com/casadi/casadi/wiki/L_1lg
Definition at line 159 of file casadi_misc.cpp.
References in_range().
Referenced by detect_simple_bounds_gen(), einstein_process(), casadi::FunctionInternal::get_jac_sparsity_hierarchical(), casadi::FunctionInternal::get_jac_sparsity_hierarchical_symm(), casadi::SuperscsInterface::init(), lookupvector(), casadi::Function::mapaccum(), casadi::Convexify::setup(), casadi::SuperscsInterface::solve(), and casadi::SparsityInternal::sub().
| std::map<std::string, X> casadi::map_semi_expl | ( | const std::map< std::string, X > & | dae, |
| const std::map< std::string, X > & | dae_red, | ||
| Function & | state_to_orig, | ||
| Function & | phi | ||
| ) |
Definition at line 1076 of file integration_tools.cpp.
References get_from_dict(), and X.
Referenced by dae_map_semi_expl().
| UnifiedReturnStatus casadi::map_status | ( | SLEQP_STATUS | status | ) |
Definition at line 479 of file sleqp_interface.cpp.
References SOLVER_RET_INFEASIBLE, SOLVER_RET_LIMITED, SOLVER_RET_SUCCESS, and SOLVER_RET_UNKNOWN.
Referenced by casadi::SLEQPInterface::solve().
|
inline |
Extra doc: https://github.com/casadi/casadi/wiki/L_18d
Definition at line 63 of file matrix_decl.hpp.
|
inline |
Extra doc: https://github.com/casadi/casadi/wiki/L_18d
Definition at line 66 of file matrix_decl.hpp.
|
inline |
Extra doc: https://github.com/casadi/casadi/wiki/L_18d
Definition at line 65 of file matrix_decl.hpp.
|
inline |
|
inline |
Definition at line 119 of file exception.hpp.
|
static |
Definition at line 295 of file mosek_interface.cpp.
Referenced by casadi::MosekInterface::init_mem().
| SX casadi::mtaylor_recursive | ( | const SX & | ex, |
| const SX & | x, | ||
| const SX & | a, | ||
| casadi_int | order, | ||
| const std::vector< casadi_int > & | order_contributions, | ||
| const SXElem & | current_dx = casadi_limits<SXElem>::one, |
||
| double | current_denom = 1, |
||
| casadi_int | current_order = 1 |
||
| ) |
Definition at line 1265 of file sx_instantiator.cpp.
References mtaylor_recursive(), and casadi::GenericMatrix< MatType >::nnz().
Referenced by mtaylor_recursive().
| void CASADI_EXPORT casadi::mtimes_dense_dispatch< double > | ( | const std::string & | blas, |
| const double * | A, | ||
| casadi_int | m, | ||
| casadi_int | k, | ||
| const double * | B, | ||
| casadi_int | n, | ||
| double * | C | ||
| ) |
Definition at line 401 of file dm_instantiator.cpp.
References C.
|
static |
Definition at line 1824 of file sparsity.cpp.
References casadi::Sparsity::colind(), casadi::Sparsity::dim(), casadi::Sparsity::row(), casadi::Sparsity::size1(), and casadi::Sparsity::size2().
| bool casadi::mul_overflows | ( | const T & | a, |
| const T & | b | ||
| ) |
| CASADI_EXPORT casadi_int casadi::n_fd_points | ( | FdMode | v | ) |
Definition at line 41 of file finite_differences.cpp.
References BACKWARD, CENTRAL, FORWARD, and SMOOTHING.
Referenced by casadi::FmuInternal::eval_fd().
| bool casadi::name_has_g | ( | const std::string & | name | ) |
| CASADI_EXPORT std::ifstream* casadi::new_ifstream_compat | ( | const std::string & | utf8_path, |
| std::ios::openmode | mode = std::ios::in |
||
| ) |
|
static |
Definition at line 2638 of file code_generator.cpp.
Referenced by casadi::CodeGenerator::sanitize_source().
| T casadi::norm_1 | ( | const std::vector< T > & | x | ) |
Definition at line 998 of file casadi_misc.hpp.
References T.
Referenced by casadi::BSplineInterpolant::construct_graph().
| T casadi::norm_2 | ( | const std::vector< T > & | x | ) |
| T casadi::norm_inf | ( | const std::vector< T > & | x | ) |
|
inline |
Definition at line 469 of file casadi_misc.hpp.
|
inline |
Definition at line 458 of file casadi_misc.hpp.
Referenced by casadi::FunctionInternal::generate_in(), casadi::Function::generate_in(), casadi::Function::generate_out(), casadi::FunctionInternal::generate_out(), and casadi::FunctionInternal::print_canonical().
| CASADI_EXPORT void casadi::normalized_setup | ( | std::istream & | stream | ) |
Definition at line 420 of file casadi_misc.cpp.
Referenced by casadi::FunctionInternal::generate_in(), casadi::Function::generate_in(), casadi::Function::generate_out(), casadi::FunctionInternal::generate_out(), and casadi::FunctionInternal::print_canonical().
| CASADI_EXPORT void casadi::normalized_setup | ( | std::ostream & | stream | ) |
Definition at line 424 of file casadi_misc.cpp.
| CASADI_EXPORT std::unique_ptr< std::ostream > casadi::ofstream_compat | ( | const std::string & | utf8_path, |
| std::ios::openmode | mode | ||
| ) |
| CASADI_EXPORT casadi_int casadi::onnx_dtype_enum | ( | const std::string & | name | ) |
Definition at line 87 of file onnx_function.cpp.
Referenced by casadi::OnnxFunction::OnnxFunction().
| std::string casadi::onnx_dtype_name | ( | casadi_int | t | ) |
| std::string casadi::onnx_input_name | ( | const Function & | f, |
| casadi_int | i | ||
| ) |
Definition at line 34 of file onnx_export.cpp.
References casadi::Function::name_in().
Referenced by casadi::Onnx::load().
| std::string casadi::onnx_output_name | ( | const Function & | f, |
| casadi_int | i | ||
| ) |
Definition at line 39 of file onnx_export.cpp.
References casadi::Function::name_out().
Referenced by casadi::Onnx::load().
|
static |
Definition at line 642 of file dae_builder_internal.cpp.
References casadi::Resource::create(), casadi::Filesystem::filename(), casadi::ModelicaParser::parse(), casadi::TemporaryDirResource::path(), and path().
| bool casadi::operation_checker | ( | casadi_int | op | ) |
Definition at line 1129 of file calculus.hpp.
| T casadi::operation_getter | ( | casadi_int | op | ) |
Definition at line 1021 of file calculus.hpp.
References OP_ACOS, OP_ACOSH, OP_ADD, OP_ADDNONZEROS, OP_ADDNONZEROS_PARAM, OP_AND, OP_ASIN, OP_ASINH, OP_ASSERTION, OP_ASSIGN, OP_ATAN, OP_ATAN2, OP_ATANH, OP_BILIN, OP_BSPLINE, OP_CALL, OP_CEIL, OP_CONST, OP_CONSTPOW, OP_CONVEXIFY, OP_COPYSIGN, OP_COS, OP_COSH, OP_DETERMINANT, OP_DIAGCAT, OP_DIAGSPLIT, OP_DIV, OP_DOT, OP_DUMP, OP_EINSTEIN, OP_EQ, OP_ERF, OP_ERFINV, OP_EXP, OP_EXPM1, OP_FABS, OP_FIND, OP_FLOOR, OP_FMAX, OP_FMIN, OP_FMOD, OP_GETNONZEROS, OP_GETNONZEROS_PARAM, OP_HORZCAT, OP_HORZREPMAT, OP_HORZREPSUM, OP_HORZSPLIT, OP_HYPOT, OP_IF_ELSE_ZERO, OP_INPUT, OP_INV, OP_INVERSE, OP_KRON, OP_KRON_CONTRACT, OP_LE, OP_LIFT, OP_LOG, OP_LOG1P, OP_LOGSUMEXP, OP_LOW, OP_LT, OP_MAP, OP_MMAX, OP_MMIN, OP_MONITOR, OP_MTIMES, OP_MUL, OP_NE, OP_NEG, OP_NORM1, OP_NORM2, OP_NORMF, OP_NORMINF, OP_NOT, OP_OR, OP_OUTPUT, OP_PARAMETER, OP_POW, OP_PRINTME, OP_PROJECT, OP_RANK1, OP_REMAINDER, OP_RESHAPE, OP_SETNONZEROS, OP_SETNONZEROS_PARAM, OP_SIGN, OP_SIN, OP_SINH, OP_SOLVE, OP_SPARSITY_CAST, OP_SQ, OP_SQRT, OP_SUB, OP_SUBASSIGN, OP_SUBREF, OP_TAN, OP_TANH, OP_TRANSPOSE, OP_TWICE, OP_VERTCAT, OP_VERTSPLIT, and T.
| std::ostream& casadi::operator<< | ( | std::ostream & | stream, |
| const std::array< T, N > & | v | ||
| ) |
Definition at line 522 of file casadi_misc.hpp.
References str().
| std::ostream& casadi::operator<< | ( | std::ostream & | stream, |
| const std::map< std::string, T2 > & | p | ||
| ) |
Definition at line 547 of file casadi_misc.hpp.
References str().
| std::ostream& casadi::operator<< | ( | std::ostream & | stream, |
| const std::map< T1, T2 > & | p | ||
| ) |
Definition at line 541 of file casadi_misc.hpp.
References str().
| std::ostream& casadi::operator<< | ( | std::ostream & | stream, |
| const std::pair< T1, T2 > & | p | ||
| ) |
Definition at line 535 of file casadi_misc.hpp.
References str().
| std::ostream& casadi::operator<< | ( | std::ostream & | stream, |
| const std::set< T > & | v | ||
| ) |
Definition at line 529 of file casadi_misc.hpp.
References str().
| std::ostream& casadi::operator<< | ( | std::ostream & | stream, |
| const std::vector< T > & | v | ||
| ) |
Definition at line 515 of file casadi_misc.hpp.
References str().
| std::ostream& casadi::operator<< | ( | std::ostream & | stream, |
| const XmlNode & | node | ||
| ) |
Extra doc: https://github.com/casadi/casadi/wiki/L_vv
Definition at line 79 of file xml_node.cpp.
Definition at line 65 of file repmat.cpp.
Referenced by casadi::HorzRepsum::sp_forward(), casadi::HorzRepmat::sp_reverse(), and casadi::HorzRepsum::sp_reverse().
| CASADI_EXPORT std::vector< Category > casadi::output_categories | ( | ) |
Definition at line 301 of file dae_builder_internal.cpp.
References is_output_category().
Referenced by casadi::DaeBuilderInternal::gather_eq(), casadi::DaeBuilderInternal::oracle(), and casadi::DaeBuilderInternal::prune().
| bool casadi::override_num | ( | const std::map< casadi_int, MX > & | temp, |
| std::vector< DM > & | num, | ||
| casadi_int | i | ||
| ) |
Definition at line 1391 of file optistack_internal.cpp.
References all(), and casadi::Matrix< Scalar >::set().
Referenced by casadi::OptiNode::value().
|
static |
Definition at line 143 of file onnx_function.cpp.
References casadi::SerializingStream::pack().
Referenced by casadi::OnnxFunction::serialize_body().
| int casadi::param_by_name | ( | CPXENVptr | env, |
| const std::string & | name | ||
| ) |
Definition at line 191 of file cplex_interface.cpp.
Referenced by casadi::CplexInterface::init_mem(), and casadi::CplexInterface::solve().
| std::string casadi::parent_path | ( | const std::string & | path | ) |
Definition at line 63 of file ghc.cpp.
References path().
Referenced by casadi_register_filesystem_ghc().
| std::vector<casadi_int> casadi::path | ( | const std::vector< casadi_int > & | map, |
| casadi_int | i_start | ||
| ) |
Definition at line 793 of file integration_tools.cpp.
Referenced by casadi::Filesystem::absolute(), absolute(), casadi::Filesystem::create_directories(), create_directories(), casadi::DaeBuilder::DaeBuilder(), casadi::Filesystem::ensure_trailing_slash(), casadi::Filesystem::exists(), casadi::Filesystem::filename(), filename(), format_from_path(), casadi::ClangCompiler::getIncludes(), casadi::Filesystem::has_parent_path(), has_parent_path(), casadi::Filesystem::ifstream_ptr(), casadi::ClangCompiler::init(), casadi::DllLibrary::init_handle(), casadi::Filesystem::is_absolute(), casadi::Filesystem::is_directory(), is_directory(), casadi::Filesystem::iterate_directory_names(), iterate_directory_names(), casadi::Filesystem::ofstream_ptr(), open_resource(), casadi::DaeBuilderInternal::pack_fmu(), casadi::FmuInternal::pack_fmu(), casadi::Filesystem::parent_path(), parent_path(), reduce_index_gen(), casadi::Filesystem::remove(), remove(), casadi::Filesystem::remove_all(), remove_all(), casadi::GlobalOptions::setCasadiIncludePath(), and casadi::GlobalOptions::setCasadiPath().
| CASADI_EXPORT char casadi::pathsep | ( | ) |
Definition at line 64 of file casadi_os.cpp.
Referenced by get_search_paths(), and casadi::ClangCompiler::init().
|
static |
Definition at line 87 of file linsol_qr.cpp.
Referenced by casadi::SymbolicQr::det(), casadi::LinsolQr::finalize(), and qr_block_det().
|
static |
Definition at line 48 of file symbolic_qr.cpp.
| std::vector< T > casadi::permute | ( | const std::vector< T > & | a, |
| const std::vector< casadi_int > & | order | ||
| ) |
Extra doc: https://github.com/casadi/casadi/wiki/L_1ld
Definition at line 636 of file casadi_misc.hpp.
References is_permutation(), and vector_slice().
| CASADI_EXPORT std::string casadi::pop_prefix | ( | const std::string & | s, |
| std::string * | rem | ||
| ) |
Definition at line 1496 of file fmu_function.cpp.
Referenced by casadi::InputStruct::parse(), and casadi::OutputStruct::parse().
|
static |
Definition at line 413 of file onnx_export.cpp.
| void casadi::print_vec | ( | const std::string & | str, |
| const double * | v, | ||
| casadi_int | n | ||
| ) |
|
inline |
CasADi additions
Definition at line 279 of file calculus.hpp.
References uout().
Referenced by casadi::BinaryOperation< OP_PRINTME >::fcn().
| T casadi::product | ( | const std::vector< T > & | values | ) |
Extra doc: https://github.com/casadi/casadi/wiki/L_1lk
Definition at line 934 of file casadi_misc.hpp.
References T.
Referenced by casadi_func_hess_prod(), casadi::Matrix< Scalar >::einstein(), casadi::MX::einstein(), einstein_process(), casadi::MX::interpn_linear(), and interpolant().
| Function casadi::qpsol_nlp | ( | const std::string & | name, |
| const std::string & | solver, | ||
| const std::map< std::string, M > & | qp, | ||
| const Dict & | opts | ||
| ) |
Definition at line 111 of file conic.cpp.
References conic(), CONIC_A, CONIC_COST, CONIC_G, CONIC_H, CONIC_LAM_A, CONIC_LAM_A0, CONIC_LAM_X, CONIC_LAM_X0, CONIC_LBA, CONIC_LBX, CONIC_NUM_IN, CONIC_P, CONIC_Q, CONIC_UBA, CONIC_UBX, CONIC_X, CONIC_X0, casadi::Function::expand(), extract_from_dict_inplace(), get_from_dict(), casadi::Function::n_in(), casadi::Function::n_out(), casadi::Function::name_in(), casadi::Function::name_out(), casadi::MX::nan(), NL_NUM_IN, NL_P, NL_X, nlpsol_default_in(), NLPSOL_F, NLPSOL_G, nlpsol_in(), NLPSOL_LAM_G, NLPSOL_LAM_G0, NLPSOL_LAM_P, NLPSOL_LAM_X, NLPSOL_LAM_X0, NLPSOL_LBG, NLPSOL_LBX, NLPSOL_NUM_IN, NLPSOL_NUM_OUT, nlpsol_out(), NLPSOL_P, NLPSOL_UBG, NLPSOL_UBX, NLPSOL_X, NLPSOL_X0, P, Q, str(), casadi::Function::sx_in(), and casadi::GenericMatrix< MX >::sym().
Referenced by qpsol().
Definition at line 62 of file symbolic_qr.cpp.
References get_ptr(), casadi::GenericMatrix< MatType >::is_scalar(), casadi::Matrix< Scalar >::nonzeros(), permutation_sign(), casadi::Matrix< Scalar >::qr_sparse(), and casadi::Matrix< Scalar >::sparsity().
Referenced by casadi::SymbolicQr::det().
| CASADI_EXPORT std::vector< casadi_int > casadi::range | ( | casadi_int | start, |
| casadi_int | stop, | ||
| casadi_int | step = 1, |
||
| casadi_int | len = std::numeric_limits< casadi_int >::max() |
||
| ) |
| start | |
| stop | |
| step | |
| len | Consider a infinitely long list [start, start+step, start+2*step, ...] Elements larger than or equal to stop are chopped off. |
Extra doc: https://github.com/casadi/casadi/wiki/L_1l6
Definition at line 108 of file casadi_misc.cpp.
Referenced by casadi::SparsityInternal::_erase(), casadi::Slice::all(), casadi::HpmpcInterface::blocksparsity(), casadi::HpipmInterface::blocksparsity(), casadi::FatropConicInterface::blocksparsity(), casadi::SparsityInterface< MatType >::blocksplit(), casadi::BSplineCommon::derivative_coeff(), derivative_coeff_mx(), casadi::SymbolicQr::det(), detect_simple_bounds_gen(), casadi::Sparsity::diag(), casadi::SparsityInterface< MatType >::diagsplit(), do_inline(), casadi::MX::enlarge(), casadi::MXFunction::export_code_body(), casadi::SparsityInternal::find(), casadi::Function::fold(), get_boor(), casadi::External::get_forward(), casadi::FunctionInternal::get_jac_sparsity_hierarchical(), casadi::FunctionInternal::get_jac_sparsity_hierarchical_symm(), casadi::External::get_reverse(), casadi::SparsityInterface< MatType >::horzsplit(), casadi::FmuFunction::init(), casadi::SnoptInterface::init(), casadi::SuperscsInterface::init(), casadi::LinsolLdl::init(), casadi::Sqpmethod::init(), casadi::Sparsity::ldl(), casadi::Function::map(), casadi::Function::mapaccum(), casadi::FunctionInternal::mapsum_mx(), casadi::MX::MX(), casadi::Sparsity::permutation(), casadi::Sparsity::qr_sparse(), range(), casadi::Conic::sdp_to_socp_init(), casadi::Convexify::setup(), casadi::SuperscsInterface::solve(), casadi::SparsityInternal::star_coloring(), and casadi::SparsityInterface< MatType >::vertsplit().
| CASADI_EXPORT std::vector< casadi_int > casadi::range | ( | casadi_int | stop | ) |
| stop |
Extra doc: https://github.com/casadi/casadi/wiki/L_1l8
Definition at line 137 of file casadi_misc.cpp.
References range().
| std::vector<T> casadi::read_list | ( | const XmlNode & | n | ) |
Definition at line 3811 of file dae_builder_internal.cpp.
References casadi::XmlNode::size(), and T.
| void casadi::read_matlab | ( | std::ifstream & | file, |
| std::vector< std::vector< T > > & | v | ||
| ) |
| void casadi::read_matlab | ( | std::istream & | stream, |
| std::vector< T > & | v | ||
| ) |
| const std::map<std::string, X> casadi::reduce_index_gen | ( | const std::map< std::string, X > & | dae, |
| Dict & | stats, | ||
| const Dict & | opts | ||
| ) |
Definition at line 807 of file integration_tools.cpp.
References all(), casadi::Polynomial::coeff(), complement(), casadi::IndexReduction::dae_struct_detect(), get_from_dict(), get_inverse(), get_orders(), join(), casadi::Sparsity::numel(), path(), str(), vector_slice(), and X.
Referenced by dae_reduce_index().
| MX casadi::register_symbol | ( | const MX & | node, |
| std::map< MXNode *, MX > & | symbol_map, | ||
| std::vector< MX > & | symbol_v, | ||
| std::vector< MX > & | parametric_v, | ||
| bool | extract_trivial, | ||
| casadi_int | v_offset, | ||
| const std::string & | v_prefix, | ||
| const std::string & | v_suffix | ||
| ) |
Definition at line 2780 of file mx.cpp.
References casadi::MX::find(), casadi::MX::get(), casadi::MX::is_symbolic(), casadi::MX::sparsity(), str(), and casadi::GenericMatrix< MX >::sym().
Referenced by casadi::MX::extract_parametric().
| SXElem casadi::register_symbol | ( | const SXElem & | node, |
| std::map< SXNode *, SXElem > & | symbol_map, | ||
| std::vector< SXElem > & | symbol_v, | ||
| std::vector< SXElem > & | parametric_v, | ||
| bool | extract_trivial, | ||
| casadi_int | v_offset, | ||
| const std::string & | v_prefix, | ||
| const std::string & | v_suffix | ||
| ) |
Definition at line 630 of file sx_instantiator.cpp.
References casadi::MX::find(), casadi::SXElem::get(), casadi::SXElem::is_symbolic(), str(), and casadi::SXElem::sym().
| bool casadi::remove | ( | const std::string & | path | ) |
Definition at line 47 of file ghc.cpp.
References path().
Referenced by casadi_register_filesystem_ghc(), casadi::AmplInterface::solve(), casadi::FunctionInternal::~FunctionInternal(), and casadi::ShellCompiler::~ShellCompiler().
| casadi_int casadi::remove_all | ( | const std::string & | path | ) |
Definition at line 51 of file ghc.cpp.
References path().
Referenced by casadi_register_filesystem_ghc().
| CASADI_EXPORT std::string casadi::replace | ( | const std::string & | s, |
| const std::string & | p, | ||
| const std::string & | r | ||
| ) |
Definition at line 225 of file casadi_misc.cpp.
Referenced by casadi::CodeGenerator::constant(), casadi::MX::extract(), casadi::External::factory(), casadi::CodeGenerator::fmu_helpers(), casadi::Factory< MatType >::request_output(), and casadi::CodeGenerator::sanitize_source().
| M casadi::replace_mat | ( | const M & | arg, |
| const Sparsity & | inp, | ||
| casadi_int | npar | ||
| ) |
Definition at line 1821 of file function_internal.hpp.
References casadi::Sparsity::size(), casadi::Sparsity::size1(), and casadi::Sparsity::size2().
Referenced by casadi::FunctionInternal::mapsum_mx(), casadi::FunctionInternal::replace_arg(), and casadi::FunctionInternal::replace_res().
| void casadi::report_issue | ( | casadi_int | i, |
| const std::string & | msg | ||
| ) |
Definition at line 92 of file fatrop_interface.cpp.
References casadi::GlobalOptions::start_index, and str().
Referenced by casadi::FatropInterface::init().
| std::string casadi::return_code | ( | casadi_int | status | ) |
|
inline |
Definition at line 141 of file cbc_interface.cpp.
Referenced by casadi::CbcInterface::get_stats(), casadi::ClpInterface::get_stats(), casadi::CbcInterface::solve(), and casadi::ClpInterface::solve().
|
inline |
Definition at line 325 of file bonmin_interface.cpp.
Referenced by casadi::BonminInterface::finalize_solution(), casadi::CbcInterface::get_stats(), casadi::ClpInterface::get_stats(), casadi::GurobiInterface::get_stats(), casadi::CbcInterface::solve(), casadi::ClpInterface::solve(), casadi::GurobiInterface::solve(), casadi::IpoptInterface::solve(), and casadi::UnoInterface::solve().
|
inline |
Definition at line 330 of file gurobi_interface.cpp.
|
inline |
Definition at line 82 of file cbc_interface.cpp.
|
inline |
Definition at line 385 of file ipopt_interface.cpp.
| std::vector< T > casadi::reverse | ( | const std::vector< T > & | v | ) |
Extra doc: https://github.com/casadi/casadi/wiki/L_1la
Definition at line 614 of file casadi_misc.hpp.
Referenced by casadi::Factory< MatType >::calculate_adj(), and casadi::External::get_reverse().
|
static |
Definition at line 61 of file blazing_spline.cpp.
References is_pow2_ge8(), and str().
Referenced by casadi::BlazingSplineFunction::init().
|
static |
Definition at line 97 of file onnx_function.cpp.
References all().
Referenced by casadi::OnnxFunction::OnnxFunction().
| char casadi::sense_to_gurobi | ( | const std::string & | sense | ) |
Definition at line 43 of file gurobi_interface.cpp.
Referenced by casadi::GurobiInterface::handle_lazy_constraints_callback().
|
static |
Definition at line 158 of file uno_interface.cpp.
References casadi::GenericType::is_bool(), casadi::GenericType::is_double(), casadi::GenericType::is_int(), casadi::GenericType::is_string(), casadi::GenericType::to_bool(), casadi::GenericType::to_double(), casadi::GenericType::to_int(), and casadi::GenericType::to_string().
Referenced by insert_casadi_options().
| const B casadi::shared_cast | ( | const S & | A | ) |
cf. dynamic_cast (const)
Extra doc: https://github.com/casadi/casadi/wiki/L_b7
Definition at line 230 of file generic_shared.hpp.
| B casadi::shared_cast | ( | S & | A | ) |
cf. dynamic_cast
Extra doc: https://github.com/casadi/casadi/wiki/L_b6
Get a pointer to the node
Create a return object
Quick return if not allowed
Assign node of B and return
Definition at line 208 of file generic_shared.hpp.
|
inline |
Definition at line 270 of file calculus.hpp.
Referenced by casadi::Norm1::ad_forward(), casadi::NormInf::ad_forward(), casadi::Norm1::ad_reverse(), casadi::NormInf::ad_reverse(), casadi::UnaryOperation< OP_FABS >::der(), casadi::FmuInternal::eval_fd(), casadi::UnaryOperation< OP_SIGN >::fcn(), casadi::Smoothing::pert(), and casadi::OoqpInterface::printBounds().
| CASADI_EXPORT Function casadi::simpleIntegrator | ( | Function | f, |
| const std::string & | integrator = "cvodes", |
||
| const Dict & | integrator_options = Dict() |
||
| ) |
Extra doc: https://github.com/casadi/casadi/wiki/L_1st
Definition at line 356 of file integration_tools.cpp.
References integrator(), casadi::Function::n_in(), casadi::Function::n_out(), casadi::Sparsity::scalar(), casadi::Sparsity::size(), casadi::Sparsity::size1(), casadi::Function::sparsity_in(), and casadi::GenericMatrix< MX >::sym().
| CASADI_EXPORT Function casadi::simpleIRK | ( | Function | f, |
| casadi_int | N = 10, |
||
| casadi_int | order = 4, |
||
| const std::string & | scheme = "radau", |
||
| const std::string & | solver = "newton", |
||
| const Dict & | solver_options = Dict() |
||
| ) |
The constructed function has three inputs, corresponding to initial state (x0), parameter (p) and integration time (h) and one output, corresponding to final state (xf).
| f | ODE function with two inputs (x and p) and one output (xdot) |
| N | Number of integrator steps |
| order | Order of interpolating polynomials |
| scheme | Collocation scheme, as excepted by collocationPoints function. |
| solver | Solver plugin |
| solver_options | Options to be passed to the solver plugin |
Extra doc: https://github.com/casadi/casadi/wiki/L_1ss
Definition at line 289 of file integration_tools.cpp.
References C, collocation_interpolators(), collocation_points(), D, casadi::Function::n_in(), casadi::Function::n_out(), rootfinder(), casadi::GenericMatrix< MatType >::size1(), casadi::MX::sparsity(), casadi::Function::sparsity_in(), str(), and casadi::GenericMatrix< MX >::sym().
The constructed function has three inputs, corresponding to initial state (x0), parameter (p) and integration time (h) and one output, corresponding to final state (xf).
| f | ODE function with two inputs (x and p) and one output (xdot) |
| N | Number of integrator steps |
| order | Order of interpolating polynomials |
Extra doc: https://github.com/casadi/casadi/wiki/L_1sr
Definition at line 128 of file integration_tools.cpp.
References casadi::Function::n_in(), casadi::Function::n_out(), casadi::Function::sparsity_in(), str(), and casadi::GenericMatrix< MX >::sym().
|
inline |
CasADi additions
Definition at line 277 of file calculus.hpp.
Referenced by casadi::FixedStepIntegrator::create_advanced().
| bool casadi::simplify_const_folding_order | ( | std::vector< MX > & | arg, |
| std::vector< MX > & | res, | ||
| const Dict & | opts | ||
| ) |
Definition at line 2261 of file mx.cpp.
References casadi::MXFunction::algorithm_, casadi::Function::get(), OP_INPUT, OP_MUL, OP_OUTPUT, OP_PARAMETER, and casadi::MXFunction::workloc_.
Referenced by casadi::MX::simplify_const_folding().
| int casadi::slicot_mb03vd | ( | int | n, |
| int | p, | ||
| int | ilo, | ||
| int | ihi, | ||
| double * | a, | ||
| int | lda1, | ||
| int | lda2, | ||
| double * | tau, | ||
| int | ldtau, | ||
| double * | dwork | ||
| ) |
| int casadi::slicot_mb03vy | ( | int | n, |
| int | p, | ||
| int | ilo, | ||
| int | ihi, | ||
| double * | a, | ||
| int | lda1, | ||
| int | lda2, | ||
| const double * | tau, | ||
| int | ldtau, | ||
| double * | dwork, | ||
| int | ldwork | ||
| ) |
| int casadi::slicot_mb03wd | ( | char | job, |
| char | compz, | ||
| int | n, | ||
| int | p, | ||
| int | ilo, | ||
| int | ihi, | ||
| int | iloz, | ||
| int | ihiz, | ||
| double * | h, | ||
| int | ldh1, | ||
| int | ldh2, | ||
| double * | z, | ||
| int | ldz1, | ||
| int | ldz2, | ||
| double * | wr, | ||
| double * | wi, | ||
| double * | dwork, | ||
| int | ldwork | ||
| ) |
| int casadi::slicot_mb05nd | ( | int | n, |
| double | delta, | ||
| const double * | a, | ||
| int | lda, | ||
| double * | ex, | ||
| int | ldex, | ||
| double * | exint, | ||
| int | ldexin, | ||
| double | tol, | ||
| int * | iwork, | ||
| double * | dwork, | ||
| int | ldwork | ||
| ) |
| void casadi::slicot_periodic_schur | ( | casadi_int | n, |
| casadi_int | K, | ||
| const double * | a, | ||
| double * | t, | ||
| double * | z, | ||
| double * | dwork, | ||
| double * | eig_real, | ||
| double * | eig_imag, | ||
| double | num_zero | ||
| ) |
Definition at line 409 of file slicot_dple.cpp.
References slicot_mb03vd(), slicot_mb03vy(), slicot_mb03wd(), and str().
Referenced by casadi::SlicotDple::eval().
| void casadi::sort | ( | const std::vector< T > & | values, |
| std::vector< T > & | sorted_values, | ||
| std::vector< casadi_int > & | indices, | ||
| bool | invert_indices = false |
||
| ) |
| [in] | values | the vector that needs sorting |
| [out] | sorted_values | the sorted vector |
| [out] | indices | The indices such that 'sorted_values= values[indices]' |
| [in] | invert_indices | Output indices such that 'sorted_values[indices=values' |
Extra doc: https://github.com/casadi/casadi/wiki/L_1lj
Definition at line 906 of file casadi_misc.hpp.
Referenced by casadi::MX::extract(), casadi::SparsityInternal::get_nz(), and casadi::SparsityInternal::sub().
| T casadi::sq | ( | const T & | x | ) |
Definition at line 337 of file calculus.hpp.
References T.
Referenced by common_simp_binary(), common_simp_unary(), casadi::UnaryOperation< OP_TAN >::der(), casadi::UnaryOperation< OP_SQ >::fcn(), and casadi::OoqpInterface::solve().
| CASADI_EXPORT bool casadi::startswith | ( | const std::string & | s, |
| const std::string & | p | ||
| ) |
Definition at line 217 of file casadi_misc.cpp.
Referenced by casadi::IpoptInterface::codegen_body(), and casadi::IpoptInterface::init_mem().
|
static |
Definition at line 248 of file sleqp_interface.cpp.
Referenced by casadi::CplexInterface::get_stats(), casadi::SLEQPInterface::get_stats(), and casadi::CplexInterface::solve().
| std::string casadi::str | ( | const std::array< T, N > & | p, |
| bool | more = false |
||
| ) |
| std::string casadi::str | ( | const std::map< std::string, T2 > & | p, |
| bool | more = false |
||
| ) |
| std::string casadi::str | ( | const std::map< T1, T2 > & | p, |
| bool | more = false |
||
| ) |
| std::string casadi::str | ( | const std::pair< T1, T2 > & | p, |
| bool | more = false |
||
| ) |
| std::string casadi::str | ( | const std::set< T > & | v, |
| bool | more = false |
||
| ) |
| std::string casadi::str | ( | const std::vector< T > & | v, |
| bool | more = false |
||
| ) |
| std::string casadi::str | ( | const T & | v | ) |
Definition at line 248 of file casadi_common.hpp.
Referenced by casadi::SparsityInternal::_appendColumns(), casadi::SparsityInternal::_appendVector(), casadi::SparsityInternal::_reshape(), _which_depends(), casadi::Function::activity(), casadi::MXFunction::ad_forward(), casadi::MXFunction::ad_reverse(), casadi::CodeGenerator::add_dependency(), casadi::Integrator::advance(), casadi::Slice::apply(), casadi::CodeGenerator::arg(), casadi::Function::assert_size_in(), casadi::Function::assert_size_out(), casadi::Function::assert_sparsity_out(), casadi::Integrator::augmented_dae(), casadi::CodeGenerator::axpy(), casadi::CodeGenerator::bound_consistency(), casadi::Function::bspline(), casadi::OnnxFunction::build_io_map(), casadi::CodeGenerator::cache_check(), casadi::Factory< MatType >::calculate(), casadi::Call::Call(), casadi_KN_puts(), casadi::FunctionInternal::check_arg(), casadi::Conic::check_inputs(), casadi::Nlpsol::check_inputs(), casadi::FunctionInternal::check_res(), check_sos(), casadi::CodeGenerator::clip_max(), casadi::CodeGenerator::clip_min(), casadi::BlazingSplineFunction::codegen_body(), casadi::FiniteDiff::codegen_body(), casadi::OmpMap::codegen_body(), casadi::ThreadMap::codegen_body(), casadi::MapSum::codegen_body(), casadi::MXFunction::codegen_body(), casadi::Switch::codegen_body(), casadi::SXFunction::codegen_body(), casadi::FatropInterface::codegen_body(), casadi::OsqpInterface::codegen_body(), casadi::XpressInterface::codegen_body(), casadi::FastNewton::codegen_body(), casadi::Feasiblesqpmethod::codegen_body(), casadi::Qrqp::codegen_body(), casadi::Sqpmethod::codegen_body(), casadi::Sqpmethod::codegen_calc_gamma_1(), casadi::MXFunction::codegen_declarations(), casadi::SXFunction::codegen_declarations(), casadi::Feasiblesqpmethod::codegen_feasibility_iterations(), casadi::MadmpecInterface::codegen_init_mem(), casadi::MadnlpInterface::codegen_init_mem(), casadi::OsqpInterface::codegen_init_mem(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::codegen_name(), casadi::MadmpecInterface::codegen_options(), casadi::Nlpsol::codegen_post_solve(), casadi::Nlpsol::codegen_setup_per_call(), casadi::Sqpmethod::codegen_solve_elastic_mode(), casadi::Feasiblesqpmethod::codegen_tr_update(), codegen_unpack_block(), casadi::CodeGenerator::CodeGenerator(), casadi::Sparsity::colind(), collocation_pointsGen(), casadi::SparsityInternal::combineGen(), casadi::Conic::Conic(), casadi::CodeGenerator::constant(), casadi::CodeGenerator::constant_copy(), casadi::ConstantFile::ConstantFile(), casadi::BSplineInterpolant::construct_graph(), casadi::FunctionInternal::convert_arg(), casadi::FunctionInternal::convert_res(), casadi::CallSX::create(), casadi::BSplineParametric::create(), casadi::BSpline::create(), casadi::MapSum::create(), casadi::Map::create(), casadi::OracleFunction::create_function(), casadi::GenericSharedInternal< Shared, Internal >::debug_repr(), casadi::StringDeserializer::decode(), casadi::CodeGenerator::define_pool_double(), casadi::CodeGenerator::define_rom_double(), casadi::CodeGenerator::define_rom_integer(), casadi::OptiNode::describe(), casadi::MXNode::deserialize(), casadi::SXNode::deserialize(), casadi::Sparsity::diagsplit(), casadi::SparsityInternal::dim(), casadi::OutputNode::disp(), casadi::Dple::Dple(), dplesol(), casadi::CodeGenerator::dump(), casadi::StringSerializer::encode(), casadi::Fmu2::enter_initialization_mode(), casadi::Fmu3::enter_initialization_mode(), casadi::DaeBuilderInternal::eq(), casadi::FunctionInternal::eval(), casadi::Integrator::eval(), casadi::MXFunction::eval(), casadi::SXFunction::eval(), casadi::SlicotDple::eval(), casadi::SlicotExpm::eval(), casadi::FmuInternal::eval_fd(), casadi::FunctionInternal::eval_gen(), casadi::FunctionInternal::eval_mx(), casadi::MXFunction::export_code_body(), casadi::Function::factory(), casadi::External::factory(), casadi::Sparsity::file_format(), casadi::CodeGenerator::file_slurp(), casadi::SnoptInterface::formatSecondaryStatus(), casadi::SnoptInterface::formatStatus(), casadi::FunctionInternal::forward_name(), casadi::CodeGenerator::from_mex(), casadi::GenericType::from_type(), casadi::KinsolInterface::func(), casadi::FunctionInternal::fwd_seed(), casadi::OptiNode::g_describe(), casadi::Input::generate(), casadi::Output::generate(), casadi::HorzRepmat::generate(), casadi::Split::generate(), casadi::CodeGenerator::generate(), casadi::CodeGenerator::generate_dump(), casadi::LinsolQr::generate_factorize(), casadi::Function::generate_in(), casadi::Function::generate_out(), casadi::CodeGenerator::generate_print(), casadi::Matrix< Scalar >::get(), casadi::MX::get(), casadi::Fmu2::get_aux_impl(), casadi::Fmu3::get_aux_impl(), casadi::MXNode::get_dot(), casadi::Integrator::get_forward(), casadi::MapSum::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::MXNode::get_mac(), casadi::FunctionInternal::get_name_in(), casadi::FunctionInternal::get_name_out(), casadi::SparsityInternal::get_nz(), casadi::MX::get_nz(), casadi::FunctionInternal::get_partition(), casadi::Integrator::get_reverse(), casadi::MapSum::get_reverse(), casadi::MX::graph_substitute(), casadi::Matrix< Scalar >::has_duplicates(), casadi::External::has_forward(), casadi::External::has_reverse(), casadi::MX::horzcat(), casadi::Sparsity::horzsplit(), casadi::SparsityInterface< MatType >::horzsplit_n(), casadi::DaeBuilderInternal::import_binding_equations(), casadi::DaeBuilderInternal::import_dynamic_equations(), casadi::DaeBuilderInternal::import_initial_equations(), casadi::FunctionInternal::index_in(), casadi::FunctionInternal::index_out(), casadi::BlazingSplineFunction::init(), casadi::Conic::init(), casadi::FiniteDiff::init(), casadi::FmuFunction::init(), casadi::FunctionInternal::init(), casadi::Integrator::init(), casadi::MXFunction::init(), casadi::Nlpsol::init(), casadi::Rootfinder::init(), casadi::SXFunction::init(), casadi::XFunction< DerivedType, MatType, NodeType >::init(), casadi::AmplInterface::init(), casadi::Blocksqp::init(), casadi::MadmpecInterface::init(), casadi::FatropConicInterface::init(), casadi::FatropInterface::init(), casadi::HpipmInterface::init(), casadi::HpmpcInterface::init(), casadi::IpoptInterface::init(), casadi::ProxqpInterface::init(), casadi::SLEQPInterface::init(), casadi::IdasInterface::init(), casadi::WorhpInterface::init(), init_gen(), casadi::CplexInterface::init_mem(), casadi::GurobiInterface::init_mem(), casadi::UnoInterface::init_mem(), casadi::WorhpInterface::init_mem(), casadi::XpressInterface::init_mem(), integrator(), casadi::GenericMatrix< MatType >::interp1d(), casadi::MX::interpn_linear(), interpolant(), is_slice(), casadi::XFunction< DerivedType, MatType, NodeType >::jac(), casadi::FunctionInternal::jacobian(), casadi::CodeGenerator::ldl_solve(), casadi::Low::Low(), casadi::CodeGenerator::low(), casadi::CodeGenerator::lsqr_solve(), casadi::FunctionInternal::map(), casadi::Function::map(), casadi::Integrator::map2oracle(), casadi::Function::mapaccum(), casadi::CodeGenerator::masked_norm_inf(), casadi::CodeGenerator::max_viol(), casadi::CodeGenerator::mmax(), casadi::CodeGenerator::mmin(), casadi::CodeGenerator::mtimes(), casadi::CodeGenerator::mtimes_dense_sparse(), casadi::CodeGenerator::mv(), casadi::CsparseInterface::nfact(), casadi::Ma27Interface::nfact(), casadi::LapackLu::nfact(), casadi::LapackQr::nfact(), casadi::NlImporter::NlImporter(), nlpsol(), casadi::CodeGenerator::norm_1(), casadi::CodeGenerator::norm_2(), casadi::CodeGenerator::norm_inf(), casadi::FunctionInternal::nz_in(), casadi::FunctionInternal::nz_out(), onnx_dtype_name(), operator<<(), casadi::DaeBuilderInternal::outputs(), casadi::OptiNode::parameter(), casadi::CodeGenerator::pool_double(), casadi::Sparsity::postfix_dim(), casadi::Integrator::predict_events(), casadi::MXFunction::print(), casadi::OutputSX::print(), casadi::MXFunction::print_arg(), casadi::SXFunction::print_arg(), casadi::MXNode::print_compact(), casadi::MXFunction::print_res(), casadi::SXFunction::print_res(), print_vec(), casadi::Matrix< double >::print_vector(), casadi::CodeGenerator::printf(), casadi::Function::proceed_to(), casadi::Call::projectArg(), qpsol_nlp(), casadi::CodeGenerator::qr_solve(), casadi::XmlNode::read(), casadi::DaeBuilderInternal::read_expr(), reduce_index_gen(), register_symbol(), casadi::PluginInterface< Derived >::registerPlugin(), casadi::Scpgen::regularize(), casadi::DaeBuilderInternal::reorder(), report_issue(), casadi::CodeGenerator::res(), casadi::CodeGenerator::reserve_work(), casadi::FunctionInternal::reverse_name(), casadi::CodeGenerator::rom_double(), casadi::CodeGenerator::rom_integer(), rootfinder(), casadi::Sparsity::row(), casadi::CodeGenerator::sanitize_source(), casadi::CodeGenerator::scal(), scan_prefix_pow2(), casadi::Matrix< Scalar >::set(), casadi::MX::set(), casadi::FunctionBuffer::set_arg(), casadi::DaeBuilderInternal::set_attribute(), casadi::Matrix< Scalar >::set_nz(), casadi::MX::set_nz(), casadi::FunctionBuffer::set_res(), casadi::Fmu2::set_values(), casadi::Fmu3::set_values(), casadi::MosekInterface::set_work(), casadi::XpressInterface::set_work(), casadi::DeserializingStream::setup(), casadi::Convexify::setup(), casadi::FunctionInternal::signature_unrolled(), simpleIRK(), simpleRK(), casadi::Slice::Slice(), slicot_periodic_schur(), casadi::CbcInterface::solve(), casadi::GurobiInterface::solve(), casadi::OoqpInterface::solve(), casadi::AlpaqaInterface::solve(), casadi::KnitroInterface::solve(), casadi::WorhpInterface::solve(), casadi::Newton::solve(), casadi::LapackQr::solve_batch(), casadi::Sqpmethod::solve_elastic_mode(), casadi::CodeGenerator::sparsity(), casadi::MX::sparsity_cast(), casadi::SparsityInternal::star_coloring_new(), casadi::MX::stop_diff(), str(), strvec(), casadi::SparsityInternal::sub(), casadi::MX::substitute_inplace(), casadi::CodeGenerator::sum_viol(), casadi::CodeGenerator::sx_work(), casadi::DaeBuilderInternal::tearing_variables(), casadi::OptiNode::to_function(), transform_stats(), transform_token_str(), casadi::DaeBuilderInternal::transition(), casadi::Integrator::trigger_event(), casadi::CodeGenerator::trilsolve(), casadi::Sparsity::triplet(), casadi::CodeGenerator::triusolve(), casadi::SerializerBase::type_to_string(), casadi::DaeBuilderInternal::unique_name(), casadi::SnoptInterface::userfun(), casadi::OptiNode::variable(), casadi::CodeGenerator::vector_fmax(), casadi::CodeGenerator::vector_fmin(), vector_slice(), casadi::DeserializingStream::version(), casadi::MX::vertcat(), casadi::SparsityInterface< MatType >::vertsplit_n(), casadi::CodeGenerator::vfmax(), casadi::CodeGenerator::vfmin(), casadi::DaeBuilderInternal::when(), casadi::CodeGenerator::wrapper(), and casadi::OptiNode::x_describe().
| std::string casadi::str | ( | const T & | v, |
| bool | more | ||
| ) |
Definition at line 255 of file casadi_common.hpp.
| CASADI_EXPORT std::string casadi::str_bvec | ( | bvec_t | v | ) |
Definition at line 444 of file casadi_misc.cpp.
| std::string casadi::strategy_to_string | ( | casadi_convexify_strategy_t | s | ) |
|
inline |
Definition at line 192 of file casadi_common.hpp.
|
inline |
Definition at line 198 of file casadi_common.hpp.
References str().
|
inline |
Definition at line 204 of file casadi_common.hpp.
References str().
|
inline |
|
inline |
|
inline |
|
inline |
| T casadi::sum | ( | const std::vector< T > & | values | ) |
Extra doc: https://github.com/casadi/casadi/wiki/L_1ll
Definition at line 941 of file casadi_misc.hpp.
References T.
Referenced by casadi::FatropInterface::init(), and casadi::GenericMatrix< MatType >::repsum().
| CASADI_EXPORT std::string casadi::temporary_file | ( | const std::string & | prefix, |
| const std::string & | suffix, | ||
| const std::string & | directory | ||
| ) |
Definition at line 354 of file casadi_misc.cpp.
References casadi::Filesystem::ensure_directory_exists(), casadi::Filesystem::ensure_trailing_slash(), casadi::GlobalOptions::getTempWorkDir(), and casadi::Filesystem::is_enabled().
Referenced by casadi::FunctionInternal::finalize(), casadi::Scpgen::init(), casadi::ShellCompiler::init(), casadi::TemporaryDirResource::setup_temp_dir(), and casadi::AmplInterface::solve().
| std::set<T> casadi::text2set | ( | const std::string & | text | ) |
Extra doc: https://github.com/casadi/casadi/wiki/L_160
Definition at line 62 of file importer.hpp.
| T casadi::text2type | ( | const std::string & | text | ) |
Extra doc: https://github.com/casadi/casadi/wiki/L_15y
Definition at line 39 of file importer.hpp.
References T.
| std::vector<T> casadi::text2vector | ( | const std::string & | text | ) |
Extra doc: https://github.com/casadi/casadi/wiki/L_15z
Definition at line 50 of file importer.hpp.
References T.
| void casadi::ThreadsWork | ( | const Function & | f, |
| casadi_int | i, | ||
| const double ** | arg, | ||
| double ** | res, | ||
| casadi_int * | iw, | ||
| double * | w, | ||
| casadi_int | ind, | ||
| int & | ret | ||
| ) |
Definition at line 450 of file map.cpp.
References casadi::Function::n_in(), casadi::Function::n_out(), casadi::Function::nnz_in(), casadi::Function::nnz_out(), and casadi::Function::sz_work().
Referenced by casadi::ThreadMap::eval().
| T casadi::to_enum | ( | const std::string & | s, |
| const std::string & | s_def = "" |
||
| ) |
Version mappings
Definition at line 75 of file dae_builder_internal.cpp.
References BINARY, BOOLEAN, CLOCK, ENUM, ENUMERATION, FLOAT32, FLOAT64, INT16, INT32, INT64, INT8, INTEGER, NUMEL, REAL, STRING, to_string(), UINT16, UINT32, UINT64, and UINT8.
Referenced by casadi::Fmu2::init(), casadi::Fmu3::init(), and casadi::DaeBuilder::type().
| CASADI_EXPORT int casadi::to_int | ( | casadi_int | rhs | ) |
Definition at line 60 of file casadi_misc.cpp.
Referenced by casadi::BonminInterface::init(), casadi::CbcInterface::init(), casadi::GurobiInterface::init(), casadi::GenericType::operator casadi_int(), casadi::GenericType::operator int(), casadi::GenericType::operator std::vector< int >(), casadi::ClpInterface::solve(), to_int(), and casadi::GenericType::to_int_type_vector().
| CASADI_EXPORT std::vector< int > casadi::to_int | ( | const std::vector< casadi_int > & | rhs | ) |
| CASADI_EXPORT std::vector< std::vector< int > > casadi::to_int | ( | const std::vector< std::vector< casadi_int > > & | rhs | ) |
Definition at line 34 of file im_instantiator.cpp.
References casadi::GenericMatrix< MatType >::is_scalar(), casadi::Matrix< Scalar >::nonzeros(), and casadi::Matrix< Scalar >::scalar().
Referenced by casadi::Matrix< double >::__nonzero__(), casadi::SetNonzeros< Add >::create(), casadi::GetNonzeros::create(), casadi::Matrix< double >::cumsum(), casadi::Matrix< Scalar >::get(), casadi::Matrix< Scalar >::set(), casadi::Matrix< Scalar >::set_nz(), and to_slice2().
| Slice CASADI_EXPORT casadi::to_slice | ( | const std::vector< casadi_int > & | v, |
| bool | ind1 | ||
| ) |
Definition at line 152 of file slice.cpp.
References is_slice(), casadi::Slice::start, casadi::Slice::step, and casadi::Slice::stop.
Definition at line 254 of file slice.cpp.
References is_slice(), is_slice2(), casadi::Slice::start, casadi::Slice::step, casadi::Slice::stop, and to_slice().
Referenced by casadi::SetNonzeros< Add >::create(), and casadi::GetNonzeros::create().
|
inline |
Definition at line 343 of file bonmin_interface.cpp.
Referenced by casadi::BonminInterface::solve().
|
inline |
Definition at line 356 of file bonmin_interface.cpp.
| CASADI_EXPORT std::string casadi::to_string | ( | Attribute | v | ) |
Convert to string
Definition at line 168 of file dae_builder_internal.cpp.
References MAX, MIN, NOMINAL, START, STRINGVALUE, and VALUE.
| CASADI_EXPORT std::string casadi::to_string | ( | Category | v | ) |
| CASADI_EXPORT std::string casadi::to_string | ( | Causality | v | ) |
Convert to string
Definition at line 132 of file dae_builder_internal.cpp.
References CALCULATED_PARAMETER, INDEPENDENT, INPUT, LOCAL, OUTPUT, and PARAMETER.
| CASADI_EXPORT std::string casadi::to_string | ( | DependenciesKind | v | ) |
| CASADI_EXPORT std::string casadi::to_string | ( | DynIn | v | ) |
| CASADI_EXPORT std::string casadi::to_string | ( | DynOut | v | ) |
| CASADI_EXPORT std::string casadi::to_string | ( | EventIn | v | ) |
Convert to string
Definition at line 54 of file integrator.cpp.
References EVENT_INDEX, EVENT_P, EVENT_T, EVENT_U, EVENT_X, and EVENT_Z.
| CASADI_EXPORT std::string casadi::to_string | ( | EventOut | v | ) |
Convert to string
Definition at line 67 of file integrator.cpp.
References EVENT_POST_X, and EVENT_POST_Z.
| CASADI_EXPORT std::string casadi::to_string | ( | FdMode | v | ) |
Definition at line 30 of file finite_differences.cpp.
| CASADI_EXPORT std::string casadi::to_string | ( | FmuApi | v | ) |
| CASADI_EXPORT std::string casadi::to_string | ( | Initial | v | ) |
Convert to string
Definition at line 157 of file dae_builder_internal.cpp.
References APPROX, CALCULATED, EXACT, and NA.
| CASADI_EXPORT std::string casadi::to_string | ( | Parallelization | v | ) |
Definition at line 1482 of file fmu_function.cpp.
| CASADI_EXPORT std::string casadi::to_string | ( | Type | v | ) |
| CASADI_EXPORT std::string casadi::to_string | ( | TypeFmi2 | v | ) |
Convert to string
Definition at line 98 of file dae_builder_internal.cpp.
References BOOLEAN, ENUM, INTEGER, REAL, and STRING.
Referenced by casadi::DaeBuilderInternal::add(), casadi::Variable::categories(), casadi::DaeBuilder::categories(), casadi::DaeBuilder::category(), casadi::DaeBuilder::causality(), dependent_definition(), casadi::DaeBuilderInternal::disp(), dyn_in(), dyn_out(), casadi::DaeBuilderInternal::eliminate(), enum_names(), casadi::FmuFunction::eval_all(), casadi::FmuInternal::eval_fd(), casadi::Variable::export_xml(), casadi::FmuFunction::factory(), finite_diff(), casadi::Fmu::Fmu(), casadi::DaeBuilderInternal::gather_eq(), casadi::Variable::get_attribute(), casadi::FmuFunction::get_forward(), casadi::FmuFunction::get_jacobian(), casadi::FmuFunction::get_reverse(), has_enum(), casadi::DaeBuilderInternal::import_model_variables(), casadi::Fmu2::init(), casadi::Fmu3::init(), casadi::FmuFunction::init(), casadi::DaeBuilder::initial(), input_category(), casadi::DaeBuilderInternal::inputs(), casadi::GenericType::operator std::string(), casadi::DaeBuilderInternal::oracle(), casadi::DaeBuilderInternal::prune(), casadi::DaeBuilderInternal::read_identifier(), casadi::DaeBuilderInternal::reorder(), casadi::DaeBuilderInternal::set_attribute(), casadi::Variable::set_attribute(), casadi::DaeBuilderInternal::set_category(), casadi::DaeBuilderInternal::set_causality(), casadi::DaeBuilderInternal::set_variability(), casadi::DaeBuilderInternal::sort(), to_enum(), to_fmi2(), casadi::DaeBuilder::type(), casadi::DaeBuilderInternal::update_dependencies(), and casadi::DaeBuilder::variability().
| CASADI_EXPORT std::string casadi::to_string | ( | Variability | v | ) |
Convert to string
Definition at line 145 of file dae_builder_internal.cpp.
References CONSTANT, CONTINUOUS, DISCRETE, FIXED, and TUNABLE.
| std::string casadi::transform_passes_str | ( | const std::vector< std::vector< GenericType > > & | ps | ) |
Definition at line 338 of file function.cpp.
References transform_token_str().
Referenced by casadi::Function::transform().
| std::string casadi::transform_stats | ( | const Function & | f | ) |
Definition at line 352 of file function.cpp.
References casadi::Function::n_instructions(), casadi::Function::n_nodes(), and str().
Referenced by casadi::Function::transform().
| std::string casadi::transform_token_str | ( | const GenericType & | g | ) |
Definition at line 331 of file function.cpp.
References casadi::GenericType::is_dict(), casadi::GenericType::is_int(), casadi::GenericType::is_string(), str(), casadi::GenericType::to_dict(), casadi::GenericType::to_int(), and casadi::GenericType::to_string().
Referenced by transform_passes_str().
Definition at line 1111 of file mx.cpp.
Referenced by casadi::MX::diagcat(), casadi::MX::horzcat(), and casadi::MX::vertcat().
|
inline |
Definition at line 107 of file exception.hpp.
| T casadi::twice | ( | const T & | x | ) |
Definition at line 332 of file calculus.hpp.
References T.
Referenced by casadi::UnaryOperation< OP_SQRT >::der(), and casadi::UnaryOperation< OP_SQ >::der().
| CASADI_EXPORT std::ostream & casadi::uerr | ( | ) |
Definition at line 70 of file casadi_logger.cpp.
References casadi::ThreadLocalStorage< T >::get().
Referenced by add_file_to_zip(), casadi::KinsolInterface::bjac_wrapper(), calc_function(), casadi::KnitroInterface::callback(), callback_stderr(), casadi_func_cons_jac(), casadi_func_cons_val(), casadi_func_hess_prod(), casadi_func_obj_grad(), casadi_func_obj_val(), casadi::KinsolInterface::djac_wrapper(), casadi::IdasInterface::ehfun(), casadi::KinsolInterface::ehfun(), casadi::CvodesInterface::ehfun(), extract_zip_internal(), casadi::BonminInterface::finalize_solution(), casadi::IpoptInterface::finalize_solution(), casadi::KinsolInterface::func_wrapper(), casadi::BonminInterface::get_bounds_info(), casadi::IpoptInterface::get_bounds_info(), casadi::BonminInterface::get_list_of_nonlinear_variables(), casadi::IpoptInterface::get_list_of_nonlinear_variables(), casadi::BonminInterface::get_nlp_info(), casadi::IpoptInterface::get_nlp_info(), casadi::BonminInterface::get_number_of_nonlinear_variables(), casadi::IpoptInterface::get_number_of_nonlinear_variables(), casadi::BonminInterface::get_starting_point(), casadi::IpoptInterface::get_starting_point(), casadi::ClangCompiler::init(), casadi::BonminInterface::intermediate_callback(), casadi::IpoptInterface::intermediate_callback(), casadi::KinsolInterface::jtimes_wrapper(), casadi::IdasInterface::jtimesB(), casadi::CvodesInterface::jtimesB(), casadi::IdasInterface::jtimesF(), casadi::CvodesInterface::jtimesF(), casadi::PluginInterface< Derived >::load_plugin(), casadi::KinsolInterface::lsetup(), casadi::CvodesInterface::lsetupB(), casadi::IdasInterface::lsetupB(), casadi::CvodesInterface::lsetupF(), casadi::KinsolInterface::lsolve(), casadi::CvodesInterface::lsolveB(), casadi::IdasInterface::lsolveB(), casadi::CvodesInterface::lsolveF(), casadi::IdasInterface::lsolveF(), casadi::Function::operator()(), casadi::KinsolInterface::psetup_wrapper(), casadi::CvodesInterface::psetupB(), casadi::IdasInterface::psetupB(), casadi::CvodesInterface::psetupF(), casadi::IdasInterface::psetupF(), casadi::KinsolInterface::psolve_wrapper(), casadi::CvodesInterface::psolveB(), casadi::IdasInterface::psolveB(), casadi::CvodesInterface::psolveF(), casadi::IdasInterface::psolveF(), casadi::IdasInterface::resB(), casadi::IdasInterface::resF(), casadi::CvodesInterface::rhsB(), casadi::CvodesInterface::rhsF(), casadi::CvodesInterface::rhsQB(), casadi::IdasInterface::rhsQB(), casadi::CvodesInterface::rhsQF(), casadi::IdasInterface::rhsQF(), casadi::SnoptInterface::userfun(), worhp_disp(), zip_entries_to_path(), zip_to_path(), zip_to_path2(), zip_to_stream(), and casadi::CplexMemory::~CplexMemory().
| void casadi::unpack_block | ( | const std::vector< casadi_int > & | p, |
| std::vector< casadi_ocp_block > & | blocks | ||
| ) |
Definition at line 824 of file fatrop_interface.cpp.
References get_ptr().
Referenced by casadi::FatropInterface::FatropInterface().
|
static |
Definition at line 159 of file onnx_function.cpp.
References casadi::DeserializingStream::unpack().
Referenced by casadi::OnnxFunction::OnnxFunction().
| CASADI_EXPORT std::ostream & casadi::uout | ( | ) |
Definition at line 61 of file casadi_logger.cpp.
References casadi::ThreadLocalStorage< T >::get().
Referenced by casadi::OptiCallback::call(), callback_stdout(), casadi_KN_puts(), casadi_log_output(), casadi::Dump::eval(), casadi::Monitor::eval(), casadi::Conic::eval(), casadi::MXFunction::eval(), casadi::SXFunction::eval(), casadi::FunctionInternal::eval_gen(), casadi::Feasiblesqpmethod::feasibility_iterations(), casadi::KinsolInterface::func(), casadi::SqicInterface::generateNativeCode(), casadi::KinsolInterface::ihfun(), casadi::DaeBuilderInternal::import_binding_equations(), casadi::DaeBuilderInternal::import_dynamic_equations(), casadi::DaeBuilderInternal::import_initial_equations(), casadi::DaeBuilderInternal::import_model_variables(), casadi::FatropConicInterface::init(), casadi::Feasiblesqpmethod::init(), casadi::Scpgen::init(), casadi::IpoptInterface::init_mem(), casadi::Onnx::load(), casadi::PluginInterface< Derived >::load_plugin(), casadi::Fmu3::log_message_callback(), casadi::Fmu2::logger(), casadi::CsparseInterface::nfact(), casadi::LapackLu::nfact(), casadi::ProtoFunction::print(), print_vec(), printme(), casadi::SundialsInterface::printvar(), casadi::QpoasesInterface::qpoases_printf(), casadi::Onnx::set_dimension(), casadi::OptiNode::show_infeasibilities(), casadi::FatropConicInterface::solve(), casadi::GurobiInterface::solve(), casadi::HpipmInterface::solve(), casadi::HpmpcInterface::solve(), casadi::Ipqp::solve(), casadi::Qrqp::solve(), casadi::AlpaqaInterface::solve(), casadi::AmplInterface::solve(), casadi::BonminInterface::solve(), casadi::Feasiblesqpmethod::solve(), casadi::Newton::solve(), casadi::Scpgen::solve(), casadi::Feasiblesqpmethod::step_update(), casadi::Function::transform(), and worhp_disp().
Extra doc: https://github.com/casadi/casadi/wiki/L_17u
Definition at line 835 of file generic_type.cpp.
Referenced by combine(), casadi::FixedStepIntegrator::create_advanced(), casadi::Function::expand(), casadi::XFunction< DerivedType, MatType, NodeType >::factory(), casadi::Options::sanitize(), and update_dict().
| CASADI_EXPORT void casadi::update_dict | ( | Dict & | target, |
| const std::string & | key, | ||
| const GenericType & | value, | ||
| bool | recurse | ||
| ) |
Definition at line 854 of file generic_type.cpp.
References casadi::GenericType::is_dict(), and update_dict().
| std::vector< T > casadi::vector_init | ( | const std::vector< T > & | v | ) |
Extra doc: https://github.com/casadi/casadi/wiki/L_285
Definition at line 607 of file casadi_misc.hpp.
Referenced by casadi::BlazingSplineFunction::merge().
| std::vector< T > casadi::vector_select | ( | const std::vector< T > & | v, |
| const std::vector< bool > & | s, | ||
| bool | invert = false |
||
| ) |
| v | Vector to slice |
| s | Select? |
Extra doc: https://github.com/casadi/casadi/wiki/L_286
Definition at line 584 of file casadi_misc.hpp.
Referenced by construct_nlpsol(), and casadi::XFunction< DerivedType, MatType, NodeType >::get_jacobian().
| std::vector< T > casadi::vector_slice | ( | const std::vector< T > & | v, |
| const std::vector< casadi_int > & | i | ||
| ) |
| v | Vector to slice |
| i | List of indices |
Extra doc: https://github.com/casadi/casadi/wiki/L_1l9
Definition at line 567 of file casadi_misc.hpp.
References str().
Referenced by permute(), and reduce_index_gen().
| std::vector< T > casadi::vector_static_cast | ( | const std::vector< S > & | rhs | ) |
| std::vector< T > casadi::vector_tail | ( | const std::vector< T > & | v | ) |
Extra doc: https://github.com/casadi/casadi/wiki/L_27y
Definition at line 600 of file casadi_misc.hpp.
Referenced by casadi::XFunction< DerivedType, MatType, NodeType >::jac(), and casadi::External::serialize_body().
| CASADI_EXPORT bool casadi::version_ge | ( | const std::string & | version_left, |
| const std::string & | version_right | ||
| ) |
Definition at line 263 of file casadi_misc.cpp.
Referenced by casadi::OsqpInterface::deps_version_check(), and version_le().
| CASADI_EXPORT bool casadi::version_gt | ( | const std::string & | version_left, |
| const std::string & | version_right | ||
| ) |
| CASADI_EXPORT bool casadi::version_le | ( | const std::string & | version_left, |
| const std::string & | version_right | ||
| ) |
Definition at line 294 of file casadi_misc.cpp.
References version_ge().
| CASADI_EXPORT bool casadi::version_lt | ( | const std::string & | version_left, |
| const std::string & | version_right | ||
| ) |
Definition at line 290 of file casadi_misc.cpp.
References version_gt().
| void casadi::worhp_disp | ( | int | mode, |
| const char | message[] | ||
| ) |
Definition at line 138 of file worhp_interface.cpp.
References uerr(), and uout().
Referenced by casadi::WorhpInterface::init_mem().
| void casadi::write_matlab | ( | std::ostream & | stream, |
| const std::vector< std::vector< T > > & | v | ||
| ) |
Definition at line 814 of file casadi_misc.hpp.
| void casadi::write_matlab | ( | std::ostream & | stream, |
| const std::vector< T > & | v | ||
| ) |
Definition at line 809 of file casadi_misc.hpp.
|
static |
Definition at line 40 of file xpress_interface.cpp.
References s_xpress_init_rc.
Referenced by casadi::XpressInterface::init_mem().
| std::vector<std::pair<std::string, T> > casadi::zip | ( | const std::vector< std::string > & | id, |
| const std::vector< T > & | mat | ||
| ) |
Definition at line 55 of file function_internal.hpp.
| bool casadi::zip_entries_to_path | ( | const std::vector< std::pair< std::string, std::string > > & | entries, |
| const std::string & | zip_path | ||
| ) |
Definition at line 339 of file libzip.cpp.
References add_file_to_zip(), and uerr().
Referenced by casadi_register_archiver_libzip().
| bool casadi::zip_to_path | ( | const std::string & | dir_path, |
| const std::string & | zip_path | ||
| ) |
Definition at line 299 of file libzip.cpp.
References casadi::Filesystem::ofstream_ptr(), uerr(), and zip_to_stream().
Referenced by casadi_register_archiver_libzip().
| bool casadi::zip_to_path2 | ( | const std::string & | dir_path, |
| const std::string & | zip_path | ||
| ) |
| bool casadi::zip_to_stream | ( | const std::string & | dir, |
| std::ostream & | output | ||
| ) |
Definition at line 188 of file libzip.cpp.
References add_directory_recursive(), and uerr().
Referenced by casadi_register_archiver_libzip(), and zip_to_path().
|
static |
Definition at line 88 of file blas_blasfeo.cpp.
Referenced by blasfeo_codegen_axpy_aux().
|
static |
Definition at line 93 of file blas_blasfeo.cpp.
Referenced by blasfeo_codegen_dot_aux().
|
static |
Definition at line 78 of file blas_blasfeo.cpp.
Referenced by blasfeo_codegen_mtimes().
| const int casadi::bvec_size = CHAR_BIT*sizeof(bvec_t) |
| template class CASADI_EXPORT casadi::casadi_limits< double > |
Definition at line 409 of file dm_instantiator.cpp.
|
static |
Definition at line 144 of file blas_classic.cpp.
Referenced by classic_codegen_asum_aux().
|
static |
Definition at line 115 of file blas_classic.cpp.
Referenced by classic_codegen_axpy_aux().
|
static |
Definition at line 123 of file blas_classic.cpp.
Referenced by classic_codegen_dot_aux().
|
static |
Definition at line 101 of file blas_classic.cpp.
Referenced by classic_codegen_mtimes().
|
static |
Definition at line 138 of file blas_classic.cpp.
Referenced by classic_codegen_nrm2_aux().
|
static |
Definition at line 131 of file blas_classic.cpp.
Referenced by classic_codegen_scal_aux().
|
static |
Definition at line 930 of file code_generator.cpp.
Referenced by casadi::CodeGenerator::local_mutexes().
| const double casadi::eps = std::numeric_limits<double>::epsilon() |
Definition at line 56 of file calculus.hpp.
Referenced by casadi::FmuInternal::eval_fd(), finite_diff(), casadi::FunctionInternal::get_abstol(), casadi::FunctionInternal::get_reltol(), and casadi::FiniteDiff::init().
| template class CASADI_EXPORT casadi::GenericShared< SharedObject, SharedObjectInternal > |
Definition at line 59 of file shared_object.cpp.
| template class CASADI_EXPORT casadi::GenericShared< SharedSXElem, OutputSX > |
Definition at line 34 of file output_sx.cpp.
| template class CASADI_EXPORT casadi::GenericWeakRef< SharedObject, SharedObjectInternal > |
Definition at line 60 of file shared_object.cpp.
| template class CASADI_EXPORT casadi::GenericWeakRef< SharedSXElem, OutputSX > |
Definition at line 35 of file output_sx.cpp.
| const double casadi::inf = std::numeric_limits<double>::infinity() |
Definition at line 50 of file calculus.hpp.
Referenced by casadi::DaeBuilderInternal::add(), casadi::OptiNode::canon_expr(), casadi::Conic::check_inputs(), casadi::Nlpsol::check_inputs(), casadi::Sqpmethod::codegen_solve_elastic_mode(), casadi::BSplineInterpolant::construct_graph(), erfinv(), casadi::Variable::export_xml(), casadi::Blocksqp::feasibilityRestorationPhase(), casadi::FunctionInternal::get_max_in(), casadi::FunctionInternal::get_min_in(), casadi::DaeBuilderInternal::import_model_variables(), casadi::FiniteDiff::init(), casadi::Blocksqp::init(), casadi::Blocksqp::initIterate(), casadi::Integrator::Integrator(), casadi::NlImporter::NlImporter(), casadi::Blocksqp::reduceSOCStepsize(), casadi::CplexInterface::solve(), casadi::WorhpInterface::solve(), casadi::Sqpmethod::solve(), casadi::Sqpmethod::solve_elastic_mode(), casadi::Options::suggestions(), and casadi::Blocksqp::updateStepBounds().
| const long double* casadi::legendre_points[] |
Definition at line 63 of file integration_tools.cpp.
Referenced by collocation_pointsGen().
| const long double casadi::legendre_points1[] = { 0.50000000000000000000 } |
Definition at line 34 of file integration_tools.cpp.
| const long double casadi::legendre_points2[] |
Definition at line 35 of file integration_tools.cpp.
| const long double casadi::legendre_points3[] |
Definition at line 37 of file integration_tools.cpp.
| const long double casadi::legendre_points4[] |
Definition at line 40 of file integration_tools.cpp.
| const long double casadi::legendre_points5[] |
Definition at line 43 of file integration_tools.cpp.
| const long double casadi::legendre_points6[] |
Definition at line 46 of file integration_tools.cpp.
| const long double casadi::legendre_points7[] |
Definition at line 50 of file integration_tools.cpp.
| const long double casadi::legendre_points8[] |
Definition at line 54 of file integration_tools.cpp.
| const long double casadi::legendre_points9[] |
Definition at line 58 of file integration_tools.cpp.
|
constexpr |
Definition at line 157 of file casadi_common.hpp.
Referenced by casadi::Low::interpret_lookup_mode(), and casadi::Low::lookup_mode_from_enum().
|
constexpr |
Definition at line 156 of file casadi_common.hpp.
Referenced by casadi::Low::interpret_lookup_mode(), casadi::Interpolant::interpret_lookup_mode(), and casadi::Low::lookup_mode_from_enum().
|
constexpr |
Definition at line 155 of file casadi_common.hpp.
Referenced by casadi::Low::interpret_lookup_mode(), and casadi::Low::lookup_mode_from_enum().
| template class CASADI_EXPORT casadi::Matrix< casadi_int > |
Definition at line 56 of file im_instantiator.cpp.
Referenced by casadi::GetNonzeros::mapping(), and casadi::SetNonzeros< Add >::mapping().
| template class CASADI_EXPORT casadi::Matrix< double > |
Definition at line 414 of file dm_instantiator.cpp.
Referenced by casadi::Constant< Value >::get_DM().
| template class CASADI_EXPORT casadi::Matrix< SXElem > |
Definition at line 1802 of file sx_instantiator.cpp.
| const double casadi::nan = std::numeric_limits<double>::quiet_NaN() |
Definition at line 53 of file calculus.hpp.
Referenced by casadi::Qrqp::codegen_body(), casadi::DaeBuilderInternal::DaeBuilderInternal(), erfinv(), casadi::GetNonzerosParamVector::eval(), casadi::GetNonzerosSliceParam::eval(), casadi::GetNonzerosParamSlice::eval(), casadi::GetNonzerosParamParam::eval(), casadi::Nlpsol::eval(), casadi::FmuFunction::eval(), casadi::FmuInternal::eval_fd(), casadi::FmuFunction::eval_task(), casadi::BonminInterface::finalize_solution(), casadi::FmuInternal::gather_io(), casadi::GetNonzerosParamVector::generate(), casadi::GetNonzerosSliceParam::generate(), casadi::GetNonzerosParamSlice::generate(), casadi::GetNonzerosParamParam::generate(), casadi::IdasMemory::IdasMemory(), casadi::DaeBuilderInternal::import_default_experiment(), casadi::FmuInternal::init_mem(), casadi::DaeBuilderInternal::reset(), casadi::SundialsInterface::reset_stats(), casadi::CplexInterface::solve(), casadi::GurobiInterface::solve(), casadi::Qrqp::solve(), casadi::AmplInterface::solve(), casadi::Sqpmethod::solve(), casadi::DaeBuilder::start_time(), casadi::DaeBuilder::step_size(), casadi::DaeBuilder::stop_time(), and casadi::DaeBuilder::tolerance().
| const std::vector<std::string> casadi::NL_INPUTS = {"x", "p"} |
Definition at line 178 of file nlpsol.hpp.
Referenced by casadi::Nlpsol::create_oracle().
| const std::vector<std::string> casadi::NL_OUTPUTS = {"f", "g"} |
Definition at line 191 of file nlpsol.hpp.
Referenced by casadi::Nlpsol::create_oracle().
|
static |
Definition at line 35 of file onnx_operations.cpp.
Referenced by get_op_mapping(), and get_op_mapping_by_name().
| const double casadi::pi = 3.14159265358979323846 |
Definition at line 46 of file calculus.hpp.
Referenced by casadi::UnaryOperation< OP_ERF >::der(), casadi::UnaryOperation< OP_ERFINV >::der(), erfinv(), casadi::GurobiInterface::solve(), and casadi::ImplicitToNlp::solve().
| const long double* casadi::radau_points[] |
Definition at line 98 of file integration_tools.cpp.
Referenced by collocation_pointsGen().
| const long double casadi::radau_points1[] |
Definition at line 68 of file integration_tools.cpp.
| const long double casadi::radau_points2[] |
Definition at line 70 of file integration_tools.cpp.
| const long double casadi::radau_points3[] |
Definition at line 72 of file integration_tools.cpp.
| const long double casadi::radau_points4[] |
Definition at line 75 of file integration_tools.cpp.
| const long double casadi::radau_points5[] |
Definition at line 78 of file integration_tools.cpp.
| const long double casadi::radau_points6[] |
Definition at line 81 of file integration_tools.cpp.
| const long double casadi::radau_points7[] |
Definition at line 85 of file integration_tools.cpp.
| const long double casadi::radau_points8[] |
Definition at line 89 of file integration_tools.cpp.
| const long double casadi::radau_points9[] |
Definition at line 93 of file integration_tools.cpp.
|
static |
Definition at line 127 of file blas.cpp.
Referenced by doc_blas().
|
static |
Definition at line 38 of file xpress_interface.cpp.
Referenced by casadi::XpressInterface::init_mem().
|
static |
Definition at line 39 of file xpress_interface.cpp.
Referenced by casadi::XpressInterface::init_mem(), and xpress_global_init().
|
static |
Definition at line 45 of file serializing_stream.cpp.
Referenced by casadi::SerializingStream::SerializingStream(), and casadi::DeserializingStream::setup().
|
static |
Definition at line 44 of file serializing_stream.cpp.
Referenced by casadi::SerializingStream::SerializingStream(), and casadi::DeserializingStream::setup().