ROOT » MATH » MATRIX » TMatrixTSparseRow<float>

class TMatrixTSparseRow<float>: public 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

TElementActionT
TElementPosActionT


Function Members (Methods)

public:
virtual~TMatrixTSparseRow<float>()
static TClass*Class()
const Int_t*TMatrixTSparseRow_const<float>::GetColPtr() const
float*GetDataPtr() const
const TMatrixTBase<float>*TMatrixTSparseRow_const<float>::GetMatrix() const
Int_tTMatrixTSparseRow_const<float>::GetNindex() const
Int_tTMatrixTSparseRow_const<float>::GetRowIndex() const
virtual TClass*IsA() const
floatoperator()(Int_t i) const
float&operator()(Int_t i)
voidoperator*=(float val)
voidoperator*=(const TMatrixTSparseRow_const<float>& r)
voidoperator+=(float val)
voidoperator+=(const TMatrixTSparseRow_const<float>& r)
voidoperator=(float val)
voidoperator=(const TMatrixTSparseRow_const<float>& r)
TMatrixTSparseRow<float>&operator=(const TMatrixTSparseRow<float>& r)
voidoperator=(const TVectorT<float>& vec)
floatoperator[](Int_t i) const
float&operator[](Int_t i)
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
TMatrixTSparseRow<float>()
TMatrixTSparseRow<float>(const TMatrixTSparseRow<float>& mr)
TMatrixTSparseRow<float>(TMatrixTSparse<float>& matrix, Int_t row)

Data Members

protected:
const Int_t*TMatrixTSparseRow_const<float>::fColPtrcolumn index pointer
const float*TMatrixTSparseRow_const<float>::fDataPtrdata pointer
TMatrixTSparse<float>*TMatrixTSparseRow_const<float>::fMatrixthe matrix I am a row of
Int_tTMatrixTSparseRow_const<float>::fNindexindex range
Int_tTMatrixTSparseRow_const<float>::fRowIndeffective row index

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

Element TMatrixTSparseRow<Element> operator()(Int_t i) const
Element &TMatrixTSparseRow<Element> operator()(Int_t i)
 operator() : pick element row(i)
void TMatrixTSparseRow<Element> operator=(Element val)
 Assign val to every non-zero (!) element of the matrix row.
void TMatrixTSparseRow<Element> operator+=(Element val)
 Add val to every non-zero (!) element of the matrix row.
void TMatrixTSparseRow<Element> operator*=(Element val)
 Multiply every element of the matrix row by val.
void TMatrixTSparseRow<Element> operator=(const TMatrixTSparseRow_const<Element> &mr)
 Assignment operator
void TMatrixTSparseRow<Element> operator=(const TVectorT<Element> &vec)
 Assign a vector to a matrix row. The vector is considered row-vector
 to allow the assignment in the strict sense.
void TMatrixTSparseRow<Element> operator+=(const TMatrixTSparseRow_const<Element> &r)
 Add to every element of the matrix row the corresponding element of row r.
void TMatrixTSparseRow<Element> operator*=(const TMatrixTSparseRow_const<Element> &r)
 Multiply every element of the matrix row with the
 corresponding element of row r.
TElementActionT& operator=(const TElementActionT<Element> &)
{return *this;}
const Element & operator[](Int_t i) const
{ return (*(const TMatrixTRow<Element> *)this)(i); }
Element & operator[](Int_t i)
{ return (*( TMatrixTRow<Element> *)this)(i); }
const Element * GetDataPtr() const
{ return fDataPtr; }