CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

Macros | Functions
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.

Macros

#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 ()

Macro Definition 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, CLHEP::HepRandom::setTheSeed(), and CLHEP::HepDiagMatrix::sub().

Referenced by main().

int main ( )
void matrix_test ( )

Definition at line 56 of file testMatrix.cc.

References a, b, 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.

References f().

Referenced by main().

double negv ( double  f,
int   
)

Definition at line 47 of file testMatrix.cc.

References f().

Referenced by main().

void symmatrix_test ( )
void vector_test ( )

Definition at line 307 of file testMatrix.cc.

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

Referenced by main().