+
class ROOT::Math::Derivator
-
library: libMathMore
#include "Derivator.h"
Display options:
Show inherited
Show non-public

class ROOT::Math::Derivator

Function Members (Methods)

public:
virtual~Derivator()
ROOT::Math::DerivatorDerivator()
ROOT::Math::DerivatorDerivator(const ROOT::Math::IGenFunction& f)
ROOT::Math::DerivatorDerivator(const ROOT::Math::Derivator::GSLFuncPointer& f, void* p = 0)
doubleError() const
doubleEval(double x, double h = 1E-8) const
static doubleEval(const ROOT::Math::IGenFunction& f, double x, double h = 1E-8)
static doubleEval(const ROOT::Math::IMultiGenFunction& f, const double* x, unsigned int icoord = 0, double h = 1E-8)
static doubleEval(ROOT::Math::IParamFunction& f, double x, const double* p, unsigned int ipar = 0, double h = 1E-8)
static doubleEval(ROOT::Math::IParamMultiFunction& f, const double* x, const double* p, unsigned int ipar = 0, double h = 1E-8)
doubleEvalBackward(double x, double h = 1E-8) const
static doubleEvalBackward(const ROOT::Math::IGenFunction& f, double x, double h = 1E-8)
doubleEvalCentral(double x, double h = 1E-8) const
static doubleEvalCentral(const ROOT::Math::IGenFunction& f, double x, double h = 1E-8)
doubleEvalForward(double x, double h = 1E-8) const
static doubleEvalForward(const ROOT::Math::IGenFunction& f, double x, double h = 1E-8)
doubleResult() const
voidSetFunction(const ROOT::Math::IGenFunction& f)
voidSetFunction(const ROOT::Math::Derivator::GSLFuncPointer& f, void* p = 0)
intStatus() const
private:
ROOT::Math::DerivatorDerivator(const ROOT::Math::Derivator&)
ROOT::Math::Derivator&operator=(const ROOT::Math::Derivator&)

Data Members

private:
ROOT::Math::GSLDerivator*fDerivator

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

Derivator()
Derivator(const IGenFunction &f)
 allocate a  GSLDerivator
Derivator(const ROOT::Math::Derivator::GSLFuncPointer& f, void* p = 0)
 allocate a GSLDerivator
~Derivator()
Derivator(const Derivator &)
void SetFunction(const ROOT::Math::IGenFunction& f)
void SetFunction(const ROOT::Math::Derivator::GSLFuncPointer& f, void* p = 0)
double Eval(double x, double h = 1E-8) const
double EvalCentral(double x, double h = 1E-8) const
double EvalForward(double x, double h = 1E-8) const
double EvalBackward(double x, double h = 1E-8) const
double Eval(const ROOT::Math::IGenFunction& f, double x, double h = 1E-8)
double EvalCentral(const ROOT::Math::IGenFunction& f, double x, double h = 1E-8)
double EvalForward(const ROOT::Math::IGenFunction& f, double x, double h = 1E-8)
double EvalBackward(const ROOT::Math::IGenFunction& f, double x, double h = 1E-8)
double Eval(const ROOT::Math::IMultiGenFunction& f, const double* x, unsigned int icoord = 0, double h = 1E-8)
 partial derivative for a  multi-dim function
double Eval(IParamFunction & f, double x, const double * p, unsigned int ipar, double h )
 derivative w.r.t parameter  for a one-dim param function
double Eval(IParamMultiFunction & f, const double * x, const double * p, unsigned int ipar, double h )
 derivative w.r.t parameter  for a multi-dim param function
double Result()
{ return fDerivator->Result(); }
double Error()
{ return fDerivator->Error(); }
int Status()
{ return fDerivator->Status(); }

Last update: root/mathmore:$Name: $:$Id: Derivator.cxx,v 1.5 2006/12/06 15:16:02 moneta Exp $
Copyright (c) 2004 ROOT Foundation, CERN/PH-SFT *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.