testOperations.cxx File Reference

#include "Math/SVector.h"
#include "Math/SMatrix.h"
#include "TMatrixD.h"
#include "TVectorD.h"
#include "TRandom3.h"
#include "TH1D.h"
#include "TProfile.h"
#include "TFile.h"
#include <iostream>
#include "matrix_op.h"
#include "matrix_util.h"
#include <map>

Go to the source code of this file.

Defines

#define ENABLE_TEMPORARIES
#define TEST_SYM
#define NITER   1
#define NLOOP_MIN   1000;
#define N   NDIM1
#define NTYPES   4
#define TEST(N)

Functions

template<unsigned int NDIM1, unsigned int NDIM2>
int test_smatrix_op ()
template<unsigned int NDIM1, unsigned int NDIM2>
int test_smatrix_sym_op ()
template<unsigned int NDIM1, unsigned int NDIM2>
int test_tmatrix_op ()
template<unsigned int NDIM1, unsigned int NDIM2>
int test_tmatrix_sym_op ()
int testOperations ()
int main (int argc, char *argv[])

Variables

int NLOOP
int TEST_TYPE
int MATRIX_SIZE


Define Documentation

#define ENABLE_TEMPORARIES

Definition at line 1 of file testOperations.cxx.

#define N   NDIM1

#define NITER   1

Definition at line 22 of file testOperations.cxx.

#define NLOOP_MIN   1000;

Definition at line 25 of file testOperations.cxx.

Referenced by main(), and testOperations().

#define NTYPES   4

Definition at line 708 of file testOperations.cxx.

#define TEST (  ) 

Value:

MATRIX_SIZE=N;  \
   TEST_TYPE=0; test_smatrix_op<N,N>(); \
   TEST_TYPE=1; test_tmatrix_op<N,N>();     \
   TEST_TYPE=2; test_smatrix_sym_op<N,N>(); \
   TEST_TYPE=3; test_tmatrix_sym_op<N,N>();

Definition at line 709 of file testOperations.cxx.

#define TEST_SYM

Definition at line 16 of file testOperations.cxx.


Function Documentation

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

Definition at line 773 of file testOperations.cxx.

References initValues(), NLOOP, NLOOP_MIN, TEST, and testOperations().

template<unsigned int NDIM1, unsigned int NDIM2>
int test_smatrix_op (  ) 

Definition at line 61 of file testOperations.cxx.

References A, B, C, C0, C2, C4, D, fillRandomMat(), fillRandomVec(), k, NDIM1, NDIM2, NITER, npass, p, r1, r2, testATBA_S(), testDot_S(), testGMV(), testInnerProd_S(), testInv_S(), testMad(), testMeq(), testMM(), testMscale(), testMT_S(), testMV(), testVad(), testVeq(), testVscale(), v1, and w.

template<unsigned int NDIM1, unsigned int NDIM2>
int test_smatrix_sym_op (  ) 

Definition at line 186 of file testOperations.cxx.

References A, B, C, C0, C2, C4, fillRandomMat(), fillRandomSym(), fillRandomVec(), k, NDIM1, NITER, npass, r1, testATBA_S2(), testGMV(), testInnerProd_S(), testInv_S(), testMad(), testMeq(), testMM(), testMscale(), testMV(), v1, and w.

template<unsigned int NDIM1, unsigned int NDIM2>
int test_tmatrix_op (  ) 

Definition at line 290 of file testOperations.cxx.

References A, B, C, C0, C2, C4, D, fillRandomMat(), fillRandomVec(), gMatrixCheck, k, NDIM1, NDIM2, NITER, npass, p, r1, r2, testATBA_T(), testDot_T(), testGMV_T(), testInnerProd_T(), testInv_T(), testMad_T(), testMeq(), testMM_T(), testMscale_T(), testMT_T(), testMV_T(), testVad_T(), testVeq(), testVscale_T(), v1, and w.

template<unsigned int NDIM1, unsigned int NDIM2>
int test_tmatrix_sym_op (  ) 

Definition at line 403 of file testOperations.cxx.

References A, B, C, C0, C2, C4, fillRandomMat(), fillRandomSym(), fillRandomVec(), k, N, NDIM1, NITER, npass, r1, testATBA_T2(), testGMV_T(), testInnerProd_T(), testInv_T(), testMad_T(), testMeq(), testMM_T(), testMscale_T(), testMV_T(), v1, and w.

int testOperations (  ) 

Definition at line 762 of file testOperations.cxx.

References initValues(), NLOOP, NLOOP_MIN, and TEST.

Referenced by main().


Variable Documentation

int MATRIX_SIZE

Definition at line 732 of file testOperations.cxx.

int NLOOP

Definition at line 46 of file testOperations.cxx.

int TEST_TYPE

Definition at line 731 of file testOperations.cxx.


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