alpaqa 0.0.1
Nonconvex constrained optimization
Public Member Functions | Private Attributes | List of all members
CasADiFun_2Vi1So Class Reference

#include <alpaqa/interop/casadi/CasADiFunctionWrapper.hpp>

Detailed Description

Wrapper for CasADiFunctionEvaluator with 2 vector inputs, scalar output.

Definition at line 96 of file CasADiFunctionWrapper.hpp.

+ Collaboration diagram for CasADiFun_2Vi1So:

Public Member Functions

 CasADiFun_2Vi1So (casadi::Function &&f, const std::array< casadi_int, 2 > &dim_in={})
 
double operator() (alpaqa::crvec x, alpaqa::crvec p) const
 

Private Attributes

CasADiFunctionEvaluator< 2, 1 > fun
 

Constructor & Destructor Documentation

◆ CasADiFun_2Vi1So()

CasADiFun_2Vi1So ( casadi::Function &&  f,
const std::array< casadi_int, 2 > &  dim_in = {} 
)
inline

Definition at line 98 of file CasADiFunctionWrapper.hpp.

Member Function Documentation

◆ operator()()

double operator() ( alpaqa::crvec  x,
alpaqa::crvec  p 
) const
inline

Definition at line 102 of file CasADiFunctionWrapper.hpp.

Member Data Documentation

◆ fun

CasADiFunctionEvaluator<2, 1> fun
private

Definition at line 109 of file CasADiFunctionWrapper.hpp.


The documentation for this class was generated from the following file: