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

class 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


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

TMatrixFColumn_const, TMatrixTColumn_const<Float_t>

Function Members (Methods)

public:
TMatrixTColumn_const<float>()
TMatrixTColumn_const<float>(const TMatrixTColumn_const<float>& trc)
TMatrixTColumn_const<float>(const TMatrixT<float>& matrix, Int_t col)
TMatrixTColumn_const<float>(const TMatrixTSym<float>& matrix, Int_t col)
virtual~TMatrixTColumn_const<float>()
static TClass*Class()
Int_tGetColIndex() const
Int_tGetInc() const
const TMatrixTBase<float>*GetMatrix() const
const float*GetPtr() const
virtual TClass*IsA() const
const float&operator()(Int_t i) const
TMatrixTColumn_const<float>&operator=(const TMatrixTColumn_const<float>& trc)
const float&operator[](Int_t i) const
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)

Data Members

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

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TElementActionT& operator=(const TMatrixTColumn_const<float>& trc)
{return *this;}
const TMatrixTBase<Element> * GetMatrix() const
{ return fMatrix; }
Int_t GetInc() const
{ return fInc; }
const Element * GetPtr() const
{ return fPtr; }
const Element & operator()(Int_t i) const
const Element & operator[](Int_t i) const
{ return (*(const TMatrixTRow<Element> *)this)(i); }
Int_t GetColIndex() const
{ return fColInd; }