ROOT » MATH » MATRIX » TMatrixTRow<double>

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


Function Members (Methods)

static TClass*Class()
Int_tTMatrixTRow_const<double>::GetInc() const
const TMatrixTBase<double>*TMatrixTRow_const<double>::GetMatrix() const
double*GetPtr() const
Int_tTMatrixTRow_const<double>::GetRowIndex() const
virtual TClass*IsA() const
const double&operator()(Int_t i) const
double&operator()(Int_t i)
voidoperator*=(double val)
voidoperator*=(const TMatrixTRow_const<double>& r)
voidoperator+=(double val)
voidoperator+=(const TMatrixTRow_const<double>& r)
voidoperator=(double val)
voidoperator=(const TMatrixTRow_const<double>& r)
TMatrixTRow<double>&operator=(const TMatrixTRow<double>& r)
voidoperator=(const TVectorT<double>& vec)
const double&operator[](Int_t i) const
double&operator[](Int_t i)
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
TMatrixTRow<double>(const TMatrixTRow<double>& mr)
TMatrixTRow<double>(TMatrixT<double>& matrix, Int_t row)
TMatrixTRow<double>(TMatrixTSym<double>& matrix, Int_t row)

Data Members

Int_tTMatrixTRow_const<double>::fIncif ptr = @a[row,i], then ptr+inc = @a[row,i+1]
TMatrixTBase<double>*TMatrixTRow_const<double>::fMatrixthe matrix I am a row of
const double*TMatrixTRow_const<double>::fPtrpointer to the a[row,0]
Int_tTMatrixTRow_const<double>::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); }