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

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

TMatrixTSparseRow_const<Double_t>, TMatrixDSparseRow_const

Function Members (Methods)

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

Data Members

protected:
const Int_t*fColPtrcolumn index pointer
const double*fDataPtrdata pointer
TMatrixTBase<double>*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<double>& 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; }