CLHEP 2.0.4.7 Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

testMatrix.cc File Reference

#include "CLHEP/Matrix/defs.h"
#include "CLHEP/Matrix/Matrix.h"
#include "CLHEP/Matrix/SymMatrix.h"
#include "CLHEP/Matrix/DiagMatrix.h"
#include "CLHEP/Matrix/Vector.h"
#include "CLHEP/Random/Random.h"
#include "CLHEP/Random/JamesRandom.h"
#include "CLHEP/Random/RandFlat.h"
#include <iostream>
#include <iomanip>

Go to the source code of this file.

Defines

#define PRINTOUT

Functions

int matrix_test1 (const HepGenMatrix &m)
double neg (double f, int, int)
double absf (double f, int, int)
double negv (double f, int)
void matrix_test2 (const HepSymMatrix &m, HepSymMatrix &n)
void matrix_test ()
void symmatrix_test ()
void diagmatrix_test ()
void vector_test ()
int main ()


Define Documentation

#define PRINTOUT

Definition at line 25 of file testMatrix.cc.


Function Documentation

double absf ( double  f,
int  ,
int   
)

Definition at line 43 of file testMatrix.cc.

Referenced by main().

void diagmatrix_test (  ) 

Definition at line 247 of file testMatrix.cc.

References CLHEP::HepRandom::setTheSeed(), and CLHEP::HepDiagMatrix::sub().

Referenced by main().

int main (  ) 

Definition at line 367 of file testMatrix.cc.

References absf(), CLHEP::HepVector::apply(), CLHEP::HepDiagMatrix::apply(), CLHEP::HepSymMatrix::apply(), CLHEP::HepMatrix::apply(), CLHEP::HepDiagMatrix::assign(), CLHEP::HepSymMatrix::assign(), CLHEP::condition(), diagmatrix_test(), CLHEP::diagonalize(), f(), CLHEP::HepDiagMatrix::fast(), CLHEP::HepSymMatrix::fast(), matrix_test(), matrix_test1(), neg(), negv(), CLHEP::norm(), CLHEP::HepVector::norm(), CLHEP::norm1(), CLHEP::norm_infinity(), CLHEP::HepVector::normsq(), CLHEP::HepDiagMatrix::num_col(), CLHEP::HepSymMatrix::num_col(), CLHEP::HepMatrix::num_col(), CLHEP::HepVector::num_row(), CLHEP::HepDiagMatrix::num_row(), CLHEP::HepSymMatrix::num_row(), CLHEP::HepMatrix::num_row(), CLHEP::qr_decomp(), CLHEP::qr_inverse(), CLHEP::qr_solve(), CLHEP::HepRandom::setTheSeed(), CLHEP::HepDiagMatrix::similarity(), CLHEP::HepSymMatrix::similarity(), CLHEP::HepDiagMatrix::similarityT(), CLHEP::HepSymMatrix::similarityT(), CLHEP::solve(), CLHEP::HepVector::sub(), CLHEP::HepDiagMatrix::sub(), CLHEP::HepSymMatrix::sub(), CLHEP::HepMatrix::sub(), symmatrix_test(), CLHEP::HepVector::T(), CLHEP::HepDiagMatrix::T(), CLHEP::HepSymMatrix::T(), CLHEP::HepMatrix::T(), vector_test(), and CLHEP::vT_times_v().

void matrix_test (  ) 

Definition at line 56 of file testMatrix.cc.

References CLHEP::dsum(), CLHEP::HepRandom::setTheSeed(), CLHEP::HepMatrix::sub(), and CLHEP::HepMatrix::T().

Referenced by main().

int matrix_test1 ( const HepGenMatrix m  ) 

Definition at line 27 of file testMatrix.cc.

References CLHEP::HepGenMatrix::num_col().

Referenced by main().

void matrix_test2 ( const HepSymMatrix m,
HepSymMatrix n 
)

Definition at line 51 of file testMatrix.cc.

References CLHEP::HepSymMatrix::sub().

double neg ( double  f,
int  ,
int   
)

Definition at line 39 of file testMatrix.cc.

Referenced by main().

double negv ( double  f,
int   
)

Definition at line 47 of file testMatrix.cc.

Referenced by main().

void symmatrix_test (  ) 

Definition at line 130 of file testMatrix.cc.

References f(), CLHEP::HepRandom::setTheSeed(), CLHEP::HepSymMatrix::similarity(), CLHEP::HepSymMatrix::similarityT(), CLHEP::HepSymMatrix::sub(), and CLHEP::HepVector::T().

Referenced by main().

void vector_test (  ) 

Definition at line 307 of file testMatrix.cc.

References CLHEP::HepRandom::setTheSeed(), and CLHEP::HepVector::sub().

Referenced by main().


Generated on Thu Jul 1 22:02:31 2010 for CLHEP by  doxygen 1.4.7