ROOT logo
ROOT » MATH » MATRIX » TMatrixTFlat_const<double>

class TMatrixTFlat_const<double>


Matrix utility classes.

Templates of utility classes in the Linear Algebra Package.
The following classes are defined here:

Different matrix views without copying data elements :
TMatrixTRow_const        TMatrixTRow
TMatrixTColumn_const     TMatrixTColumn
TMatrixTDiag_const       TMatrixTDiag
TMatrixTFlat_const       TMatrixTFlat
TMatrixTSub_const        TMatrixTSub
TMatrixTSparseRow_const  TMatrixTSparseRow
TMatrixTSparseDiag_const TMatrixTSparseDiag

TElementActionT
TElementPosActionT


This class is also known as (typedefs to this class)

TMatrixDFlat_const, TMatrixTFlat_const<Double_t>

Function Members (Methods)

public:
TMatrixTFlat_const<double>()
TMatrixTFlat_const<double>(const TMatrixT<double>& matrix)
TMatrixTFlat_const<double>(const TMatrixTSym<double>& matrix)
TMatrixTFlat_const<double>(const TMatrixTFlat_const<double>& trc)
virtual~TMatrixTFlat_const<double>()
static TClass*Class()
const TMatrixTBase<double>*GetMatrix() const
const double*GetPtr() const
virtual TClass*IsA() const
const double&operator()(Int_t i) const
TMatrixTFlat_const<double>&operator=(const TMatrixTFlat_const<double>& trc)
const double&operator[](Int_t i) const
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)

Data Members

protected:
TMatrixTBase<double>*fMatrixthe matrix I am the diagonal of
Int_tfNelems
const double*fPtrpointer to the a[0,0]

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TElementActionT& operator=(const TMatrixTFlat_const<double>& trc)
{return *this;}
const TMatrixTBase<Element> * GetMatrix() const
{ return fMatrix; }
const Element * GetPtr() const
{ return fPtr; }
const Element & operator()(Int_t i) const
const Element & operator[](Int_t i) const
{ return (*(const TMatrixTRow<Element> *)this)(i); }