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

class TMatrixTDiag<double>: public TMatrixTDiag_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)

TMatrixTDiag<Double_t>, TMatrixDDiag

Function Members (Methods)

public:
TMatrixTDiag<double>()
TMatrixTDiag<double>(TMatrixT<double>& matrix)
TMatrixTDiag<double>(TMatrixTSym<double>& matrix)
TMatrixTDiag<double>(const TMatrixTDiag<double>& md)
~TMatrixTDiag<double>()
static TClass*Class()
static TClass*TMatrixTDiag_const<double>::Class()
Int_tTMatrixTDiag_const<double>::GetInc() const
const TMatrixTBase<double>*TMatrixTDiag_const<double>::GetMatrix() const
Int_tTMatrixTDiag_const<double>::GetNdiags() const
double*GetPtr() const
const double*TMatrixTDiag_const<double>::GetPtr() const
virtual TClass*IsA() const
virtual TClass*TMatrixTDiag_const<double>::IsA() const
const double&operator()(Int_t i) const
double&operator()(Int_t i)
voidoperator*=(double val)
voidoperator*=(const TMatrixTDiag_const<double>& d)
voidoperator+=(double val)
voidoperator+=(const TMatrixTDiag_const<double>& d)
voidoperator=(double val)
voidoperator=(const TMatrixTDiag_const<double>& d)
TMatrixTDiag<double>&operator=(const TMatrixTDiag<double>& d)
voidoperator=(const TVectorT<double>& vec)
const double&operator[](Int_t i) const
double&operator[](Int_t i)
const double&TMatrixTDiag_const<double>::operator[](Int_t i) const
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidTMatrixTDiag_const<double>::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
virtual voidTMatrixTDiag_const<double>::Streamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
voidTMatrixTDiag_const<double>::StreamerNVirtual(TBuffer& b)

Data Members

protected:
Int_tTMatrixTDiag_const<double>::fIncif ptr=@a[i,i], then ptr+inc = @a[i+1,i+1]
TMatrixTBase<double>*TMatrixTDiag_const<double>::fMatrixthe matrix I am the diagonal of
Int_tTMatrixTDiag_const<double>::fNdiagnumber of diag elems, min(nrows,ncols)
const double*TMatrixTDiag_const<double>::fPtrpointer to the a[0,0]

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 * GetPtr() const
{ return fPtr; }
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)