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

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

Detailed Description

Wrapper for CasADiFunctionEvaluator with 2 vector inputs, 1 vector output.

Definition at line 130 of file CasADiFunctionWrapper.hpp.

+ Collaboration diagram for CasADiFun_2Vi1Vo:

Public Member Functions

 CasADiFun_2Vi1Vo (CasADiFunctionEvaluator< 2, 1 > &&fun)
 
 CasADiFun_2Vi1Vo (casadi::Function &&f, const std::array< casadi_int, 2 > &dim_in={}, casadi_int dim_out=0)
 
void operator() (alpaqa::crvec in1, alpaqa::crvec in2, alpaqa::rvec out) const
 

Private Attributes

CasADiFunctionEvaluator< 2, 1 > fun
 

Constructor & Destructor Documentation

◆ CasADiFun_2Vi1Vo() [1/2]

CasADiFun_2Vi1Vo ( CasADiFunctionEvaluator< 2, 1 > &&  fun)
inline

Definition at line 132 of file CasADiFunctionWrapper.hpp.

◆ CasADiFun_2Vi1Vo() [2/2]

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

Definition at line 134 of file CasADiFunctionWrapper.hpp.

Member Function Documentation

◆ operator()()

void operator() ( alpaqa::crvec  in1,
alpaqa::crvec  in2,
alpaqa::rvec  out 
) const
inline

Definition at line 139 of file CasADiFunctionWrapper.hpp.

Member Data Documentation

◆ fun

CasADiFunctionEvaluator<2, 1> fun
private

Definition at line 144 of file CasADiFunctionWrapper.hpp.


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