Define matrix types for the HitFit package, and supply a few additional operations. More...
#include "CLHEP/Matrix/Matrix.h"
#include "CLHEP/Matrix/Vector.h"
#include "CLHEP/Matrix/DiagMatrix.h"
Go to the source code of this file.
Classes | |
class | hitfit::Row_Vector |
Row-vector class. CLHEP doesn't have a row-vector class, so HitFit uses its own. This is only a simple wrapper around Matrix that tries to constrain the shape to a row vector. It will raise an assertion if you try to assign to it something that isn't a row vector. More... | |
Namespaces | |
hitfit | |
Macros | |
#define | MATRIX_BOUND_CHECK |
Typedefs | |
typedef CLHEP::HepVector | hitfit::Column_Vector |
typedef CLHEP::HepDiagMatrix | hitfit::Diagonal_Matrix |
typedef CLHEP::HepMatrix | hitfit::Matrix |
Functions | |
void | hitfit::clear (CLHEP::HepGenMatrix &m) |
Helper function: Reset all elements of a matrix to 0. More... | |
double | hitfit::scalar (const CLHEP::HepGenMatrix &m) |
Return the matrix as a scalar. Raise an assertion if the matris is not . More... | |
Define matrix types for the HitFit package, and supply a few additional operations.
This file defines the type Matrix, Column_Vector, Row_Vector, and Diagonal_Matrix, to be used in HitFit code. These are based on the corresponding CLHEP matrix classes (except that HitFit uses its own row vector class, since CLHEP doesn't have that concept). Also provided are a handful of operations that are missing in CLHEP.
Definition in file matutil.h.