ROOT » MATH » MATRIX » TMatrixTRow<float>

class TMatrixTRow<float>: public TMatrixTRow_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


Function Members (Methods)

public:
virtual~TMatrixTRow<float>()
static TClass*Class()
Int_tTMatrixTRow_const<float>::GetInc() const
const TMatrixTBase<float>*TMatrixTRow_const<float>::GetMatrix() const
float*GetPtr() const
Int_tTMatrixTRow_const<float>::GetRowIndex() const
virtual TClass*IsA() const
const float&operator()(Int_t i) const
float&operator()(Int_t i)
voidoperator*=(float val)
voidoperator*=(const TMatrixTRow_const<float>& r)
voidoperator+=(float val)
voidoperator+=(const TMatrixTRow_const<float>& r)
voidoperator=(float val)
voidoperator=(const TMatrixTRow_const<float>& r)
TMatrixTRow<float>&operator=(const TMatrixTRow<float>& r)
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)
TMatrixTRow<float>()
TMatrixTRow<float>(const TMatrixTRow<float>& mr)
TMatrixTRow<float>(TMatrixT<float>& matrix, Int_t row)
TMatrixTRow<float>(TMatrixTSym<float>& matrix, Int_t row)

Data Members

protected:
Int_tTMatrixTRow_const<float>::fIncif ptr = @a[row,i], then ptr+inc = @a[row,i+1]
TMatrixTBase<float>*TMatrixTRow_const<float>::fMatrixthe matrix I am a row of
const float*TMatrixTRow_const<float>::fPtrpointer to the a[row,0]
Int_tTMatrixTRow_const<float>::fRowIndeffective row index

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void TMatrixTRow<Element> operator=(Element val)
 Assign val to every element of the matrix row.
void TMatrixTRow<Element> operator+=(Element val)
 Add val to every element of the matrix row.
void TMatrixTRow<Element> operator*=(Element val)
 Multiply every element of the matrix row with val.
void TMatrixTRow<Element> operator=(const TMatrixTRow_const<Element> &mr)
 Assignment operator
void TMatrixTRow<Element> operator=(const TVectorT<Element> &vec)
 Assign a vector to a matrix row. The vector is considered row-vector
 to allow the assignment in the strict sense.
void TMatrixTRow<Element> operator+=(const TMatrixTRow_const<Element> &r)
 Add to every element of the matrix row the corresponding element of row r.
void TMatrixTRow<Element> operator*=(const TMatrixTRow_const<Element> &r)
 Multiply every element of the matrix row with the
 corresponding element of row r.
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); }