20 #ifndef IPO_FUNCTION_DETAIL_FORWARDDIFFERENCEDERIVATIVEESTIMATES_HPP
21 #define IPO_FUNCTION_DETAIL_FORWARDDIFFERENCEDERIVATIVEESTIMATES_HPP
25 #include"../Function.hpp"
26 #include"../DerivativesEstimates.hpp"
28 #include"../../ipo/detail/GSL.hpp"
59 std::sqrt( std::numeric_limits<double>::
63 sqrt( std::sqrt( std::numeric_limits<double>::
94 virtual void setVector( gsl::vector
const& vector );
double const h
The qotient size.
virtual void setVector(gsl::vector const &vector)
Set the vector to a new value.
This class estimates a function value, gradient and Hessian at a given vector.
~ForwardDifferenceDerivativesEstimates()=default
Default destructor.
ForwardDifferenceDerivativesEstimates & operator=(ForwardDifferenceDerivativesEstimates const &)=delete
No copy operator.
Base class for derivative estimates with Hessian.
Namespace for functions that can be used by ipo::Objective and ipo::Constraint.
This class computes a function at a vector.
This class estimates a function value, gradient and Hessian at a given vector.
double const h2
The quotient size for hessian estimates: default is fourth root of machine epsilon.
ForwardDifferenceDerivativesEstimates(Function &function, double const h=std::sqrt(std::numeric_limits< double >::epsilon()), double const h2=std::sqrt(std::sqrt(std::numeric_limits< double >::epsilon())))
Find forward difference quotient estimates.