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

class TMatrixTSparseRow_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


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

TMatrixFSparseRow_const, TMatrixTSparseRow_const<Float_t>

Function Members (Methods)

TMatrixTSparseRow_const<float>(const TMatrixTSparseRow_const<float>& trc)
TMatrixTSparseRow_const<float>(const TMatrixTSparse<float>& matrix, Int_t row)
static TClass*Class()
const Int_t*GetColPtr() const
const float*GetDataPtr() const
const TMatrixTBase<float>*GetMatrix() const
Int_tGetNindex() const
Int_tGetRowIndex() const
virtual TClass*IsA() const
floatoperator()(Int_t i) const
TMatrixTSparseRow_const<float>&operator=(const TMatrixTSparseRow_const<float>& trc)
floatoperator[](Int_t i) const
virtual voidShowMembers(TMemberInspector& insp)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

const Int_t*fColPtrcolumn index pointer
const float*fDataPtrdata pointer
TMatrixTBase<float>*fMatrixthe matrix I am a row of
Int_tfNindexindex range
Int_tfRowIndeffective row index

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TElementActionT& operator=(const TMatrixTSparseRow_const<float>& trc)
{return *this;}
const TMatrixTBase<Element> * GetMatrix() const
{ return fMatrix; }
Int_t GetRowIndex() const
{ return fRowInd; }
const Element & operator()(Int_t i) const
const Element & operator[](Int_t i) const
{ return (*(const TMatrixTRow<Element> *)this)(i); }
const Element * GetDataPtr() const
{ return fDataPtr; }
const Int_t * GetColPtr() const
{ return fColPtr; }
Int_t GetNindex() const
{ return fNindex; }