class ROOT::Math::MatRepSym<float,2>


      MatRepStd
      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:
      \f[
      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)
      \f]

      @ingroup MatRep

Function Members (Methods)

public:
~MatRepSym<float,2>()
floatapply(unsigned int i) const
float*Array()
const float*Array() const
voidCreateOffsets()
ROOT::Math::MatRepSym<float,2>MatRepSym<float,2>()
ROOT::Math::MatRepSym<float,2>MatRepSym<float,2>(const ROOT::Math::MatRepSym<float,2>&)
const ROOT::Math::RowOffsets<2>&Offsets() const
const float&operator()(unsigned int i, unsigned int j) const
float&operator()(unsigned int i, unsigned int j)
ROOT::Math::MatRepSym<float,2>&operator+=(const ROOT::Math::MatRepSym<float,2>& rhs)
ROOT::Math::MatRepSym<float,2>&operator-=(const ROOT::Math::MatRepSym<float,2>& rhs)
ROOT::Math::MatRepSym<float,2>&operator=(const ROOT::Math::MatRepSym<float,2>& rhs)
float&operator[](unsigned int i)
const float&operator[](unsigned int i) const

Data Members

public:
enum { kRows
kCols
kSize
};
private:
floatfArray[3]
ROOT::Math::RowOffsets<2>*fOff! transient

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

const T& operator()(unsigned int i, unsigned int j)
T& operator()(unsigned int i, unsigned int j)
T& operator[](unsigned int i)
{ return fArray[i]; }
const T& operator[](unsigned int i)
{ return fArray[i]; }
T apply(unsigned int i) const
{ return fArray[i]; }
T* Array()
{ return fArray; }
const T* Array()
{ return fArray; }
MatRepStd<T, D1, D2>& operator+=(const ROOT::Math::MatRepSym<float,2>& rhs)
MatRepStd<T, D1, D2>& operator-=(const ROOT::Math::MatRepSym<float,2>& rhs)
MatRepStd<T, D1, D2>& operator=(const ROOT::Math::MatRepSym<float,2>& rhs)
return fArray[ Offsets()
void CreateOffsets()

Author: L. Moneta, J. Palacios 2006
Last change: root/smatrix:$Id: MatrixRepresentationsStatic.h 21553 2007-12-21 10:55:46Z moneta $
Last generated: 2008-06-25 08:29

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.