ROOT » MATH » MATRIX » TMatrixTColumn<double>

class TMatrixTColumn<double>: public TMatrixTColumn_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

TElementActionT
TElementPosActionT


Function Members (Methods)

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

Data Members

protected:
Int_tTMatrixTColumn_const<double>::fColIndeffective column index
Int_tTMatrixTColumn_const<double>::fIncif ptr = @a[i,col], then ptr+inc = @a[i+1,col]
TMatrixTBase<double>*TMatrixTColumn_const<double>::fMatrixthe matrix I am a column of
const double*TMatrixTColumn_const<double>::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); }