#include <boost/type_traits/is_same.hpp>
#include <boost/mpl/same_as.hpp>
#include <roboptim/core/util.hh>
Namespaces | |
namespace | roboptim |
Meta-functions, functions and solver-related classes. | |
namespace | roboptim::finiteDifferenceGradientPolicies |
Contains finite difference gradients policies. | |
Functions | |
template<typename T > | |
std::ostream & | roboptim::operator<< (std::ostream &o, const BadGradient< T > &f) |
Override operator<< to handle exception display. | |
template<typename T > | |
std::ostream & | roboptim::operator<< (std::ostream &o, const BadJacobian< T > &f) |
Override operator<< to handle exception display. | |
template<typename T > | |
bool | roboptim::checkGradient (const GenericDifferentiableFunction< T > &function, typename GenericDifferentiableFunction< T >::size_type functionId, typename GenericDifferentiableFunction< T >::const_argument_ref x, typename GenericDifferentiableFunction< T >::value_type threshold=finiteDifferenceThreshold) |
Check if a gradient is valid. | |
template<typename T > | |
void | roboptim::checkGradientAndThrow (const GenericDifferentiableFunction< T > &function, typename GenericDifferentiableFunction< T >::size_type functionId, typename GenericDifferentiableFunction< T >::const_argument_ref x, typename GenericDifferentiableFunction< T >::value_type threshold=finiteDifferenceThreshold) throw (BadGradient<T>) |
template<typename T > | |
bool | roboptim::checkJacobian (const GenericDifferentiableFunction< T > &function, typename GenericDifferentiableFunction< T >::const_argument_ref x, typename GenericDifferentiableFunction< T >::value_type threshold=finiteDifferenceThreshold) |
Check if a Jacobian is valid. | |
template<typename T > | |
void | roboptim::checkJacobianAndThrow (const GenericDifferentiableFunction< T > &function, typename GenericDifferentiableFunction< T >::const_argument_ref x, typename GenericDifferentiableFunction< T >::value_type threshold=finiteDifferenceThreshold) throw (BadJacobian<T>) |