aligator  0.16.0
A versatile and efficient C++ library for real-time constrained trajectory optimization.
Loading...
Searching...
No Matches
aligator::FunctionSliceDataTpl< Scalar > Struct Template Reference

#include <aligator/modelling/function-xpr-slice.hpp>

Inheritance diagram for aligator::FunctionSliceDataTpl< Scalar >:
[legend]
Collaboration diagram for aligator::FunctionSliceDataTpl< Scalar >:
[legend]

Public Types

using BaseData = StageFunctionDataTpl<Scalar>
 Base residual's data object.
 
- Public Types inherited from aligator::StageFunctionDataTpl< Scalar >
using Scalar
 
using Scalar
 

Public Member Functions

 ALIGATOR_DYNAMIC_TYPEDEFS (Scalar)
 
template<typename Base>
 FunctionSliceDataTpl (FunctionSliceXprTpl< Scalar, Base > const &obj)
 
- Public Member Functions inherited from aligator::StageFunctionDataTpl< Scalar >
 ALIGATOR_DYNAMIC_TYPEDEFS (Scalar)
 
ConstMatrixRef Jx () const
 
ConstMatrixRef Ju () const
 
MatrixRef Jx ()
 
MatrixRef Ju ()
 
 StageFunctionDataTpl (const int ndx, const int nu, const int nr)
 Default constructor.
 
 StageFunctionDataTpl (const StageFunctionTpl< Scalar > &model)
 
virtual ~StageFunctionDataTpl ()=default
 
 ALIGATOR_DYNAMIC_TYPEDEFS (Scalar)
 
ConstMatrixRef Jx () const
 
MatrixRef Jx ()
 
ConstMatrixRef Ju () const
 
MatrixRef Ju ()
 
 StageFunctionDataTpl (const int ndx, const int nu, const int nr)
 Default constructor.
 
 StageFunctionDataTpl (const StageFunctionTpl< Scalar > &model)
 
virtual ~StageFunctionDataTpl ()=default
 

Public Attributes

shared_ptr< BaseDatasub_data
 
VectorXs lbda_sub
 
- Public Attributes inherited from aligator::StageFunctionDataTpl< Scalar >
const int ndx1
 
const int nu
 
const int nr
 
const int nvar
 Total number of variables.
 
VectorXs value_
 Function value.
 
VectorRef valref_
 
MatrixXs jac_buffer_
 Full Jacobian.
 
MatrixXs vhp_buffer_
 Vector-Hessian product buffer.
 
MatrixRef Jx_
 Jacobian with respect to \(x\).
 
MatrixRef Ju_
 Jacobian with respect to \(u\).
 
MatrixRef Hxx_
 
MatrixRef Hxu_
 
MatrixRef Huu_
 
const int ndx1
 
const int nu
 
const int nr
 
const int nvar
 Total number of variables.
 
VectorXs value_
 Function value.
 
VectorRef valref_
 
MatrixXs jac_buffer_
 Full Jacobian.
 
MatrixXs vhp_buffer_
 Vector-Hessian product buffer.
 
MatrixRef Jx_
 Jacobian with respect to \(x\).
 
MatrixRef Ju_
 Jacobian with respect to \(u\).
 
MatrixRef Hxx_
 
MatrixRef Hxu_
 
MatrixRef Huu_
 

Detailed Description

template<typename Scalar>
struct aligator::FunctionSliceDataTpl< Scalar >

Definition at line 104 of file function-xpr-slice.hpp.

Member Typedef Documentation

◆ BaseData

template<typename Scalar>
using aligator::FunctionSliceDataTpl< Scalar >::BaseData = StageFunctionDataTpl<Scalar>

Base residual's data object.

Definition at line 106 of file function-xpr-slice.hpp.

Constructor & Destructor Documentation

◆ FunctionSliceDataTpl()

template<typename Scalar>
template<typename Base>
aligator::FunctionSliceDataTpl< Scalar >::FunctionSliceDataTpl ( FunctionSliceXprTpl< Scalar, Base > const & obj)
inline

Definition at line 112 of file function-xpr-slice.hpp.

Member Function Documentation

◆ ALIGATOR_DYNAMIC_TYPEDEFS()

template<typename Scalar>
aligator::FunctionSliceDataTpl< Scalar >::ALIGATOR_DYNAMIC_TYPEDEFS ( Scalar )

Member Data Documentation

◆ sub_data

template<typename Scalar>
shared_ptr<BaseData> aligator::FunctionSliceDataTpl< Scalar >::sub_data

Definition at line 108 of file function-xpr-slice.hpp.

◆ lbda_sub

template<typename Scalar>
VectorXs aligator::FunctionSliceDataTpl< Scalar >::lbda_sub

Definition at line 109 of file function-xpr-slice.hpp.


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