12template <
typename Scalar>
21 :
Base(resdl.space_, resdl, weights) {}
24 const ConstVectorRef &target,
const MatrixXs &weights)
37template <
typename Scalar>
45 const MatrixXs &weights)
49 const ConstMatrixRef &weights)
53 const ConstVectorRef &target,
54 const ConstMatrixRef &weights)
69#ifdef ALIGATOR_ENABLE_TEMPLATE_INSTANTIATION
70#include "./quad-state-cost.txx"
xyz::polymorphic< Manifold > space
void setTarget(const ConstVectorRef &target)
QuadraticResidualCostTpl< Scalar > Base
QuadraticControlCostTpl(xyz::polymorphic< Manifold > space, Error resdl, const MatrixXs &weights)
const Error & residual() const
ControlErrorResidualTpl< Scalar > Error
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)
xyz::polymorphic< StageFunction > residual_
QuadraticResidualCostTpl(xyz::polymorphic< Manifold > space, xyz::polymorphic< StageFunction > function, const ConstMatrixRef &weights)
ManifoldAbstractTpl< Scalar > Manifold
QuadraticStateCostTpl(StateError resdl, const MatrixXs &weights)
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)
void setTarget(const ConstVectorRef target)
QuadraticResidualCostTpl< Scalar > Base