ROOT » MATH » SMATRIX » ROOT::Math::MatRepStd<Double32_t,3,3>

class ROOT::Math::MatRepStd<Double32_t,3,3>

      Standard Matrix representation for a general D1 x D2 matrix.
      This class is itself a template on the contained type T, the number of rows and the number of columns.
      Its data member is an array T[nrows*ncols] containing the matrix data.
      The data are stored in the row-major C convention.
      For example, for a matrix, M, of size 3x3, the data \f$ \left[a_0,a_1,a_2,.......,a_7,a_8 \right] \f$d are stored in the following order:
      M = \left( \begin{array}{ccc}
      a_0 & a_1 & a_2  \\
      a_3 & a_4  & a_5  \\
      a_6 & a_7  & a_8   \end{array} \right)

      @ingroup MatRep

Function Members (Methods)

doubleapply(unsigned int i) const
const double*Array() const
ROOT::Math::MatRepStd<double,3,3>MatRepStd<double,3,3>(const ROOT::Math::MatRepStd<double,3,3>&)
const double&operator()(unsigned int i, unsigned int j) const
double&operator()(unsigned int i, unsigned int j)
ROOT::Math::MatRepStd<double,3,3>&operator=(const ROOT::Math::MatRepStd<double,3,3>&)
ROOT::Math::MatRepStd<double,3U,3U>&operator=<ROOT::Math::MatRepStd<double, 3, 3> >(const ROOT::Math::MatRepStd<double,3,3>& rhs)
double&operator[](unsigned int i)
const double&operator[](unsigned int i) const

Data Members

static ROOT::Math::MatRepStd<double,3,3>::(anonymous)kCols
static ROOT::Math::MatRepStd<double,3,3>::(anonymous)kRows
static ROOT::Math::MatRepStd<double,3,3>::(anonymous)kSize

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

const T& operator()(unsigned int i, unsigned int j) const
T& operator()(unsigned int i, unsigned int j)
T& operator[](unsigned int i)
{ return fArray[i]; }
const T& operator[](unsigned int i) const
{ return fArray[i]; }
T apply(unsigned int i) const
{ return fArray[i]; }
T* Array()
{ return fArray; }
const T* Array() const
{ return fArray; }
MatRepStd<T, D1, D2>& operator=(const R& rhs)
MatRepSym<T, D>& operator=(const R&)
         assignment : only symmetric to symmetric allowed