stressTMath.cxx File Reference

#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


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 168 of file stressTMath.cxx.

References int, size, stressTMath(), and type.

template<typename T>
T randD (  ) 

Definition at line 15 of file stressTMath.cxx.

References T.

void stressTMath ( unsigned int  size,
const char *  type 
)

Definition at line 141 of file stressTMath.cxx.

Referenced by main().

template<typename T>
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().


Variable Documentation

const unsigned int NUMTEST = 500

Definition at line 11 of file stressTMath.cxx.

Referenced by stressVector().


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