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

class TMatrixTFlat_const<float>


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)

TMatrixFFlat_const, TMatrixTFlat_const<Float_t>

Function Members (Methods)

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

Data Members

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

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TElementActionT& operator=(const TMatrixTFlat_const<float>& 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); }