26 #ifndef __GyotoFunctors_H_ 27 #define __GyotoFunctors_H_ 35 class Double_constDoubleArray;
36 class Double_Double_const;
50 virtual double operator()(
double const data[]) = 0;
76 double ridders(
double from,
double to)
const;
89 double secant(
double from,
double to);
A functor like double (func) (double const data[])
Definition: GyotoFunctors.h:43
virtual double operator()(double) const =0
The actual function.
double secant(double from, double to)
Secant root-finding method applied on operator()()
A functor like double (func) (double) const.
Definition: GyotoFunctors.h:57
double ridders(double from, double to) const
Ridder's root-finding method applied on operator()()
int status
Exit status code of "various" methods (at least secant() !)
Definition: GyotoFunctors.h:64
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43
virtual double operator()(double const data[])=0
The actual function.