aligator
0.9.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
|
Slicing and indexing of a function's output. More...
#include <aligator/modelling/function-xpr-slice.hpp>
Public Types | |
using | Scalar = typename Base::Scalar |
using | BaseData = StageFunctionDataTpl<Scalar> |
using | Data = FunctionSliceDataTpl<Scalar> |
Public Member Functions | |
ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
slice_impl_tpl (xyz::polymorphic< Base > func, std::vector< int > const &indices) | |
slice_impl_tpl (xyz::polymorphic< Base > func, int idx) | |
Public Attributes | |
xyz::polymorphic< Base > | func |
std::vector< int > | indices |
Protected Member Functions | |
template<typename... Args> | |
void | evaluate_impl (BaseData &data, Args &&...args) const |
template<typename... Args> | |
void | computeJacobians_impl (BaseData &data, Args &&...args) const |
template<typename... Args> | |
void | computeVectorHessianProducts_impl (BaseData &data, const ConstVectorRef &lbda, Args &&...args) const |
Slicing and indexing of a function's output.
Definition at line 119 of file function-xpr-slice.hpp.
using aligator::detail::slice_impl_tpl< Base >::Scalar = typename Base::Scalar |
Definition at line 120 of file function-xpr-slice.hpp.
using aligator::detail::slice_impl_tpl< Base >::BaseData = StageFunctionDataTpl<Scalar> |
Definition at line 122 of file function-xpr-slice.hpp.
using aligator::detail::slice_impl_tpl< Base >::Data = FunctionSliceDataTpl<Scalar> |
Definition at line 124 of file function-xpr-slice.hpp.
aligator::detail::slice_impl_tpl< Base >::slice_impl_tpl | ( | xyz::polymorphic< Base > | func, |
std::vector< int > const & | indices ) |
aligator::detail::slice_impl_tpl< Base >::slice_impl_tpl | ( | xyz::polymorphic< Base > | func, |
int | idx ) |
aligator::detail::slice_impl_tpl< Base >::ALIGATOR_DYNAMIC_TYPEDEFS | ( | Scalar | ) |
|
protected |
|
protected |
|
protected |
xyz::polymorphic<Base> aligator::detail::slice_impl_tpl< Base >::func |
Definition at line 126 of file function-xpr-slice.hpp.
std::vector<int> aligator::detail::slice_impl_tpl< Base >::indices |
Definition at line 128 of file function-xpr-slice.hpp.