proxsuite-nlp  0.11.0
A primal-dual augmented Lagrangian-type solver for nonlinear programming on manifolds.
 
Loading...
Searching...
No Matches
proxsuite::nlp::BaseFunctionTpl< _Scalar > Struct Template Referenceabstract

Base function type. More...

#include <proxsuite-nlp/function-base.hpp>

Inheritance diagram for proxsuite::nlp::BaseFunctionTpl< _Scalar >:
[legend]
Collaboration diagram for proxsuite::nlp::BaseFunctionTpl< _Scalar >:
[legend]

Public Types

using Scalar = _Scalar
 
- Public Types inherited from proxsuite::nlp::math_types< _Scalar >
using Scalar = _Scalar
 

Public Member Functions

 BaseFunctionTpl (const int nx, const int ndx, const int nr)
 
 BaseFunctionTpl (const ManifoldAbstractTpl< Scalar > &manifold, const int nr)
 
virtual VectorXs operator() (const ConstVectorRef &x) const =0
 Evaluate the residual at a given point x.
 
int nx () const
 Get function input vector size (representation of manifold).
 
int ndx () const
 Get input manifold's tangent space dimension.
 
int nr () const
 Get function codimension.
 

Public Attributes

 Scalar
 
- Public Attributes inherited from proxsuite::nlp::math_types< _Scalar >
 _Scalar
 

Protected Attributes

int nx_
 
int ndx_
 
int nr_
 

Detailed Description

template<typename _Scalar>
struct proxsuite::nlp::BaseFunctionTpl< _Scalar >

Base function type.

Definition at line 13 of file function-base.hpp.

Member Typedef Documentation

◆ Scalar

template<typename _Scalar>
using proxsuite::nlp::BaseFunctionTpl< _Scalar >::Scalar = _Scalar

Definition at line 20 of file function-base.hpp.

Constructor & Destructor Documentation

◆ BaseFunctionTpl() [1/2]

template<typename _Scalar>
proxsuite::nlp::BaseFunctionTpl< _Scalar >::BaseFunctionTpl ( const int nx,
const int ndx,
const int nr )
inline

Definition at line 23 of file function-base.hpp.

◆ BaseFunctionTpl() [2/2]

template<typename _Scalar>
proxsuite::nlp::BaseFunctionTpl< _Scalar >::BaseFunctionTpl ( const ManifoldAbstractTpl< Scalar > & manifold,
const int nr )
inline

Definition at line 26 of file function-base.hpp.

Member Function Documentation

◆ operator()()

◆ nx()

template<typename _Scalar>
int proxsuite::nlp::BaseFunctionTpl< _Scalar >::nx ( ) const
inline

Get function input vector size (representation of manifold).

Definition at line 35 of file function-base.hpp.

◆ ndx()

template<typename _Scalar>
int proxsuite::nlp::BaseFunctionTpl< _Scalar >::ndx ( ) const
inline

Get input manifold's tangent space dimension.

Definition at line 37 of file function-base.hpp.

◆ nr()

template<typename _Scalar>
int proxsuite::nlp::BaseFunctionTpl< _Scalar >::nr ( ) const
inline

Get function codimension.

Definition at line 39 of file function-base.hpp.

Member Data Documentation

◆ nx_

template<typename _Scalar>
int proxsuite::nlp::BaseFunctionTpl< _Scalar >::nx_
protected

Definition at line 15 of file function-base.hpp.

◆ ndx_

template<typename _Scalar>
int proxsuite::nlp::BaseFunctionTpl< _Scalar >::ndx_
protected

Definition at line 16 of file function-base.hpp.

◆ nr_

template<typename _Scalar>
int proxsuite::nlp::BaseFunctionTpl< _Scalar >::nr_
protected

Definition at line 17 of file function-base.hpp.

◆ Scalar

template<typename _Scalar>
proxsuite::nlp::BaseFunctionTpl< _Scalar >::Scalar

Definition at line 21 of file function-base.hpp.


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