testKalman.cxx File Reference

#include "Math/SVector.h"
#include "Math/SMatrix.h"
#include "TMatrixD.h"
#include "TVectorD.h"
#include "TRandom3.h"
#include "matrix_util.h"
#include <iostream>
#include "TestTimer.h"

Go to the source code of this file.

Defines

#define TEST_SYM
#define NDIM1   2
#define NDIM2   5
#define NITER   1
#define NLOOP   1000000
#define OPTIMIZED_SMATRIX_SYM
#define OPTIMIZED_TMATRIX

Functions

int test_smatrix_kalman ()
int test_smatrix_sym_kalman ()
int test_tmatrix_kalman ()
int testKalman ()
int main ()


Define Documentation

#define NDIM1   2

Definition at line 30 of file testKalman.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 NDIM2   5

Definition at line 33 of file testKalman.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_tmatrix_kalman(), TestRunner< NDIM1, NDIM2 >::test_tmatrix_kalman(), and test_tmatrix_op().

#define NITER   1

Definition at line 36 of file testKalman.cxx.

#define NLOOP   1000000

Definition at line 38 of file testKalman.cxx.

#define OPTIMIZED_SMATRIX_SYM

#define OPTIMIZED_TMATRIX

Referenced by test_tmatrix_kalman().

#define TEST_SYM

Definition at line 14 of file testKalman.cxx.


Function Documentation

int main ( void   ) 

Definition at line 566 of file testKalman.cxx.

References testKalman().

int test_smatrix_kalman (  ) 

Definition at line 44 of file testKalman.cxx.

References C, Dot(), fillRandomMat(), fillRandomSym(), fillRandomVec(), H, I, i, j, TMath::K(), k, l, m, NDIM1, NDIM2, NITER, NLOOP, npass, t, test(), ROOT::Math::Transpose(), V, x, and x2.

Referenced by testKalman().

int test_smatrix_sym_kalman (  ) 

Definition at line 168 of file testKalman.cxx.

References C, Dot(), double, fillRandomMat(), fillRandomSym(), fillRandomVec(), H, I, i, j, TMath::K(), k, l, m, NDIM1, NDIM2, NITER, NLOOP, npass, OPTIMIZED_SMATRIX_SYM, ROOT::Math::Similarity(), ROOT::Math::SimilarityT(), t, test(), ROOT::Math::Transpose(), V, x, and x2.

Referenced by testKalman().

int test_tmatrix_kalman (  ) 

Definition at line 324 of file testKalman.cxx.

References Add(), C, fillRandomMat(), fillRandomSym(), fillRandomVec(), TMatrixT< Element >::GetMatrixArray(), gMatrixCheck, H, I, i, TMatrixTSym< Element >::InvertFast(), j, TMath::K(), k, l, m, TMatrixT< Element >::Mult(), TMatrixT< Element >::MultT(), NDIM1, NDIM2, NITER, NLOOP, npass, OPTIMIZED_TMATRIX, TMatrixT< Element >::Plus(), TMatrixTSym< Element >::Similarity(), t, TMatrixT< Element >::Transpose(), TMatrixTSym< Element >::Use(), V, x, and x2.

Referenced by testKalman().

int testKalman (  ) 

Definition at line 549 of file testKalman.cxx.

References test_smatrix_kalman(), test_smatrix_sym_kalman(), and test_tmatrix_kalman().

Referenced by main().


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