- 3.0.2 optimal control module.
compareCostFunctions.h File Reference

Go to the source code of this file.

Namespaces

 ct
 
 ct::optcon
 
 ct::optcon::example
 

Functions

template<size_t state_dim, size_t control_dim>
void ct::optcon::example::compareCostFunctionOutput (CostFunctionQuadratic< state_dim, control_dim > &costFunction, CostFunctionQuadratic< state_dim, control_dim > &costFunction2)
 This method is called from different unit tests in order to compare the cost, first and second order gradients of two cost functions. More...