5 #ifndef BPP_NUMERIC_FUNCTION_FIVEPOINTSNUMERICALDERIVATIVE_H 6 #define BPP_NUMERIC_FUNCTION_FIVEPOINTSNUMERICALDERIVATIVE_H 91 throw Exception(
"Unimplemented cross derivative.");
98 #endif // BPP_NUMERIC_FUNCTION_FIVEPOINTSNUMERICALDERIVATIVE_H
FivePointsNumericalDerivative * clone() const override
Create a copy of this object and send a pointer to it.
Numerical derivative function wrapper, partial implementation.
FivePointsNumericalDerivative(std::shared_ptr< FunctionInterface > function)
The parameter list object.
void updateDerivatives(const ParameterList ¶meters) override
Compute derivatives.
FivePointsNumericalDerivative(std::shared_ptr< FirstOrderDerivable > function)
Exception base class. Overload exception constructor (to control the exceptions mechanism). Destructor is already virtual (from std::exception)
FivePointsNumericalDerivative(std::shared_ptr< SecondOrderDerivable > function)
double getValue() const override
Get the value of the function at the current point.
virtual ~FivePointsNumericalDerivative()
Five points numerical derivative function wrapper.
double getSecondOrderDerivative(const std::string &variable1, const std::string &variable2) const override
Get the value of the cross derivative of the function according to a given set of parameters...