ROOT 6.08/07 Reference Guide |
#include <iostream>
#include "Math/WrappedFunction.h"
#include "Math/WrappedParamFunction.h"
#include "TStopwatch.h"
#include <cmath>
#include "TRandom2.h"
#include "TF1.h"
#include "TF2.h"
#include "Math/WrappedTF1.h"
#include "Math/WrappedMultiTF1.h"
#include "Math/IFunctionfwd.h"
#include "Math/IFunction.h"
#include "Math/Functor.h"
#include "Math/ParamFunctor.h"
#include <functional>
#include <vector>
Macros | |
#define | FUNC x[0]+x[1] |
#define | FUNC1D x+x; |
#define | NLOOP 100 |
#define | NTIMES 500000 |
Functions | |
double | freeFunction (const double *x) |
double | freeFunction1D (double x) |
double | freeParamFunc1D (double x, double *) |
double | freeRootFunc1D (const double *xx, const double *) |
double | freeRootFunc2D (const double *x, const double *) |
int | main () |
void | testMore () |
void | testMultiDim () |
void | testOneDim () |
template<class Func > | |
void | TestTime (const Func &f) |
void | TestTimeGF (const ROOT::Math::IGenFunction &f) |
template<class PFunc > | |
void | TestTimePF (PFunc &f) |
void | TestTimeTF1 (TF1 &f) |
Variables | |
const int | Ntimes = NTIMES |
Definition at line 36 of file testFunctor.cxx.
Definition at line 35 of file testFunctor.cxx.
#define NLOOP 100 |
Definition at line 33 of file testFunctor.cxx.
#define NTIMES 500000 |
Definition at line 34 of file testFunctor.cxx.
double freeFunction | ( | const double * | x | ) |
Definition at line 47 of file testFunctor.cxx.
double freeFunction1D | ( | double | x | ) |
Definition at line 63 of file testFunctor.cxx.
double freeParamFunc1D | ( | double | x, |
double * | |||
) |
Definition at line 59 of file testFunctor.cxx.
double freeRootFunc1D | ( | const double * | xx, |
const double * | |||
) |
Definition at line 55 of file testFunctor.cxx.
double freeRootFunc2D | ( | const double * | x, |
const double * | |||
) |
Definition at line 52 of file testFunctor.cxx.
int main | ( | ) |
Definition at line 453 of file testFunctor.cxx.
void testMore | ( | ) |
Definition at line 331 of file testFunctor.cxx.
void testMultiDim | ( | ) |
Definition at line 252 of file testFunctor.cxx.
void testOneDim | ( | ) |
Definition at line 290 of file testFunctor.cxx.
Definition at line 154 of file testFunctor.cxx.
void TestTimeGF | ( | const ROOT::Math::IGenFunction & | f | ) |
Definition at line 198 of file testFunctor.cxx.
void TestTimePF | ( | PFunc & | f | ) |
Definition at line 176 of file testFunctor.cxx.
Definition at line 203 of file testFunctor.cxx.
const int Ntimes = NTIMES |
Definition at line 151 of file testFunctor.cxx.