Classes | |
class | numerical::DerivativeCenteredDifference< Functor > |
The numerical derivative of a functor. More... | |
Functions | |
template<class Functor> | |
void | numerical::derivative_centered_difference (const Functor &f, const typename Functor::argument_type x, typename Functor::result_type &deriv, const typename Functor::argument_type delta=std::pow(std::numeric_limits< typename Functor::argument_type >::epsilon(), 1.0/3.0)) |
Calculate f'(x). | |
template<class Functor> | |
Functor::result_type | numerical::derivative_centered_difference (const Functor &f, const typename Functor::argument_type x, const typename Functor::argument_type delta=std::pow(std::numeric_limits< typename Functor::argument_type >::epsilon(), 1.0/3.0)) |
Return f'(x). |