proxsuite-nlp  0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear programming on manifolds.
Loading...
Searching...
No Matches
proxsuite::nlp::PolynomialTpl< T > Struct Template Reference

Polynomials represented by their coefficients in decreasing order of degree. More...

#include <proxsuite-nlp/linesearch-armijo.hpp>

Collaboration diagram for proxsuite::nlp::PolynomialTpl< T >:
[legend]

Public Types

using VectorXs = typename math_types<T>::VectorXs
 

Public Member Functions

 PolynomialTpl ()
 
 PolynomialTpl (const Eigen::Ref< const VectorXs > &c)
 
Eigen::Index degree () const
 Polynomial degree (number of coefficients minus one).
 
evaluate (T a) const
 
PolynomialTpl derivative () const
 

Public Attributes

VectorXs coeffs
 

Detailed Description

template<typename T>
struct proxsuite::nlp::PolynomialTpl< T >

Polynomials represented by their coefficients in decreasing order of degree.

Definition at line 17 of file linesearch-armijo.hpp.

Member Typedef Documentation

◆ VectorXs

template<typename T >
using proxsuite::nlp::PolynomialTpl< T >::VectorXs = typename math_types<T>::VectorXs

Definition at line 18 of file linesearch-armijo.hpp.

Constructor & Destructor Documentation

◆ PolynomialTpl() [1/2]

template<typename T >
proxsuite::nlp::PolynomialTpl< T >::PolynomialTpl ( )
inline

Definition at line 20 of file linesearch-armijo.hpp.

◆ PolynomialTpl() [2/2]

template<typename T >
proxsuite::nlp::PolynomialTpl< T >::PolynomialTpl ( const Eigen::Ref< const VectorXs > & c)
inline

Definition at line 21 of file linesearch-armijo.hpp.

Member Function Documentation

◆ degree()

template<typename T >
Eigen::Index proxsuite::nlp::PolynomialTpl< T >::degree ( ) const
inline

Polynomial degree (number of coefficients minus one).

Definition at line 23 of file linesearch-armijo.hpp.

◆ evaluate()

template<typename T >
T proxsuite::nlp::PolynomialTpl< T >::evaluate ( T a) const
inline

Definition at line 24 of file linesearch-armijo.hpp.

◆ derivative()

template<typename T >
PolynomialTpl proxsuite::nlp::PolynomialTpl< T >::derivative ( ) const
inline

Definition at line 31 of file linesearch-armijo.hpp.

Member Data Documentation

◆ coeffs

template<typename T >
VectorXs proxsuite::nlp::PolynomialTpl< T >::coeffs

Definition at line 19 of file linesearch-armijo.hpp.


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