ROOT » MATH » MATRIX » TMatrixTFlat<float>

class TMatrixTFlat<float>: public TMatrixTFlat_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)

TMatrixFFlat, TMatrixFFlat

Function Members (Methods)

public:
virtual~TMatrixTFlat<float>()
static TClass*Class()
const TMatrixTBase<float>*TMatrixTFlat_const<float>::GetMatrix() const
float*GetPtr() const
virtual TClass*IsA() const
const float&operator()(Int_t i) const
float&operator()(Int_t i)
voidoperator*=(float val)
voidoperator*=(const TMatrixTFlat_const<float>& f)
voidoperator+=(float val)
voidoperator+=(const TMatrixTFlat_const<float>& f)
voidoperator=(float val)
voidoperator=(const TMatrixTFlat_const<float>& f)
TMatrixTFlat<float>&operator=(const TMatrixTFlat<float>& f)
voidoperator=(const TVectorT<float>& vec)
const float&operator[](Int_t i) const
float&operator[](Int_t i)
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
TMatrixTFlat<float>()
TMatrixTFlat<float>(TMatrixT<float>& matrix)
TMatrixTFlat<float>(TMatrixTSym<float>& matrix)
TMatrixTFlat<float>(const TMatrixTFlat<float>& mf)

Data Members

protected:
TMatrixTBase<float>*TMatrixTFlat_const<float>::fMatrixthe matrix I am the diagonal of
Int_tTMatrixTFlat_const<float>::fNelems
float*TMatrixTFlat_const<float>::fPtrpointer to the a[0,0]

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void TMatrixTFlat<Element> operator=(Element val)
 Assign val to every element of the matrix.
void TMatrixTFlat<Element> operator+=(Element val)
 Add val to every element of the matrix.
void TMatrixTFlat<Element> operator*=(Element val)
 Multiply every element of the matrix with val.
void TMatrixTFlat<Element> operator=(const TMatrixTFlat_const<Element> &mf)
 Assignment operator
void TMatrixTFlat<Element> operator=(const TVectorT<Element> &vec)
 Assign a vector to the matrix. The matrix is traversed row-wise
void TMatrixTFlat<Element> operator+=(const TMatrixTFlat_const<Element> &mf)
 Add to every element of the matrix the corresponding element of matrix mf.
void TMatrixTFlat<Element> operator*=(const TMatrixTFlat_const<Element> &mf)
 Multiply every element of the matrix with the corresponding element of diagonal mf.
TElementActionT& operator=(const TElementActionT<Element> &)
{return *this;}
const Element * GetPtr() const
{ return fPtr; }
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); }