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

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


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

TMatrixTSparseDiag_const<Double_t>, TMatrixDSparseDiag_const

Function Members (Methods)

TMatrixTSparseDiag_const<double>(const TMatrixTSparse<double>& matrix)
TMatrixTSparseDiag_const<double>(const TMatrixTSparseDiag_const<double>& trc)
static TClass*Class()
const double*GetDataPtr() const
const TMatrixTBase<double>*GetMatrix() const
Int_tGetNdiags() const
virtual TClass*IsA() const
doubleoperator()(Int_t i) const
TMatrixTSparseDiag_const<double>&operator=(const TMatrixTSparseDiag_const<double>& trc)
doubleoperator[](Int_t i) const
virtual voidShowMembers(TMemberInspector& insp)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

const double*fDataPtrdata pointer
TMatrixTBase<double>*fMatrixthe matrix I am the diagonal of
Int_tfNdiagnumber of diag elems, min(nrows,ncols)

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TElementActionT& operator=(const TMatrixTSparseDiag_const<double>& trc)
{return *this;}
const TMatrixTBase<Element> * GetMatrix() const
{ return fMatrix; }
const Element & operator()(Int_t i) const
const Element & operator[](Int_t i) const
{ return (*(const TMatrixTRow<Element> *)this)(i); }
Int_t GetNdiags() const
{ return fNdiag; }
const Element * GetDataPtr() const
{ return fDataPtr; }