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

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

TElementActionT
TElementPosActionT


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

TMatrixTSparseDiag<Float_t>, TMatrixFSparseDiag

Function Members (Methods)

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

Data Members

protected:
const float*TMatrixTSparseDiag_const<float>::fDataPtrdata pointer
TMatrixTBase<float>*TMatrixTSparseDiag_const<float>::fMatrixthe matrix I am the diagonal of
Int_tTMatrixTSparseDiag_const<float>::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) const
Element & operator()(Int_t i)
const Element & operator[](Int_t i) const
{ 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; }