Go to the documentation of this file.
48 #ifndef HITFIT_MATUTIL_H
49 #define HITFIT_MATUTIL_H
52 #define MATRIX_BOUND_CHECK
55 #include "CLHEP/Matrix/Matrix.h"
56 #include "CLHEP/Matrix/Vector.h"
57 #include "CLHEP/Matrix/DiagMatrix.h"
171 void clear(CLHEP::HepGenMatrix&
m);
181 double scalar(
const CLHEP::HepGenMatrix&
m);
185 #endif // not HITFIT_MATUTIL_H
CLHEP::HepVector Column_Vector
Row_Vector(int cols)
Constructor, instantiate an unitialized matrix.
void clear(CLHEP::HepGenMatrix &m)
Helper function: Reset all elements of a matrix to 0.
double scalar(const CLHEP::HepGenMatrix &m)
Return the matrix as a scalar. Raise an assertion if the matris is not .
const double & operator()(int col) const
Direct element access, indexing starts from 1.
Row_Vector & operator=(const Matrix &m)
Assignment operator, will raise an assertion if m doesn't have exactly one row.
CLHEP::HepDiagMatrix Diagonal_Matrix
Row-vector class. CLHEP doesn't have a row-vector class, so HitFit uses its own. This is only a simpl...