proxsuite-nlp
0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear programming on manifolds.
|
Base function type. More...
#include <proxsuite-nlp/function-base.hpp>
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. | |
virtual | ~BaseFunctionTpl ()=default |
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_ |
Base function type.
using proxsuite::nlp::BaseFunctionTpl< Scalar >::Scalar = _Scalar |
Definition at line 20 of file function-base.hpp.
|
inline |
Definition at line 23 of file function-base.hpp.
|
inline |
Definition at line 26 of file function-base.hpp.
|
virtualdefault |
|
pure virtual |
Evaluate the residual at a given point x.
Implemented in proxsuite::nlp::autodiff::finite_difference_wrapper< _Scalar, TOC1 >, proxsuite::nlp::autodiff::finite_difference_wrapper< _Scalar, TOC2 >, proxsuite::nlp::ComposeFunctionTpl< Scalar >, proxsuite::nlp::ComposeFunctionTpl< _Scalar >, proxsuite::nlp::CostFunctionBaseTpl< Scalar >, proxsuite::nlp::CostFunctionBaseTpl< _Scalar >, proxsuite::nlp::LinearFunctionTpl< _Scalar >, proxsuite::nlp::ManifoldDifferenceToPoint< _Scalar >, proxsuite::nlp::python::C1FunctionWrap, proxsuite::nlp::python::C2FunctionWrap, proxsuite::nlp::python::FunctionWrap, and proxsuite::nlp::RigidTransformationPointActionTpl< Scalar >.
|
inline |
Get function input vector size (representation of manifold).
Definition at line 35 of file function-base.hpp.
|
inline |
Get input manifold's tangent space dimension.
Definition at line 37 of file function-base.hpp.
|
inline |
Get function codimension.
Definition at line 39 of file function-base.hpp.
|
protected |
Definition at line 15 of file function-base.hpp.
|
protected |
Definition at line 16 of file function-base.hpp.
|
protected |
Definition at line 17 of file function-base.hpp.
proxsuite::nlp::BaseFunctionTpl< Scalar >::Scalar |
Definition at line 21 of file function-base.hpp.