31#ifndef ROOT_Math_ChebyshevApprox
32#define ROOT_Math_ChebyshevApprox
57class GSLFunctionWrapper;
119 std::pair<double, double>
EvalErr(
double x)
const;
132 std::pair<double, double>
EvalErr(
double x,
size_t n)
const;
winID h TVirtualViewer3D TVirtualGLPainter p
Class describing a Chebyshev series which can be used to approximate a function in a defined range [a...
ChebyshevApprox * Integral()
Compute the integral of the series and return a pointer to a new Chebyshev series with the integral c...
std::pair< double, double > EvalErr(double x) const
Evaluate the series at a given point x estimating both the series result and its absolute error.
double operator()(double x) const
Evaluate the series at a given point x.
void Initialize(GSLFuncPointer f, void *params, double a, double b)
Initialize series passing function and range.
ChebyshevApprox & operator=(const ChebyshevApprox &)=delete
virtual ~ChebyshevApprox()
ChebyshevApprox * Deriv()
Compute the derivative of the series and return a pointer to a new Chebyshev series with the derivati...
ChebyshevApprox(ChebyshevApprox &&)=delete
ChebyshevApprox(const ChebyshevApprox &)=delete
GSLFunctionWrapper * fFunction
wrapper class for C struct gsl_cheb_series
Wrapper class to the gsl_function C structure.
Interface (abstract class) for generic functions objects of one-dimension Provides a method to evalua...
Namespace for new Math classes and functions.
double(* GSLFuncPointer)(double, void *)
Function pointer corresponding to gsl_function signature.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...