CLHEP VERSION 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 a, b, and CLHEP::HepRandom::setTheSeed().

Referenced by main().

int main (  ) 

Definition at line 367 of file testMatrix.cc.

References a, absf(), CLHEP::HepVector::apply(), CLHEP::HepDiagMatrix::apply(), CLHEP::HepSymMatrix::apply(), CLHEP::HepMatrix::apply(), CLHEP::HepDiagMatrix::assign(), CLHEP::HepSymMatrix::assign(), b, CLHEP::condition(), diagmatrix_test(), CLHEP::diagonalize(), f(), CLHEP::HepDiagMatrix::fast(), CLHEP::HepSymMatrix::fast(), g(), 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::HepVector::num_row(), CLHEP::HepDiagMatrix::num_row(), CLHEP::HepSymMatrix::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::swap(), 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 a, b, CLHEP::dsum(), and CLHEP::HepRandom::setTheSeed().

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::detail::n, and 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 a, b, f(), g(), and CLHEP::HepRandom::setTheSeed().

Referenced by main().

void vector_test (  ) 

Definition at line 307 of file testMatrix.cc.

References a, b, and CLHEP::HepRandom::setTheSeed().

Referenced by main().


Generated on 15 Nov 2012 for CLHEP by  doxygen 1.4.7