Go to the documentation of this file.
86 return HepMatrix::operator()(1,
col);
100 return HepMatrix::operator()(1,
col);
115 return HepMatrix::operator()(row,
col);
130 return HepMatrix::operator()(row,
col);
159 int nrow =
m.num_row();
160 int ncol =
m.num_col();
161 for (
int i = 1;
i <= nrow;
i++)
162 for (
int j = 1;
j <= ncol;
j++)
179 assert(
m.num_row() == 1 &&
m.num_col() == 1);
Row_Vector(int cols)
Constructor, instantiate an unitialized matrix.
void clear(CLHEP::HepGenMatrix &m)
Helper function: Reset all elements of a matrix to 0.
Define matrix types for the HitFit package, and supply a few additional operations.
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.
Row-vector class. CLHEP doesn't have a row-vector class, so HitFit uses its own. This is only a simpl...