ROOT » MATH » MATRIX » TMatrixTSparseRow<double>

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


Function Members (Methods)

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

Data Members

protected:
const Int_t*TMatrixTSparseRow_const<double>::fColPtrcolumn index pointer
const double*TMatrixTSparseRow_const<double>::fDataPtrdata pointer
TMatrixTSparse<double>*TMatrixTSparseRow_const<double>::fMatrixthe matrix I am a row of
Int_tTMatrixTSparseRow_const<double>::fNindexindex range
Int_tTMatrixTSparseRow_const<double>::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; }