class TMatrixTDiag_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
This class is also known as (typedefs to this class)
TMatrixTDiag_const<
Double_t>,
TMatrixDDiag_const
Function Members (Methods)
Data Members
protected:
Int_t | fInc | if ptr=@a[i,i], then ptr+inc = @a[i+1,i+1] |
TMatrixTBase<double>* | fMatrix | the matrix I am the diagonal of |
Int_t | fNdiag | number of diag elems, min(nrows,ncols) |
const double* | fPtr | pointer to the a[0,0] |
Class Charts
Function documentation
TElementActionT& operator=(const TMatrixTDiag_const<double>& trc)
{return *this;}
const TMatrixTBase<Element> * GetMatrix() const
const Element * GetPtr() const
const Element & operator[](Int_t i) const
{ return (*(const TMatrixTRow<Element> *)this)(i); }