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()
Int_tTMatrixTDiag_const<double>::GetInc() const
const TMatrixTBase<double>*TMatrixTDiag_const<double>::GetMatrix() const
Int_tTMatrixTDiag_const<double>::GetNdiags() const
double*GetPtr() const
virtual TClass*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)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

protected:
Int_tTMatrixTDiag_const<double>::fIncif ptr=@a[i,i], then ptr+inc = @a[i+1,i+1]
const 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()
{ 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)

Last change: root/matrix:$Id: TMatrixTUtils.h 20882 2007-11-19 11:31:26Z rdm $
Last generated: 2008-06-25 08:49
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.