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

class TMatrixTRow_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)

TMatrixTRow_const<Float_t>, TMatrixFRow_const

Function Members (Methods)

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

Data Members

protected:
Int_tfIncif ptr = @a[row,i], then ptr+inc = @a[row,i+1]
TMatrixTBase<float>*fMatrixthe matrix I am a row of
const float*fPtrpointer to the a[row,0]
Int_tfRowIndeffective row index

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TElementActionT& operator=(const TMatrixTRow_const<float>& trc)
{return *this;}
const TMatrixTBase<Element> * GetMatrix() const
{ return fMatrix; }
Int_t GetRowIndex() const
{ return fRowInd; }
Int_t GetInc() const
{ return fInc; }
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); }