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

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

TElementActionT
TElementPosActionT


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

TMatrixDSparseDiag, TMatrixTSparseDiag<Double_t>

Function Members (Methods)

public:
TMatrixTSparseDiag<double>()
TMatrixTSparseDiag<double>(TMatrixTSparse<double>& matrix)
TMatrixTSparseDiag<double>(const TMatrixTSparseDiag<double>& md)
~TMatrixTSparseDiag<double>()
static TClass*Class()
double*GetDataPtr() const
const TMatrixTBase<double>*TMatrixTSparseDiag_const<double>::GetMatrix() const
Int_tTMatrixTSparseDiag_const<double>::GetNdiags() const
virtual TClass*IsA() const
doubleoperator()(Int_t i) const
double&operator()(Int_t i)
voidoperator*=(double val)
voidoperator*=(const TMatrixTSparseDiag_const<double>& d)
voidoperator+=(double val)
voidoperator+=(const TMatrixTSparseDiag_const<double>& d)
voidoperator=(double val)
voidoperator=(const TMatrixTSparseDiag_const<double>& d)
TMatrixTSparseDiag<double>&operator=(const TMatrixTSparseDiag<double>& d)
voidoperator=(const TVectorT<double>& vec)
doubleoperator[](Int_t i) const
double&operator[](Int_t i)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

protected:
const double*TMatrixTSparseDiag_const<double>::fDataPtrdata pointer
TMatrixTBase<double>*TMatrixTSparseDiag_const<double>::fMatrixthe matrix I am the diagonal of
Int_tTMatrixTSparseDiag_const<double>::fNdiagnumber of diag elems, min(nrows,ncols)

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TElementActionT& operator=(const TElementActionT<Element> &)
{return *this;}
TElementPosActionT<Element>& operator=(const TElementPosActionT<Element> &)
{return *this;}
TMatrixTRow_const<Element>& operator=(const TMatrixTRow_const<Element>& trc)
const Element & operator()(Int_t i)
Element & operator()(Int_t i)
const Element & operator[](Int_t i)
{ return (*(const TMatrixTRow<Element> *)this)(i); }
Element & operator[](Int_t i)
{ return (*( TMatrixTRow<Element> *)this)(i); }
void operator=(Element val)
void operator+=(Element val)
void operator*=(Element val)
void operator+=(const TMatrixTRow_const<Element> &r)
void operator*=(const TMatrixTRow_const<Element> &r)
const Element * GetDataPtr() const
{ return fDataPtr; }