#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 |
Definition at line 24 of file testDerivation.cxx.
Definition at line 25 of file testDerivation.cxx.
int main | ( | void | ) |
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().
const double ERRORLIMIT = 1E-5 |
Definition at line 22 of file testDerivation.cxx.