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

TElementActionT
TElementPosActionT


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

TMatrixDSparseDiag_const, TMatrixTSparseDiag_const<Double_t>

Function Members (Methods)

public:
TMatrixTSparseDiag_const<double>()
TMatrixTSparseDiag_const<double>(const TMatrixTSparse<double>& matrix)
TMatrixTSparseDiag_const<double>(const TMatrixTSparseDiag_const<double>& trc)
virtual~TMatrixTSparseDiag_const<double>()
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, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

protected:
const double*fDataPtrdata pointer
const 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()
{ 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()
{ return fNdiag; }
const Element * GetDataPtr()
{ return fDataPtr; }

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.