40 #include "gsl/gsl_deriv.h" 78 if (
this == &rhs)
return *
this;
double Error() const
return the estimate of the absolute error of the last derivative calculation
Interface (abstract class) for generic functions objects of one-dimension Provides a method to evalua...
Class for computing numerical derivative of a function.
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
double EvalForward(double x, double h)
Computes the numerical derivative at a point x using an adaptive forward difference algorithm with a ...
GSLDerivator * fDerivator
Derivator & operator=(const Derivator &)
double Eval(double x, double h=1E-8) const
Computes the numerical derivative of a function f at a point x.
double EvalCentral(double x, double h=1E-8) const
Computes the numerical derivative at a point x using an adaptive central difference algorithm with a ...
void SetFunction(const IGenFunction &f)
Set the function for calculating the derivatives.
Class for computing numerical derivative of a function based on the GSL numerical algorithm This clas...
double EvalBackward(double x, double h)
Computes the numerical derivative at a point x using an adaptive backward difference algorithm with a...
OneDimMultiFunctionAdapter class to wrap a multidimensional function in one dimensional one...
virtual ~Derivator()
destructor
double Result() const
return the result of the last derivative calculation
double Result() const
return the result of the last derivative calculation
double Error() const
return the estimate of the absolute error of the last derivative calculation
IParamFunction interface (abstract class) describing multi-dimensional parameteric functions It is a ...
void SetFunction(const IGenFunction &f)
Set the function for calculating the derivatives.
Class for adapting any C++ functor class to C function pointers used by GSL.
double EvalForward(double x, double h=1E-8) const
Computes the numerical derivative at a point x using an adaptive forward difference algorithm with a ...
OneDimParamFunctionAdapter class to wrap a multi-dim parameteric function in one dimensional one...
double EvalBackward(double x, double h=1E-8) const
Computes the numerical derivative at a point x using an adaptive backward difference algorithm with a...
Specialized IParamFunction interface (abstract class) for one-dimensional parametric functions It is ...
int Status() const
return the error status of the last integral calculation
Namespace for new Math classes and functions.
double EvalCentral(double x, double h)
Computes the numerical derivative at a point x using an adaptive central difference algorithm with a ...
Documentation for the abstract class IBaseFunctionMultiDim.
Derivator()
Empty Construct for a Derivator class Need to set the function afterwards with Derivator::SetFunction...
int Status() const
return the error status of the last derivative calculation
double(* GSLFuncPointer)(double, void *)
signature for function pointers used by GSL