#include <iostream>#include <algorithm>#include <TRandom2.h>#include <TStopwatch.h>#include <TMath.h>Go to the source code of this file.
Functions | |
| template<typename T> | |
| T | randD () |
| double | Time (TStopwatch &w) |
| template<typename T> | |
| double | stressVector (unsigned int size, const char *type) |
| void | stressTMath (unsigned int size, const char *type) |
| int | main (int argc, char *argv[]) |
Variables | |
| const unsigned int | NUMTEST = 500 |
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
| T randD | ( | ) |
| void stressTMath | ( | unsigned int | size, | |
| const char * | type | |||
| ) |
| double stressVector | ( | unsigned int | size, | |
| const char * | type | |||
| ) |
Definition at line 27 of file stressTMath.cxx.
References TMath::BinarySearch(), generate(), TMath::GeomMean(), i, int, kFALSE, kTRUE, TMath::LocMin(), TMath::Mean(), TMath::Median(), TMath::MinElement(), ntest, NUMTEST, TMath::RMS(), sort(), TMath::Sort(), T, Time(), and w.
| double Time | ( | TStopwatch & | w | ) |
Definition at line 21 of file stressTMath.cxx.
References w.
Referenced by TGX11::ConvertPrimarySelection(), G__G__Base2_288_0_127(), TGX11::MapEvent(), and stressVector().
| const unsigned int NUMTEST = 500 |
1.5.1