GENFIT
Rev:NoNumberAvailable
|
Go to the documentation of this file.
24 #ifndef genfit_RKTools_h
25 #define genfit_RKTools_h
32 template <
size_t nRows,
size_t nCols>
34 double vals[nRows * nCols];
37 return vals[nCols*iRow + iCol];
46 double*
end() {
return vals + nRows * nCols; }
48 const double*
end()
const {
return vals + nRows * nCols; }
87 void printDim(
const double* mat,
unsigned int dimX,
unsigned int dimY);
91 template<
size_t nRows,
size_t nCols>
100 #endif // genfit_RKTools_h
const double & operator[](size_t n) const
double vals[nRows *nCols]
RKMatrix< nRows, nCols > & operator=(const RKMatrix< nRows, nCols > &o)
Defines for I/O streams used for error and debug printing.
double & operator[](size_t n)
const double * begin() const
double & operator()(size_t iRow, size_t iCol)
const double * end() const