stressKalman.cxx File Reference

#include "Math/SVector.h"
#include "Math/SMatrix.h"
#include "TMatrixD.h"
#include "TVectorD.h"
#include "TFile.h"
#include "TSystem.h"
#include "TROOT.h"
#include "TRandom3.h"
#include "TStopwatch.h"
#include <iostream>
#include <map>

Go to the source code of this file.

Classes

class  TestRunner< NDIM1, NDIM2 >
class  TimeReport
class  TestTimer

Defines

#define RUN_ALL_POINTS
#define NITER   1
#define NLOOP   1000000
#define TR(N1, N2)   { TestRunner<N1,N2> tr; if (tr.run()) return -1; }
#define NMAX1   9
#define NMAX2   7
#define OPTIMIZED_SMATRIX_SYM

Functions

int runTest ()
template<class V>
void fillRandomVec (TRandom &r, V &v, unsigned int len, unsigned int start=0, double offset=1)
template<class M>
void fillRandomMat (TRandom &r, M &m, unsigned int first, unsigned int second, unsigned int start=0, double offset=1)
template<class M>
void fillRandomSym (TRandom &r, M &m, unsigned int first, unsigned int start=0, double offset=1)
void printTime (TStopwatch &time, std::string s)
int main (int argc, char *argv[])

Variables

double refTime1 [4] = { 40.49, 53.75, 83.21,1000 }
double refTime2 [4] = { 393.81, 462.16, 785.50,10000 }
TimeReport gReporter


Define Documentation

#define NITER   1

Definition at line 32 of file stressKalman.cxx.

Referenced by test_smatrix_kalman(), TestRunner< NDIM1, NDIM2 >::test_smatrix_kalman(), test_smatrix_op(), TestRunner< NDIM1, NDIM2 >::test_smatrix_sym_kalman(), test_smatrix_sym_kalman(), test_smatrix_sym_op(), test_tmatrix_kalman(), TestRunner< NDIM1, NDIM2 >::test_tmatrix_kalman(), test_tmatrix_op(), and test_tmatrix_sym_op().

#define NLOOP   1000000

Definition at line 34 of file stressKalman.cxx.

#define NMAX1   9

Definition at line 202 of file stressKalman.cxx.

#define NMAX2   7

Definition at line 203 of file stressKalman.cxx.

#define OPTIMIZED_SMATRIX_SYM

Referenced by TestRunner< NDIM1, NDIM2 >::test_smatrix_sym_kalman(), and test_smatrix_sym_kalman().

#define RUN_ALL_POINTS

Definition at line 2 of file stressKalman.cxx.

#define TR ( N1,
N2   )     { TestRunner<N1,N2> tr; if (tr.run()) return -1; }

Definition at line 77 of file stressKalman.cxx.

Referenced by runTest().


Function Documentation

template<class M>
void fillRandomMat ( TRandom r,
M &  m,
unsigned int  first,
unsigned int  second,
unsigned int  start = 0,
double  offset = 1 
)

Definition at line 165 of file stressKalman.cxx.

References i, j, m, and start.

template<class M>
void fillRandomSym ( TRandom r,
M &  m,
unsigned int  first,
unsigned int  start = 0,
double  offset = 1 
)

Definition at line 172 of file stressKalman.cxx.

References i, j, m, and start.

template<class V>
void fillRandomVec ( TRandom r,
V &  v,
unsigned int  len,
unsigned int  start = 0,
double  offset = 1 
)

Definition at line 159 of file stressKalman.cxx.

References i, and start.

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

Definition at line 923 of file stressKalman.cxx.

References gReporter, TimeReport::print(), runTest(), and TimeReport::save().

void printTime ( TStopwatch time,
std::string  s 
)

Definition at line 190 of file stressKalman.cxx.

References TStopwatch::CpuTime(), pr(), and TStopwatch::RealTime().

Referenced by TestTimer::~TestTimer().

int runTest (  ) 

Definition at line 81 of file stressKalman.cxx.

References TR.


Variable Documentation

TimeReport gReporter

Definition at line 334 of file stressKalman.cxx.

Referenced by main(), TestRunner< NDIM1, NDIM2 >::test_smatrix_kalman(), TestRunner< NDIM1, NDIM2 >::test_smatrix_sym_kalman(), and TestRunner< NDIM1, NDIM2 >::test_tmatrix_kalman().

double refTime1[4] = { 40.49, 53.75, 83.21,1000 }

Definition at line 199 of file stressKalman.cxx.

Referenced by TimeReport::print().

double refTime2[4] = { 393.81, 462.16, 785.50,10000 }

Definition at line 200 of file stressKalman.cxx.

Referenced by TimeReport::print().


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