12template <
typename Scalar>
25 const ConstVectorRef &target,
const MatrixXs &weights)
30 typename = std::enable_if_t<!is_polymorphic_of_v<Manifold, U>>>
32 const MatrixXs &weights)
46template <
typename Scalar>
60 const ConstMatrixRef &weights)
65 const ConstVectorRef &target,
66 const ConstMatrixRef &weights)
84#ifdef ALIGATOR_ENABLE_TEMPLATE_INSTANTIATION
85#include "./quad-state-cost.txx"
xyz::polymorphic< Manifold > space
Base class for manifolds, to use in cost funcs, solvers...
void setTarget(const ConstVectorRef &target)
QuadraticResidualCostTpl< Scalar > Base
ControlError & residual()
QuadraticControlCostTpl(xyz::polymorphic< Manifold > space, const ControlError &resdl, const MatrixXs &weights)
StageFunctionTpl< Scalar > StageFunction
const ControlError & residual() const
QuadraticControlCostTpl(xyz::polymorphic< Manifold > space, const ConstVectorRef &target, const ConstMatrixRef &weights)
ConstVectorRef getTarget() const
ManifoldAbstractTpl< Scalar > Manifold
QuadraticControlCostTpl(xyz::polymorphic< Manifold > space, int nu, const ConstMatrixRef &weights)
ALIGATOR_DYNAMIC_TYPEDEFS(Scalar)
ControlErrorResidualTpl< Scalar > ControlError
xyz::polymorphic< StageFunction > residual_
QuadraticResidualCostTpl(xyz::polymorphic< Manifold > space, xyz::polymorphic< StageFunction > function, const ConstMatrixRef &weights)
StageFunctionTpl< Scalar > StageFunction
QuadraticStateCostTpl(const StateError &resdl, const MatrixXs &weights)
ManifoldAbstractTpl< Scalar > Manifold
ConstVectorRef getTarget() const
QuadraticStateCostTpl(xyz::polymorphic< Manifold > space, const int nu, const ConstVectorRef &target, const MatrixXs &weights)
const StateError & residual() const
StateErrorResidualTpl< Scalar > StateError
ALIGATOR_DYNAMIC_TYPEDEFS(Scalar)
QuadraticStateCostTpl(U &&space, const int nu, const ConstVectorRef &target, const MatrixXs &weights)
void setTarget(const ConstVectorRef target)
QuadraticResidualCostTpl< Scalar > Base
Class representing ternary functions .