testDerivation.cxx File Reference

#include "Math/Polynomial.h"
#include "Math/Derivator.h"
#include "Math/IFunction.h"
#include "Math/Functor.h"
#include "Math/WrappedFunction.h"
#include "Math/WrappedParamFunction.h"
#include <iostream>
#include <vector>
#include <cassert>
#include <cmath>

Go to the source code of this file.

Typedefs

typedef double(*) FP (double, void *)
typedef double(*) FP2 (double)

Functions

double myfunc (double x, void *)
double myfunc2 (double x)
int testDerivation ()
int main ()

Variables

const double ERRORLIMIT = 1E-5


Typedef Documentation

typedef double( * ) FP(double, void *)

Definition at line 24 of file testDerivation.cxx.

typedef double( * ) FP2(double)

Definition at line 25 of file testDerivation.cxx.


Function Documentation

int main ( void   ) 

Definition at line 354 of file testDerivation.cxx.

References testDerivation().

double myfunc ( double  x,
void *   
)

Definition at line 28 of file testDerivation.cxx.

References pow().

double myfunc2 ( double  x  ) 

Definition at line 33 of file testDerivation.cxx.

References pow().

Referenced by testDerivation().

int testDerivation (  ) 

Definition at line 37 of file testDerivation.cxx.

References ROOT::Math::IGradientOneDim::Derivative(), E, ROOT::Math::Derivator::Error(), ERRORLIMIT, ROOT::Math::Derivator::Eval(), ROOT::Math::Derivator::EvalBackward(), ROOT::Math::Derivator::EvalCentral(), ROOT::Math::Derivator::EvalForward(), f2, ROOT::Math::fabs(), myfunc(), myfunc2(), p, result(), ROOT::Math::Derivator::SetFunction(), ROOT::Math::ParamFunction< IPFType >::SetParameters(), sqrt(), ROOT::Math::Derivator::Status(), and x0.

Referenced by main().


Variable Documentation

const double ERRORLIMIT = 1E-5

Definition at line 22 of file testDerivation.cxx.


Generated on Tue Jul 5 16:07:15 2011 for ROOT_528-00b_version by  doxygen 1.5.1