class TMatrixTDiag_const<float>


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

ElementAction
ElementPosAction


Function Members (Methods)

public:
TMatrixTDiag_const<float>()
TMatrixTDiag_const<float>(const TMatrixT<float>& matrix)
TMatrixTDiag_const<float>(const TMatrixTSym<float>& matrix)
TMatrixTDiag_const<float>(const TMatrixTDiag_const<float>& trc)
virtual~TMatrixTDiag_const<float>()
static TClass*Class()
Int_tGetInc() const
const TMatrixTBase<float>*GetMatrix() const
Int_tGetNdiags() const
const float*GetPtr() const
virtual TClass*IsA() const
const float&operator()(Int_t i) const
TMatrixTDiag_const<float>&operator=(const TMatrixTDiag_const<float>& trc)
const float&operator[](Int_t i) const
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

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

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TElementActionT& operator=(const TMatrixTDiag_const<float>& trc)
{return *this;}
const TMatrixTBase<Element> * GetMatrix()
{ return fMatrix; }
Int_t GetInc()
{ return fInc; }
const Element * GetPtr()
{ return fPtr; }
const Element & operator()(Int_t i) const
const Element & operator[](Int_t i) const
{ return (*(const TMatrixTRow<Element> *)this)(i); }
Int_t GetNdiags()
{ return fNdiag; }

Last update: root/matrix:$Id: TMatrixTUtils.h 20882 2007-11-19 11:31:26Z rdm $
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.