ROOT » MATH » MATRIX » TMatrixTColumn<float>

class TMatrixTColumn<float>: public TMatrixTColumn_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~TMatrixTColumn<float>()
static TClass*Class()
Int_tTMatrixTColumn_const<float>::GetColIndex() const
Int_tTMatrixTColumn_const<float>::GetInc() const
const TMatrixTBase<float>*TMatrixTColumn_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 TMatrixTColumn_const<float>& c)
voidoperator+=(float val)
voidoperator+=(const TMatrixTColumn_const<float>& c)
voidoperator=(float val)
voidoperator=(const TMatrixTColumn_const<float>& c)
TMatrixTColumn<float>&operator=(const TMatrixTColumn<float>& c)
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)
TMatrixTColumn<float>()
TMatrixTColumn<float>(const TMatrixTColumn<float>& mc)
TMatrixTColumn<float>(TMatrixT<float>& matrix, Int_t col)
TMatrixTColumn<float>(TMatrixTSym<float>& matrix, Int_t col)

Data Members

protected:
Int_tTMatrixTColumn_const<float>::fColIndeffective column index
Int_tTMatrixTColumn_const<float>::fIncif ptr = @a[i,col], then ptr+inc = @a[i+1,col]
TMatrixTBase<float>*TMatrixTColumn_const<float>::fMatrixthe matrix I am a column of
const float*TMatrixTColumn_const<float>::fPtrpointer to the a[0,col] column

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void TMatrixTColumn<Element> operator=(Element val)
 Assign val to every element of the matrix column.
void TMatrixTColumn<Element> operator+=(Element val)
 Add val to every element of the matrix column.
void TMatrixTColumn<Element> operator*=(Element val)
 Multiply every element of the matrix column with val.
void TMatrixTColumn<Element> operator=(const TMatrixTColumn_const<Element> &mc)
 Assignment operator
void TMatrixTColumn<Element> operator=(const TVectorT<Element> &vec)
 Assign a vector to a matrix column.
void TMatrixTColumn<Element> operator+=(const TMatrixTColumn_const<Element> &mc)
 Add to every element of the matrix row the corresponding element of row mc.
void TMatrixTColumn<Element> operator*=(const TMatrixTColumn_const<Element> &mc)
 Multiply every element of the matrix column with the
 corresponding element of column mc.
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); }