![]() |
ROOT
6.06/08
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>
Include dependency graph for testFunctor.cxx:Go to the source code of this file.
Macros | |
| #define | NLOOP 100 |
| #define | NTIMES 500000 |
| #define | FUNC1D x+x; |
| #define | FUNC x[0]+x[1] |
Functions | |
| double | freeFunction (const double *x) |
| double | freeRootFunc2D (const double *x, const double *) |
| double | freeRootFunc1D (const double *xx, const double *) |
| double | freeParamFunc1D (double x, double *) |
| double | freeFunction1D (double x) |
| template<class Func > | |
| void | TestTime (const Func &f) |
| template<class PFunc > | |
| void | TestTimePF (PFunc &f) |
| void | TestTimeGF (const ROOT::Math::IGenFunction &f) |
| void | TestTimeTF1 (TF1 &f) |
| void | testMultiDim () |
| void | testOneDim () |
| void | testMore () |
| int | main () |
Variables | |
| const int | Ntimes = NTIMES |
Definition at line 36 of file testFunctor.cxx.
Referenced by freeFunction(), freeFunction1D(), and freeRootFunc2D().
Definition at line 35 of file testFunctor.cxx.
Referenced by freeFunction1D(), freeParamFunc1D(), and freeRootFunc1D().
| #define NLOOP 100 |
Definition at line 33 of file testFunctor.cxx.
Referenced by TestTime(), TestTimePF(), and TestTimeTF1().
| #define NTIMES 500000 |
Definition at line 34 of file testFunctor.cxx.
| double freeFunction | ( | const double * | x | ) |
Definition at line 47 of file testFunctor.cxx.
Referenced by testMore(), and testMultiDim().
| double freeFunction1D | ( | double | x | ) |
Definition at line 63 of file testFunctor.cxx.
Referenced by testMore(), and testOneDim().
| 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.
Referenced by testMore().
| double freeRootFunc2D | ( | const double * | x, |
| const double * | |||
| ) |
Definition at line 52 of file testFunctor.cxx.
Referenced by testMore().
| int main | ( | ) |
Definition at line 453 of file testFunctor.cxx.
| void testMore | ( | ) |
Definition at line 331 of file testFunctor.cxx.
Referenced by main().
| void testMultiDim | ( | ) |
Definition at line 252 of file testFunctor.cxx.
Referenced by main().
| void testOneDim | ( | ) |
Definition at line 290 of file testFunctor.cxx.
Referenced by main().
Definition at line 154 of file testFunctor.cxx.
Referenced by testMore(), testMultiDim(), testOneDim(), and TestTimeGF().
| 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.
Referenced by testMore().
Definition at line 203 of file testFunctor.cxx.
Referenced by testMore().
| const int Ntimes = NTIMES |
Definition at line 151 of file testFunctor.cxx.
Referenced by TestTime(), TestTimePF(), and TestTimeTF1().