TMatrixTSparse< Element > Class Template Reference

#include <TMatrixTSparse.h>

Inheritance diagram for TMatrixTSparse< Element >:

TMatrixTBase< Element > TMatrixTBase< Element > TObject TObject TObject TObject List of all members.

Public Types

enum  EMatrixCreatorsOp1
enum  EMatrixCreatorsOp2
enum  EMatrixCreatorsOp1
enum  EMatrixCreatorsOp2

Public Member Functions

 TMatrixTSparse ()
 TMatrixTSparse (Int_t nrows, Int_t ncols)
 TMatrixTSparse (Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb)
 TMatrixTSparse (Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, Int_t nr_nonzeros, Int_t *row, Int_t *col, Element *data)
 TMatrixTSparse (const TMatrixTSparse< Element > &another)
 TMatrixTSparse (const TMatrixT< Element > &another)
 TMatrixTSparse (EMatrixCreatorsOp1 op, const TMatrixTSparse< Element > &prototype)
 TMatrixTSparse (const TMatrixTSparse< Element > &a, EMatrixCreatorsOp2 op, const TMatrixTSparse< Element > &b)
 TMatrixTSparse (const TMatrixTSparse< Element > &a, EMatrixCreatorsOp2 op, const TMatrixT< Element > &b)
 TMatrixTSparse (const TMatrixT< Element > &a, EMatrixCreatorsOp2 op, const TMatrixTSparse< Element > &b)
virtual ~TMatrixTSparse ()
virtual const Element * GetMatrixArray () const
virtual Element * GetMatrixArray ()
virtual const Int_tGetRowIndexArray () const
virtual Int_tGetRowIndexArray ()
virtual const Int_tGetColIndexArray () const
virtual Int_tGetColIndexArray ()
virtual TMatrixTBase< Element > & SetRowIndexArray (Int_t *data)
virtual TMatrixTBase< Element > & SetColIndexArray (Int_t *data)
TMatrixTSparse< Element > & SetSparseIndex (Int_t nelem_new)
TMatrixTSparse< Element > & SetSparseIndex (const TMatrixTBase< Element > &another)
TMatrixTSparse< Element > & SetSparseIndexAB (const TMatrixTSparse< Element > &a, const TMatrixTSparse< Element > &b)
TMatrixTSparse< Element > & SetSparseIndexAB (const TMatrixT< Element > &a, const TMatrixTSparse< Element > &b)
TMatrixTSparse< Element > & SetSparseIndexAB (const TMatrixTSparse< Element > &a, const TMatrixT< Element > &b)
virtual void GetMatrix2Array (Element *data, Option_t *="") const
virtual TMatrixTBase< Element > & SetMatrixArray (const Element *data, Option_t *="")
virtual TMatrixTBase< Element > & SetMatrixArray (Int_t nr_nonzeros, Int_t *irow, Int_t *icol, Element *data)
virtual TMatrixTBase< Element > & InsertRow (Int_t row, Int_t col, const Element *v, Int_t n=-1)
virtual void ExtractRow (Int_t row, Int_t col, Element *v, Int_t n=-1) const
virtual TMatrixTBase< Element > & ResizeTo (Int_t nrows, Int_t ncols, Int_t nr_nonzeros=-1)
virtual TMatrixTBase< Element > & ResizeTo (Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, Int_t nr_nonzeros=-1)
TMatrixTBase< Element > & ResizeTo (const TMatrixTSparse< Element > &m)
virtual void Clear (Option_t *="")
TMatrixTSparse< Element > & Use (Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, Int_t nr_nonzeros, Int_t *pRowIndex, Int_t *pColIndex, Element *pData)
const TMatrixTSparse< Element > & Use (Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, Int_t nr_nonzeros, const Int_t *pRowIndex, const Int_t *pColIndex, const Element *pData) const
TMatrixTSparse< Element > & Use (Int_t nrows, Int_t ncols, Int_t nr_nonzeros, Int_t *pRowIndex, Int_t *pColIndex, Element *pData)
const TMatrixTSparse< Element > & Use (Int_t nrows, Int_t ncols, Int_t nr_nonzeros, const Int_t *pRowIndex, const Int_t *pColIndex, const Element *pData) const
TMatrixTSparse< Element > & Use (TMatrixTSparse< Element > &a)
const TMatrixTSparse< Element > & Use (const TMatrixTSparse< Element > &a) const
virtual TMatrixTBase< Element > & GetSub (Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, TMatrixTBase< Element > &target, Option_t *option="S") const
TMatrixTSparse< Element > GetSub (Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, Option_t *option="S") const
virtual TMatrixTBase< Element > & SetSub (Int_t row_lwb, Int_t col_lwb, const TMatrixTBase< Element > &source)
virtual Bool_t IsSymmetric () const
TMatrixTSparse< Element > & Transpose (const TMatrixTSparse< Element > &source)
TMatrixTSparse< Element > & T ()
void Mult (const TMatrixTSparse< Element > &a, const TMatrixTSparse< Element > &b)
virtual TMatrixTBase< Element > & Zero ()
virtual TMatrixTBase< Element > & UnitMatrix ()
virtual Element RowNorm () const
virtual Element ColNorm () const
virtual Int_t NonZeros () const
virtual TMatrixTBase< Element > & NormByDiag (const TVectorT< Element > &, Option_t *)
Element operator() (Int_t rown, Int_t coln) const
Element & operator() (Int_t rown, Int_t coln)
const TMatrixTSparseRow_const<
Element > 
operator[] (Int_t rown) const
TMatrixTSparseRow< Element > operator[] (Int_t rown)
TMatrixTSparse< Element > & operator= (const TMatrixT< Element > &source)
TMatrixTSparse< Element > & operator= (const TMatrixTSparse< Element > &source)
TMatrixTSparse< Element > & operator= (Element val)
TMatrixTSparse< Element > & operator-= (Element val)
TMatrixTSparse< Element > & operator+= (Element val)
TMatrixTSparse< Element > & operator *= (Element val)
TMatrixTSparse< Element > & operator+= (const TMatrixTSparse< Element > &source)
TMatrixTSparse< Element > & operator+= (const TMatrixT< Element > &source)
TMatrixTSparse< Element > & operator-= (const TMatrixTSparse< Element > &source)
TMatrixTSparse< Element > & operator-= (const TMatrixT< Element > &source)
TMatrixTSparse< Element > & operator *= (const TMatrixTSparse< Element > &source)
TMatrixTSparse< Element > & operator *= (const TMatrixT< Element > &source)
virtual TMatrixTBase< Element > & Randomize (Element alpha, Element beta, Double_t &seed)
virtual TMatrixTSparse< Element > & RandomizePD (Element alpha, Element beta, Double_t &seed)
 TMatrixTSparse ()
 TMatrixTSparse (Int_t nrows, Int_t ncols)
 TMatrixTSparse (Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb)
 TMatrixTSparse (Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, Int_t nr_nonzeros, Int_t *row, Int_t *col, Element *data)
 TMatrixTSparse (const TMatrixTSparse< Element > &another)
 TMatrixTSparse (const TMatrixT< Element > &another)
 TMatrixTSparse (EMatrixCreatorsOp1 op, const TMatrixTSparse< Element > &prototype)
 TMatrixTSparse (const TMatrixTSparse< Element > &a, EMatrixCreatorsOp2 op, const TMatrixTSparse< Element > &b)
 TMatrixTSparse (const TMatrixTSparse< Element > &a, EMatrixCreatorsOp2 op, const TMatrixT< Element > &b)
 TMatrixTSparse (const TMatrixT< Element > &a, EMatrixCreatorsOp2 op, const TMatrixTSparse< Element > &b)
virtual ~TMatrixTSparse ()
virtual const Element * GetMatrixArray () const
virtual Element * GetMatrixArray ()
virtual const Int_tGetRowIndexArray () const
virtual Int_tGetRowIndexArray ()
virtual const Int_tGetColIndexArray () const
virtual Int_tGetColIndexArray ()
virtual TMatrixTBase< Element > & SetRowIndexArray (Int_t *data)
virtual TMatrixTBase< Element > & SetColIndexArray (Int_t *data)
TMatrixTSparse< Element > & SetSparseIndex (Int_t nelem_new)
TMatrixTSparse< Element > & SetSparseIndex (const TMatrixTBase< Element > &another)
TMatrixTSparse< Element > & SetSparseIndexAB (const TMatrixTSparse< Element > &a, const TMatrixTSparse< Element > &b)
TMatrixTSparse< Element > & SetSparseIndexAB (const TMatrixT< Element > &a, const TMatrixTSparse< Element > &b)
TMatrixTSparse< Element > & SetSparseIndexAB (const TMatrixTSparse< Element > &a, const TMatrixT< Element > &b)
virtual void GetMatrix2Array (Element *data, Option_t *="") const
virtual TMatrixTBase< Element > & SetMatrixArray (const Element *data, Option_t *="")
virtual TMatrixTBase< Element > & SetMatrixArray (Int_t nr_nonzeros, Int_t *irow, Int_t *icol, Element *data)
virtual TMatrixTBase< Element > & InsertRow (Int_t row, Int_t col, const Element *v, Int_t n=-1)
virtual void ExtractRow (Int_t row, Int_t col, Element *v, Int_t n=-1) const
virtual TMatrixTBase< Element > & ResizeTo (Int_t nrows, Int_t ncols, Int_t nr_nonzeros=-1)
virtual TMatrixTBase< Element > & ResizeTo (Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, Int_t nr_nonzeros=-1)
TMatrixTBase< Element > & ResizeTo (const TMatrixTSparse< Element > &m)
virtual void Clear (Option_t *="")
TMatrixTSparse< Element > & Use (Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, Int_t nr_nonzeros, Int_t *pRowIndex, Int_t *pColIndex, Element *pData)
const TMatrixTSparse< Element > & Use (Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, Int_t nr_nonzeros, const Int_t *pRowIndex, const Int_t *pColIndex, const Element *pData) const
TMatrixTSparse< Element > & Use (Int_t nrows, Int_t ncols, Int_t nr_nonzeros, Int_t *pRowIndex, Int_t *pColIndex, Element *pData)
const TMatrixTSparse< Element > & Use (Int_t nrows, Int_t ncols, Int_t nr_nonzeros, const Int_t *pRowIndex, const Int_t *pColIndex, const Element *pData) const
TMatrixTSparse< Element > & Use (TMatrixTSparse< Element > &a)
const TMatrixTSparse< Element > & Use (const TMatrixTSparse< Element > &a) const
virtual TMatrixTBase< Element > & GetSub (Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, TMatrixTBase< Element > &target, Option_t *option="S") const
TMatrixTSparse< Element > GetSub (Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, Option_t *option="S") const
virtual TMatrixTBase< Element > & SetSub (Int_t row_lwb, Int_t col_lwb, const TMatrixTBase< Element > &source)
virtual Bool_t IsSymmetric () const
TMatrixTSparse< Element > & Transpose (const TMatrixTSparse< Element > &source)
TMatrixTSparse< Element > & T ()
void Mult (const TMatrixTSparse< Element > &a, const TMatrixTSparse< Element > &b)
virtual TMatrixTBase< Element > & Zero ()
virtual TMatrixTBase< Element > & UnitMatrix ()
virtual Element RowNorm () const
virtual Element ColNorm () const
virtual Int_t NonZeros () const
virtual TMatrixTBase< Element > & NormByDiag (const TVectorT< Element > &, Option_t *)
Element operator() (Int_t rown, Int_t coln) const
Element & operator() (Int_t rown, Int_t coln)
const TMatrixTSparseRow_const<
Element > 
operator[] (Int_t rown) const
TMatrixTSparseRow< Element > operator[] (Int_t rown)
TMatrixTSparse< Element > & operator= (const TMatrixT< Element > &source)
TMatrixTSparse< Element > & operator= (const TMatrixTSparse< Element > &source)
TMatrixTSparse< Element > & operator= (Element val)
TMatrixTSparse< Element > & operator-= (Element val)
TMatrixTSparse< Element > & operator+= (Element val)
TMatrixTSparse< Element > & operator *= (Element val)
TMatrixTSparse< Element > & operator+= (const TMatrixTSparse< Element > &source)
TMatrixTSparse< Element > & operator+= (const TMatrixT< Element > &source)
TMatrixTSparse< Element > & operator-= (const TMatrixTSparse< Element > &source)
TMatrixTSparse< Element > & operator-= (const TMatrixT< Element > &source)
TMatrixTSparse< Element > & operator *= (const TMatrixTSparse< Element > &source)
TMatrixTSparse< Element > & operator *= (const TMatrixT< Element > &source)
virtual TMatrixTBase< Element > & Randomize (Element alpha, Element beta, Double_t &seed)
virtual TMatrixTSparse< Element > & RandomizePD (Element alpha, Element beta, Double_t &seed)
template<>
TClassClass ()
template<>
TClassClass ()

Protected Member Functions

void Allocate (Int_t nrows, Int_t ncols, Int_t row_lwb=0, Int_t col_lwb=0, Int_t init=0, Int_t nr_nonzeros=0)
void AMultB (const TMatrixTSparse< Element > &a, const TMatrixTSparse< Element > &b, Int_t constr=0)
void AMultB (const TMatrixTSparse< Element > &a, const TMatrixT< Element > &b, Int_t constr=0)
void AMultB (const TMatrixT< Element > &a, const TMatrixTSparse< Element > &b, Int_t constr=0)
void AMultBt (const TMatrixTSparse< Element > &a, const TMatrixTSparse< Element > &b, Int_t constr=0)
void AMultBt (const TMatrixTSparse< Element > &a, const TMatrixT< Element > &b, Int_t constr=0)
void AMultBt (const TMatrixT< Element > &a, const TMatrixTSparse< Element > &b, Int_t constr=0)
void APlusB (const TMatrixTSparse< Element > &a, const TMatrixTSparse< Element > &b, Int_t constr=0)
void APlusB (const TMatrixTSparse< Element > &a, const TMatrixT< Element > &b, Int_t constr=0)
void APlusB (const TMatrixT< Element > &a, const TMatrixTSparse< Element > &b, Int_t constr=0)
void AMinusB (const TMatrixTSparse< Element > &a, const TMatrixTSparse< Element > &b, Int_t constr=0)
void AMinusB (const TMatrixTSparse< Element > &a, const TMatrixT< Element > &b, Int_t constr=0)
void AMinusB (const TMatrixT< Element > &a, const TMatrixTSparse< Element > &b, Int_t constr=0)
void Allocate (Int_t nrows, Int_t ncols, Int_t row_lwb=0, Int_t col_lwb=0, Int_t init=0, Int_t nr_nonzeros=0)
void AMultB (const TMatrixTSparse< Element > &a, const TMatrixTSparse< Element > &b, Int_t constr=0)
void AMultB (const TMatrixTSparse< Element > &a, const TMatrixT< Element > &b, Int_t constr=0)
void AMultB (const TMatrixT< Element > &a, const TMatrixTSparse< Element > &b, Int_t constr=0)
void AMultBt (const TMatrixTSparse< Element > &a, const TMatrixTSparse< Element > &b, Int_t constr=0)
void AMultBt (const TMatrixTSparse< Element > &a, const TMatrixT< Element > &b, Int_t constr=0)
void AMultBt (const TMatrixT< Element > &a, const TMatrixTSparse< Element > &b, Int_t constr=0)
void APlusB (const TMatrixTSparse< Element > &a, const TMatrixTSparse< Element > &b, Int_t constr=0)
void APlusB (const TMatrixTSparse< Element > &a, const TMatrixT< Element > &b, Int_t constr=0)
void APlusB (const TMatrixT< Element > &a, const TMatrixTSparse< Element > &b, Int_t constr=0)
void AMinusB (const TMatrixTSparse< Element > &a, const TMatrixTSparse< Element > &b, Int_t constr=0)
void AMinusB (const TMatrixTSparse< Element > &a, const TMatrixT< Element > &b, Int_t constr=0)
void AMinusB (const TMatrixT< Element > &a, const TMatrixTSparse< Element > &b, Int_t constr=0)

Protected Attributes

Int_tfRowIndex
Int_tfColIndex
Element * fElements
Int_tfRowIndex
Int_tfColIndex
Element * fElements

Detailed Description

template<class Element>
class TMatrixTSparse< Element >

Definition at line 39 of file TMatrixTSparse.h.


Member Enumeration Documentation

template<class Element>
enum TMatrixTSparse::EMatrixCreatorsOp1

Definition at line 73 of file TMatrixTSparse.h.

template<class Element>
enum TMatrixTSparse::EMatrixCreatorsOp2

Definition at line 74 of file TMatrixTSparse.h.

template<class Element>
enum TMatrixTSparse::EMatrixCreatorsOp1

Definition at line 73 of file TMatrixTSparse.h.

template<class Element>
enum TMatrixTSparse::EMatrixCreatorsOp2

Definition at line 74 of file TMatrixTSparse.h.


Constructor & Destructor Documentation

template<class Element>
TMatrixTSparse< Element >::TMatrixTSparse (  )  [inline]

Definition at line 76 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::fColIndex, TMatrixTSparse< Element >::fElements, and TMatrixTSparse< Element >::fRowIndex.

template<class Element>
TMatrixTSparse< Element >::TMatrixTSparse ( Int_t  nrows,
Int_t  ncols 
)

template<class Element>
TMatrixTSparse< Element >::TMatrixTSparse ( Int_t  row_lwb,
Int_t  row_upb,
Int_t  col_lwb,
Int_t  col_upb 
)

Definition at line 92 of file TMatrixTSparse.cxx.

References TMatrixTSparse< Element >::Allocate().

template<class Element>
TMatrixTSparse< Element >::TMatrixTSparse ( Int_t  row_lwb,
Int_t  row_upb,
Int_t  col_lwb,
Int_t  col_upb,
Int_t  nr_nonzeros,
Int_t row,
Int_t col,
Element *  data 
)

Definition at line 102 of file TMatrixTSparse.cxx.

References TMatrixTSparse< Element >::Allocate(), TObject::Error(), TObject::Info(), TMath::LocMax(), TMath::LocMin(), and TMatrixTSparse< Element >::SetMatrixArray().

template<class Element>
TMatrixTSparse< Element >::TMatrixTSparse ( const TMatrixTSparse< Element > &  another  ) 

Definition at line 143 of file TMatrixTSparse.cxx.

References TMatrixTSparse< Element >::Allocate(), TMatrixTSparse< Element >::fColIndex, TMatrixTBase< Element >::fNelems, TMatrixTBase< Element >::fNrowIndex, TMatrixTSparse< Element >::fRowIndex, TMatrixTSparse< Element >::GetColIndexArray(), TMatrixTBase< Element >::GetColLwb(), TMatrixTBase< Element >::GetNcols(), TMatrixTBase< Element >::GetNoElements(), TMatrixTBase< Element >::GetNrows(), TMatrixTSparse< Element >::GetRowIndexArray(), and TMatrixTBase< Element >::GetRowLwb().

template<class Element>
TMatrixTSparse< Element >::TMatrixTSparse ( const TMatrixT< Element > &  another  ) 

Definition at line 155 of file TMatrixTSparse.cxx.

References TMatrixTSparse< Element >::Allocate(), TMatrixTBase< Element >::GetColLwb(), TMatrixTBase< Element >::GetNcols(), TMatrixTBase< Element >::GetNrows(), TMatrixTBase< Element >::GetRowLwb(), TMatrixTBase< Element >::NonZeros(), and TMatrixTSparse< Element >::SetSparseIndex().

template<class Element>
TMatrixTSparse< Element >::TMatrixTSparse ( EMatrixCreatorsOp1  op,
const TMatrixTSparse< Element > &  prototype 
)

Definition at line 165 of file TMatrixTSparse.cxx.

References TMatrixTSparse< Element >::Allocate(), TMatrixTSparse< Element >::AMultBt(), TObject::Error(), TMatrixTBase< Element >::GetColLwb(), TMatrixTBase< Element >::GetNcols(), TMatrixTBase< Element >::GetNoElements(), TMatrixTBase< Element >::GetNrows(), TMatrixTBase< Element >::GetRowLwb(), i, TMatrixTBase< Element >::IsValid(), j, TMatrixTSparse< Element >::kAtA, TMatrixTSparse< Element >::kTransposed, TMatrixTSparse< Element >::kUnit, TMatrixTSparse< Element >::kZero, nrows, R__ASSERT, TMatrixTSparse< Element >::Transpose(), and TMatrixTSparse< Element >::UnitMatrix().

template<class Element>
TMatrixTSparse< Element >::TMatrixTSparse ( const TMatrixTSparse< Element > &  a,
EMatrixCreatorsOp2  op,
const TMatrixTSparse< Element > &  b 
)

Definition at line 215 of file TMatrixTSparse.cxx.

References a, TMatrixTSparse< Element >::AMinusB(), TMatrixTSparse< Element >::AMultB(), TMatrixTSparse< Element >::AMultBt(), TMatrixTSparse< Element >::APlusB(), b, TObject::Error(), TMatrixTSparse< Element >::kMinus, TMatrixTSparse< Element >::kMult, TMatrixTSparse< Element >::kMultTranspose, TMatrixTSparse< Element >::kPlus, and R__ASSERT.

template<class Element>
TMatrixTSparse< Element >::TMatrixTSparse ( const TMatrixTSparse< Element > &  a,
EMatrixCreatorsOp2  op,
const TMatrixT< Element > &  b 
)

Definition at line 247 of file TMatrixTSparse.cxx.

References a, TMatrixTSparse< Element >::AMinusB(), TMatrixTSparse< Element >::AMultB(), TMatrixTSparse< Element >::AMultBt(), TMatrixTSparse< Element >::APlusB(), b, TObject::Error(), TMatrixTSparse< Element >::kMinus, TMatrixTSparse< Element >::kMult, TMatrixTSparse< Element >::kMultTranspose, TMatrixTSparse< Element >::kPlus, and R__ASSERT.

template<class Element>
TMatrixTSparse< Element >::TMatrixTSparse ( const TMatrixT< Element > &  a,
EMatrixCreatorsOp2  op,
const TMatrixTSparse< Element > &  b 
)

Definition at line 279 of file TMatrixTSparse.cxx.

References a, TMatrixTSparse< Element >::AMinusB(), TMatrixTSparse< Element >::AMultB(), TMatrixTSparse< Element >::AMultBt(), TMatrixTSparse< Element >::APlusB(), b, TObject::Error(), TMatrixTSparse< Element >::kMinus, TMatrixTSparse< Element >::kMult, TMatrixTSparse< Element >::kMultTranspose, TMatrixTSparse< Element >::kPlus, and R__ASSERT.

template<class Element>
virtual TMatrixTSparse< Element >::~TMatrixTSparse (  )  [inline, virtual]

Definition at line 89 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::Clear().

template<class Element>
TMatrixTSparse< Element >::TMatrixTSparse (  )  [inline]

Definition at line 76 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::fColIndex, TMatrixTSparse< Element >::fElements, and TMatrixTSparse< Element >::fRowIndex.

template<class Element>
TMatrixTSparse< Element >::TMatrixTSparse ( Int_t  nrows,
Int_t  ncols 
)

template<class Element>
TMatrixTSparse< Element >::TMatrixTSparse ( Int_t  row_lwb,
Int_t  row_upb,
Int_t  col_lwb,
Int_t  col_upb 
)

template<class Element>
TMatrixTSparse< Element >::TMatrixTSparse ( Int_t  row_lwb,
Int_t  row_upb,
Int_t  col_lwb,
Int_t  col_upb,
Int_t  nr_nonzeros,
Int_t row,
Int_t col,
Element *  data 
)

template<class Element>
TMatrixTSparse< Element >::TMatrixTSparse ( const TMatrixTSparse< Element > &  another  ) 

template<class Element>
TMatrixTSparse< Element >::TMatrixTSparse ( const TMatrixT< Element > &  another  ) 

template<class Element>
TMatrixTSparse< Element >::TMatrixTSparse ( EMatrixCreatorsOp1  op,
const TMatrixTSparse< Element > &  prototype 
)

template<class Element>
TMatrixTSparse< Element >::TMatrixTSparse ( const TMatrixTSparse< Element > &  a,
EMatrixCreatorsOp2  op,
const TMatrixTSparse< Element > &  b 
)

template<class Element>
TMatrixTSparse< Element >::TMatrixTSparse ( const TMatrixTSparse< Element > &  a,
EMatrixCreatorsOp2  op,
const TMatrixT< Element > &  b 
)

template<class Element>
TMatrixTSparse< Element >::TMatrixTSparse ( const TMatrixT< Element > &  a,
EMatrixCreatorsOp2  op,
const TMatrixTSparse< Element > &  b 
)

template<class Element>
virtual TMatrixTSparse< Element >::~TMatrixTSparse (  )  [inline, virtual]

Definition at line 89 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::Clear().


Member Function Documentation

template<class Element>
void TMatrixTSparse< Element >::Allocate ( Int_t  nrows,
Int_t  ncols,
Int_t  row_lwb = 0,
Int_t  col_lwb = 0,
Int_t  init = 0,
Int_t  nr_nonzeros = 0 
) [protected]

Definition at line 311 of file TMatrixTSparse.cxx.

References RootCsg::epsilon, TObject::Error(), TMatrixTSparse< Element >::fColIndex, TMatrixTBase< Element >::fColLwb, TMatrixTSparse< Element >::fElements, TMatrixTBase< Element >::fIsOwner, TMatrixTBase< Element >::fNcols, TMatrixTBase< Element >::fNelems, TMatrixTBase< Element >::fNrowIndex, TMatrixTBase< Element >::fNrows, TMatrixTSparse< Element >::fRowIndex, TMatrixTBase< Element >::fRowLwb, TMatrixTBase< Element >::fTol, TMatrixTBase< Element >::Invalidate(), kTRUE, and TMatrixTBase< Element >::MakeValid().

Referenced by TMatrixTSparse< Element >::AMinusB(), TMatrixTSparse< Element >::AMultBt(), TMatrixTSparse< Element >::APlusB(), TMatrixTSparse< Element >::ResizeTo(), and TMatrixTSparse< Element >::TMatrixTSparse().

template<class Element>
void TMatrixTSparse< Element >::AMultB ( const TMatrixTSparse< Element > &  a,
const TMatrixTSparse< Element > &  b,
Int_t  constr = 0 
) [inline, protected]

Definition at line 51 of file TMatrixTSparse.h.

References a, TMatrixTSparse< Element >::AMultBt(), b, and TMatrixTSparse< Element >::kTransposed.

Referenced by TMatrixTSparse< Element >::Mult(), TMatrixTSparse< Element >::operator *=(), and TMatrixTSparse< Element >::TMatrixTSparse().

template<class Element>
void TMatrixTSparse< Element >::AMultB ( const TMatrixTSparse< Element > &  a,
const TMatrixT< Element > &  b,
Int_t  constr = 0 
) [inline, protected]

Definition at line 53 of file TMatrixTSparse.h.

References a, TMatrixTSparse< Element >::AMultBt(), b, and TMatrixTSparse< Element >::kTransposed.

template<class Element>
void TMatrixTSparse< Element >::AMultB ( const TMatrixT< Element > &  a,
const TMatrixTSparse< Element > &  b,
Int_t  constr = 0 
) [inline, protected]

Definition at line 56 of file TMatrixTSparse.h.

References a, TMatrixTSparse< Element >::AMultBt(), b, and TMatrixTSparse< Element >::kTransposed.

template<class Element>
void TMatrixTSparse< Element >::AMultBt ( const TMatrixTSparse< Element > &  a,
const TMatrixTSparse< Element > &  b,
Int_t  constr = 0 
) [protected]

Definition at line 478 of file TMatrixTSparse.cxx.

References a, TMatrixTSparse< Element >::Allocate(), b, TObject::Error(), TMatrixTSparse< Element >::GetColIndexArray(), TMatrixTSparse< Element >::GetMatrixArray(), TMatrixTBase< Element >::GetNcols(), TMatrixTBase< Element >::GetNrows(), TMatrixTSparse< Element >::GetRowIndexArray(), gMatrixCheck, nc, R__ASSERT, and TMatrixTSparse< Element >::SetSparseIndex().

Referenced by TMatrixTSparse< Element >::AMultB(), and TMatrixTSparse< Element >::TMatrixTSparse().

template<class Element>
void TMatrixTSparse< Element >::AMultBt ( const TMatrixTSparse< Element > &  a,
const TMatrixT< Element > &  b,
Int_t  constr = 0 
) [protected]

Definition at line 586 of file TMatrixTSparse.cxx.

References a, TMatrixTSparse< Element >::Allocate(), b, TObject::Error(), TMatrixTSparse< Element >::GetColIndexArray(), TMatrixTSparse< Element >::GetMatrixArray(), TMatrixTBase< Element >::GetNcols(), TMatrixTBase< Element >::GetNrows(), TMatrixTSparse< Element >::GetRowIndexArray(), gMatrixCheck, nc, R__ASSERT, and TMatrixTSparse< Element >::SetSparseIndex().

template<class Element>
void TMatrixTSparse< Element >::AMultBt ( const TMatrixT< Element > &  a,
const TMatrixTSparse< Element > &  b,
Int_t  constr = 0 
) [protected]

Definition at line 677 of file TMatrixTSparse.cxx.

References a, TMatrixTSparse< Element >::Allocate(), b, TObject::Error(), TMatrixTSparse< Element >::GetColIndexArray(), TMatrixTSparse< Element >::GetMatrixArray(), TMatrixTBase< Element >::GetNcols(), TMatrixTBase< Element >::GetNrows(), TMatrixTSparse< Element >::GetRowIndexArray(), gMatrixCheck, nc, R__ASSERT, and TMatrixTSparse< Element >::SetSparseIndex().

template<class Element>
void TMatrixTSparse< Element >::APlusB ( const TMatrixTSparse< Element > &  a,
const TMatrixTSparse< Element > &  b,
Int_t  constr = 0 
) [protected]

Definition at line 769 of file TMatrixTSparse.cxx.

References a, TMatrixTSparse< Element >::Allocate(), b, TObject::Error(), TMatrixTSparse< Element >::GetColIndexArray(), TMatrixTSparse< Element >::GetMatrixArray(), TMatrixTBase< Element >::GetNcols(), TMatrixTBase< Element >::GetNrows(), TMatrixTSparse< Element >::GetRowIndexArray(), gMatrixCheck, R__ASSERT, TMatrixTSparse< Element >::SetSparseIndex(), and TMatrixTSparse< Element >::SetSparseIndexAB().

Referenced by TMatrixTSparse< Element >::APlusB(), TMatrixTSparse< Element >::operator+=(), and TMatrixTSparse< Element >::TMatrixTSparse().

template<class Element>
void TMatrixTSparse< Element >::APlusB ( const TMatrixTSparse< Element > &  a,
const TMatrixT< Element > &  b,
Int_t  constr = 0 
) [protected]

Definition at line 851 of file TMatrixTSparse.cxx.

References a, TMatrixTSparse< Element >::Allocate(), b, TObject::Error(), TMatrixTSparse< Element >::GetColIndexArray(), TMatrixTSparse< Element >::GetMatrixArray(), TMatrixTBase< Element >::GetNcols(), TMatrixTBase< Element >::GetNrows(), TMatrixTSparse< Element >::GetRowIndexArray(), gMatrixCheck, R__ASSERT, TMatrixTSparse< Element >::SetSparseIndex(), and TMatrixTSparse< Element >::SetSparseIndexAB().

template<class Element>
void TMatrixTSparse< Element >::APlusB ( const TMatrixT< Element > &  a,
const TMatrixTSparse< Element > &  b,
Int_t  constr = 0 
) [inline, protected]

Definition at line 65 of file TMatrixTSparse.h.

References a, TMatrixTSparse< Element >::APlusB(), and b.

template<class Element>
void TMatrixTSparse< Element >::AMinusB ( const TMatrixTSparse< Element > &  a,
const TMatrixTSparse< Element > &  b,
Int_t  constr = 0 
) [protected]

Definition at line 922 of file TMatrixTSparse.cxx.

References a, TMatrixTSparse< Element >::Allocate(), b, TObject::Error(), TMatrixTSparse< Element >::GetColIndexArray(), TMatrixTSparse< Element >::GetMatrixArray(), TMatrixTBase< Element >::GetNcols(), TMatrixTBase< Element >::GetNrows(), TMatrixTSparse< Element >::GetRowIndexArray(), gMatrixCheck, R__ASSERT, TMatrixTSparse< Element >::SetSparseIndex(), and TMatrixTSparse< Element >::SetSparseIndexAB().

Referenced by TMatrixTSparse< Element >::operator-=(), and TMatrixTSparse< Element >::TMatrixTSparse().

template<class Element>
void TMatrixTSparse< Element >::AMinusB ( const TMatrixTSparse< Element > &  a,
const TMatrixT< Element > &  b,
Int_t  constr = 0 
) [protected]

Definition at line 1004 of file TMatrixTSparse.cxx.

References a, TMatrixTSparse< Element >::Allocate(), b, TObject::Error(), TMatrixTSparse< Element >::GetColIndexArray(), TMatrixTSparse< Element >::GetMatrixArray(), TMatrixTBase< Element >::GetNcols(), TMatrixTBase< Element >::GetNrows(), TMatrixTSparse< Element >::GetRowIndexArray(), gMatrixCheck, R__ASSERT, TMatrixTSparse< Element >::SetSparseIndex(), and TMatrixTSparse< Element >::SetSparseIndexAB().

template<class Element>
void TMatrixTSparse< Element >::AMinusB ( const TMatrixT< Element > &  a,
const TMatrixTSparse< Element > &  b,
Int_t  constr = 0 
) [protected]

Definition at line 1075 of file TMatrixTSparse.cxx.

References a, TMatrixTSparse< Element >::Allocate(), b, TObject::Error(), TMatrixTSparse< Element >::GetColIndexArray(), TMatrixTSparse< Element >::GetMatrixArray(), TMatrixTBase< Element >::GetNcols(), TMatrixTBase< Element >::GetNrows(), TMatrixTSparse< Element >::GetRowIndexArray(), gMatrixCheck, R__ASSERT, TMatrixTSparse< Element >::SetSparseIndex(), and TMatrixTSparse< Element >::SetSparseIndexAB().

template<class Element>
const Element * TMatrixTSparse< Element >::GetMatrixArray (  )  const [inline, virtual]

Implements TMatrixTBase< Element >.

Definition at line 204 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::fElements.

Referenced by TUnfold::AddMSparse(), TMatrixTSparse< Element >::AMinusB(), TMatrixTSparse< Element >::AMultBt(), TMatrixTSparse< Element >::APlusB(), TUnfoldSys::DoBackgroundSubtraction(), TUnfold::DoUnfold(), TUnfold::ErrorMatrixToHist(), TMatrixTSparse< Element >::ExtractRow(), TUnfold::GetFoldedOutput(), TUnfold::GetInput(), TUnfold::GetLsquared(), TMatrixTSparse< Element >::GetMatrix2Array(), TUnfold::GetOutput(), TUnfold::GetRhoI(), TMatrixTSparse< Element >::GetSub(), TUnfold::InvertMSparse(), TUnfold::MultiplyMSparseMSparseTranspVector(), TMatrixTSparse< Element >::operator *=(), TMatrixTSparse< Element >::operator+=(), TMatrixTSparse< Element >::operator-=(), TMatrixTSparse< Element >::operator=(), TUnfoldSys::PrepareSysError(), TUnfoldSys::PrepareUncorrEmat(), TMatrixTSparse< Element >::Randomize(), TMatrixTSparse< Element >::RandomizePD(), TMatrixTSparse< Element >::ResizeTo(), TMatrixTSparse< Element >::RowNorm(), TUnfoldSys::ScaleColumnsByVector(), TMatrixTSparse< Element >::SetSub(), and TUnfoldSys::VectorMapToHist().

template<class Element>
Element * TMatrixTSparse< Element >::GetMatrixArray (  )  [inline, virtual]

Implements TMatrixTBase< Element >.

Definition at line 205 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::fElements.

template<class Element>
const Int_t * TMatrixTSparse< Element >::GetRowIndexArray (  )  const [inline, virtual]

Implements TMatrixTBase< Element >.

Definition at line 206 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::fRowIndex.

Referenced by TUnfold::AddMSparse(), TMatrixTSparse< Element >::AMinusB(), TMatrixTSparse< Element >::AMultBt(), TMatrixTSparse< Element >::APlusB(), AreCompatible(), TUnfoldSys::DoBackgroundSubtraction(), TUnfold::DoUnfold(), TUnfold::ErrorMatrixToHist(), TUnfold::GetFoldedOutput(), TUnfold::GetInput(), TUnfold::GetLsquared(), TUnfold::GetOutput(), TUnfold::GetRhoI(), TUnfold::InvertMSparse(), TUnfold::MultiplyMSparseMSparseTranspVector(), TUnfoldSys::PrepareSysError(), TUnfoldSys::PrepareUncorrEmat(), TMatrixTSparse< Element >::Randomize(), TMatrixTSparse< Element >::RandomizePD(), TMatrixTSparse< Element >::ResizeTo(), TMatrixTSparse< Element >::RowNorm(), TUnfoldSys::ScaleColumnsByVector(), TUnfold::SetInput(), TMatrixTSparse< Element >::SetSparseIndexAB(), TMatrixTSparse< Element >::SetSub(), TMatrixTSparse< Element >::TMatrixTSparse(), and TUnfoldSys::VectorMapToHist().

template<class Element>
Int_t * TMatrixTSparse< Element >::GetRowIndexArray (  )  [inline, virtual]

Implements TMatrixTBase< Element >.

Definition at line 207 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::fRowIndex.

template<class Element>
const Int_t * TMatrixTSparse< Element >::GetColIndexArray (  )  const [inline, virtual]

Implements TMatrixTBase< Element >.

Definition at line 208 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::fColIndex.

Referenced by TUnfold::AddMSparse(), TMatrixTSparse< Element >::AMinusB(), TMatrixTSparse< Element >::AMultBt(), TMatrixTSparse< Element >::APlusB(), AreCompatible(), TUnfoldSys::DoBackgroundSubtraction(), TUnfold::DoUnfold(), TUnfold::ErrorMatrixToHist(), TMatrixTSparse< Element >::ExtractRow(), TUnfold::GetFoldedOutput(), TUnfold::GetInput(), TUnfold::GetLsquared(), TUnfold::GetOutput(), TUnfold::GetRhoI(), TUnfold::InvertMSparse(), TUnfold::MultiplyMSparseMSparseTranspVector(), TMatrixTSparse< Element >::Randomize(), TMatrixTSparse< Element >::RandomizePD(), TMatrixTSparse< Element >::ResizeTo(), TUnfold::SetInput(), TMatrixTSparse< Element >::SetSparseIndexAB(), TMatrixTSparse< Element >::SetSub(), and TMatrixTSparse< Element >::TMatrixTSparse().

template<class Element>
Int_t * TMatrixTSparse< Element >::GetColIndexArray (  )  [inline, virtual]

Implements TMatrixTBase< Element >.

Definition at line 209 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::fColIndex.

template<class Element>
virtual TMatrixTBase<Element>& TMatrixTSparse< Element >::SetRowIndexArray ( Int_t data  )  [inline, virtual]

Implements TMatrixTBase< Element >.

Definition at line 98 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::fRowIndex, and memmove.

template<class Element>
virtual TMatrixTBase<Element>& TMatrixTSparse< Element >::SetColIndexArray ( Int_t data  )  [inline, virtual]

Implements TMatrixTBase< Element >.

Definition at line 99 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::fColIndex, and memmove.

template<class Element>
TMatrixTSparse< Element > & TMatrixTSparse< Element >::SetSparseIndex ( Int_t  nelem_new  ) 

Definition at line 1249 of file TMatrixTSparse.cxx.

References TMatrixTSparse< Element >::fColIndex, TMatrixTSparse< Element >::fElements, TMatrixTBase< Element >::fNelems, TMatrixTBase< Element >::fNrowIndex, TMatrixTSparse< Element >::fRowIndex, memmove, and TMath::Min().

Referenced by TMatrixTSparse< Element >::AMinusB(), TMatrixTSparse< Element >::AMultBt(), TMatrixTSparse< Element >::APlusB(), TQpDataSparse::SetNonZeros(), TMatrixTSparse< Element >::SetSparseIndex(), TMatrixTSparse< Element >::SetSparseIndexAB(), spstress_binary_ebe_op(), spstress_element_op(), spstress_matrix_fill(), spstress_mm_multiplications(), and TMatrixTSparse< Element >::TMatrixTSparse().

template<class Element>
TMatrixTSparse< Element > & TMatrixTSparse< Element >::SetSparseIndex ( const TMatrixTBase< Element > &  another  ) 

Definition at line 1283 of file TMatrixTSparse.cxx.

References TObject::Error(), TMatrixTSparse< Element >::fColIndex, TMatrixTBase< Element >::fNcols, TMatrixTBase< Element >::fNelems, TMatrixTBase< Element >::fNrowIndex, TMatrixTBase< Element >::fNrows, TMatrixTSparse< Element >::fRowIndex, TMatrixTBase< Element >::GetColLwb(), TMatrixTBase< Element >::GetNcols(), TMatrixTBase< Element >::GetRowLwb(), gMatrixCheck, memmove, R__ASSERT, and TMatrixTSparse< Element >::SetSparseIndex().

template<class Element>
TMatrixTSparse< Element > & TMatrixTSparse< Element >::SetSparseIndexAB ( const TMatrixTSparse< Element > &  a,
const TMatrixTSparse< Element > &  b 
)

Definition at line 1325 of file TMatrixTSparse.cxx.

References a, b, TObject::Error(), TMatrixTSparse< Element >::GetColIndexArray(), TMatrixTBase< Element >::GetColLwb(), TMatrixTBase< Element >::GetNcols(), TMatrixTSparse< Element >::GetRowIndexArray(), TMatrixTBase< Element >::GetRowLwb(), gMatrixCheck, nc, R__ASSERT, and TMatrixTSparse< Element >::SetSparseIndex().

Referenced by TMatrixTSparse< Element >::AMinusB(), TMatrixTSparse< Element >::APlusB(), and TMatrixTSparse< Element >::SetSparseIndexAB().

template<class Element>
TMatrixTSparse< Element > & TMatrixTSparse< Element >::SetSparseIndexAB ( const TMatrixT< Element > &  a,
const TMatrixTSparse< Element > &  b 
)

Definition at line 1419 of file TMatrixTSparse.cxx.

References a, b, TObject::Error(), TMatrixTSparse< Element >::GetColIndexArray(), TMatrixTBase< Element >::GetColLwb(), TMatrixTBase< Element >::GetNcols(), TMatrixTBase< Element >::GetNrows(), TMatrixTSparse< Element >::GetRowIndexArray(), TMatrixTBase< Element >::GetRowLwb(), gMatrixCheck, nc, R__ASSERT, and TMatrixTSparse< Element >::SetSparseIndex().

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::SetSparseIndexAB ( const TMatrixTSparse< Element > &  a,
const TMatrixT< Element > &  b 
) [inline]

Definition at line 105 of file TMatrixTSparse.h.

References a, b, and TMatrixTSparse< Element >::SetSparseIndexAB().

template<class Element>
void TMatrixTSparse< Element >::GetMatrix2Array ( Element *  data,
Option_t = "" 
) const [virtual]

Reimplemented from TMatrixTBase< Element >.

Definition at line 1146 of file TMatrixTSparse.cxx.

References TMatrixTSparse< Element >::GetMatrixArray(), and R__ASSERT.

template<class Element>
virtual TMatrixTBase<Element>& TMatrixTSparse< Element >::SetMatrixArray ( const Element *  data,
Option_t = "" 
) [inline, virtual]

Reimplemented from TMatrixTBase< Element >.

Definition at line 109 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::fElements.

Referenced by TUnfold::AddMSparse(), spstress_allocation(), TMatrixTSparse< Element >::TMatrixTSparse(), and TMatrixTSparse< Element >::Transpose().

template<class Element>
TMatrixTBase< Element > & TMatrixTSparse< Element >::SetMatrixArray ( Int_t  nr_nonzeros,
Int_t irow,
Int_t icol,
Element *  data 
) [virtual]

Definition at line 1158 of file TMatrixTSparse.cxx.

References TMatrixTBase< Element >::DoubleLexSort(), TObject::Error(), TMatrixTSparse< Element >::fColIndex, TMatrixTBase< Element >::fColLwb, TMatrixTSparse< Element >::fElements, TMatrixTBase< Element >::fNcols, TMatrixTBase< Element >::fNelems, TMatrixTBase< Element >::fNrows, fp, TMatrixTSparse< Element >::fRowIndex, TMatrixTBase< Element >::fRowLwb, TObject::Info(), TMath::LocMax(), TMath::LocMin(), and R__ASSERT.

template<class Element>
TMatrixTBase< Element > & TMatrixTSparse< Element >::InsertRow ( Int_t  row,
Int_t  col,
const Element *  v,
Int_t  n = -1 
) [virtual]

Reimplemented from TMatrixTBase< Element >.

Definition at line 355 of file TMatrixTSparse.cxx.

References TObject::Error(), TMatrixTSparse< Element >::fColIndex, TMatrixTBase< Element >::fColLwb, TMatrixTSparse< Element >::fElements, TMatrixTBase< Element >::fNelems, TMatrixTBase< Element >::fNrows, TMatrixTSparse< Element >::fRowIndex, TMatrixTBase< Element >::fRowLwb, gMatrixCheck, i, if(), memmove, and R__ASSERT.

Referenced by TMatrixTSparse< Element >::operator()(), and spstress_matrix_fill().

template<class Element>
void TMatrixTSparse< Element >::ExtractRow ( Int_t  row,
Int_t  col,
Element *  v,
Int_t  n = -1 
) const [virtual]

Reimplemented from TMatrixTBase< Element >.

Definition at line 438 of file TMatrixTSparse.cxx.

References TObject::Error(), TMatrixTBase< Element >::fColLwb, TMatrixTSparse< Element >::fRowIndex, TMatrixTBase< Element >::fRowLwb, TMatrixTSparse< Element >::GetColIndexArray(), TMatrixTSparse< Element >::GetMatrixArray(), gMatrixCheck, and if().

Referenced by spstress_matrix_fill().

template<class Element>
TMatrixTBase< Element > & TMatrixTSparse< Element >::ResizeTo ( Int_t  nrows,
Int_t  ncols,
Int_t  nr_nonzeros = -1 
) [virtual]

Implements TMatrixTBase< Element >.

Definition at line 1502 of file TMatrixTSparse.cxx.

References TMatrixTSparse< Element >::Allocate(), TMatrixTSparse< Element >::Clear(), TObject::Error(), TMatrixTBase< Element >::fNcols, TMatrixTBase< Element >::fNrowIndex, TMatrixTBase< Element >::fNrows, TMatrixTSparse< Element >::GetColIndexArray(), TMatrixTSparse< Element >::GetMatrixArray(), TMatrixTSparse< Element >::GetRowIndexArray(), kFALSE, kTRUE, and R__ASSERT.

Referenced by TQpLinSolverSparse::operator=(), TQpDataSparse::operator=(), TMatrixTSparse< Element >::ResizeTo(), spstress_allocation(), and spstress_matrix_fill().

template<class Element>
TMatrixTBase< Element > & TMatrixTSparse< Element >::ResizeTo ( Int_t  row_lwb,
Int_t  row_upb,
Int_t  col_lwb,
Int_t  col_upb,
Int_t  nr_nonzeros = -1 
) [virtual]

Implements TMatrixTBase< Element >.

Definition at line 1596 of file TMatrixTSparse.cxx.

References TMatrixTSparse< Element >::Allocate(), TMatrixTSparse< Element >::Clear(), TObject::Error(), TMatrixTBase< Element >::fColLwb, TMatrixTBase< Element >::fNcols, TMatrixTBase< Element >::fNrowIndex, TMatrixTBase< Element >::fNrows, TMatrixTBase< Element >::fRowLwb, TMatrixTSparse< Element >::GetColIndexArray(), TMatrixTSparse< Element >::GetMatrixArray(), TMatrixTSparse< Element >::GetRowIndexArray(), kFALSE, kTRUE, and R__ASSERT.

template<class Element>
TMatrixTBase<Element>& TMatrixTSparse< Element >::ResizeTo ( const TMatrixTSparse< Element > &  m  )  [inline]

Definition at line 117 of file TMatrixTSparse.h.

References m, and TMatrixTSparse< Element >::ResizeTo().

template<class Element>
virtual void TMatrixTSparse< Element >::Clear ( Option_t = ""  )  [inline, virtual]

Implements TMatrixTBase< Element >.

Definition at line 120 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::fColIndex, TMatrixTSparse< Element >::fElements, TMatrixTBase< Element >::fNelems, TMatrixTBase< Element >::fNrowIndex, and TMatrixTSparse< Element >::fRowIndex.

Referenced by TMatrixTSparse< Element >::operator *=(), TMatrixTSparse< Element >::operator+=(), TMatrixTSparse< Element >::operator-=(), TMatrixTSparse< Element >::ResizeTo(), TMatrixTSparse< Element >::Use(), and TMatrixTSparse< Element >::~TMatrixTSparse().

template<class Element>
TMatrixTSparse< Element > & TMatrixTSparse< Element >::Use ( Int_t  row_lwb,
Int_t  row_upb,
Int_t  col_lwb,
Int_t  col_upb,
Int_t  nr_nonzeros,
Int_t pRowIndex,
Int_t pColIndex,
Element *  pData 
)

Definition at line 1701 of file TMatrixTSparse.cxx.

References TMatrixTSparse< Element >::Clear(), RootCsg::epsilon, TObject::Error(), TMatrixTSparse< Element >::fColIndex, TMatrixTBase< Element >::fColLwb, TMatrixTSparse< Element >::fElements, TMatrixTBase< Element >::fIsOwner, TMatrixTBase< Element >::fNcols, TMatrixTBase< Element >::fNelems, TMatrixTBase< Element >::fNrowIndex, TMatrixTBase< Element >::fNrows, TMatrixTSparse< Element >::fRowIndex, TMatrixTBase< Element >::fRowLwb, TMatrixTBase< Element >::fTol, gMatrixCheck, and kFALSE.

Referenced by TQpProbSparse::MakeData(), TDecompSparse::operator=(), TDecompSparse::SetMatrix(), spstress_matrix_fill(), spstress_matrix_io(), TQpDataSparse::TQpDataSparse(), and TMatrixTSparse< Element >::Use().

template<class Element>
const TMatrixTSparse<Element>& TMatrixTSparse< Element >::Use ( Int_t  row_lwb,
Int_t  row_upb,
Int_t  col_lwb,
Int_t  col_upb,
Int_t  nr_nonzeros,
const Int_t pRowIndex,
const Int_t pColIndex,
const Element *  pData 
) const [inline]

Definition at line 131 of file TMatrixTSparse.h.

template<class Element>
TMatrixTSparse< Element > & TMatrixTSparse< Element >::Use ( Int_t  nrows,
Int_t  ncols,
Int_t  nr_nonzeros,
Int_t pRowIndex,
Int_t pColIndex,
Element *  pData 
) [inline]

Definition at line 212 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::Use().

template<class Element>
const TMatrixTSparse< Element > & TMatrixTSparse< Element >::Use ( Int_t  nrows,
Int_t  ncols,
Int_t  nr_nonzeros,
const Int_t pRowIndex,
const Int_t pColIndex,
const Element *  pData 
) const [inline]

Definition at line 216 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::Use().

template<class Element>
TMatrixTSparse< Element > & TMatrixTSparse< Element >::Use ( TMatrixTSparse< Element > &  a  )  [inline]

Definition at line 220 of file TMatrixTSparse.h.

References a, R__ASSERT, and TMatrixTSparse< Element >::Use().

template<class Element>
const TMatrixTSparse< Element > & TMatrixTSparse< Element >::Use ( const TMatrixTSparse< Element > &  a  )  const [inline]

Definition at line 226 of file TMatrixTSparse.h.

References a, R__ASSERT, and TMatrixTSparse< Element >::Use().

template<class Element>
TMatrixTBase< Element > & TMatrixTSparse< Element >::GetSub ( Int_t  row_lwb,
Int_t  row_upb,
Int_t  col_lwb,
Int_t  col_upb,
TMatrixTBase< Element > &  target,
Option_t option = "S" 
) const [virtual]

Implements TMatrixTBase< Element >.

Definition at line 1735 of file TMatrixTSparse.cxx.

References TString::Contains(), TObject::Error(), TMatrixTSparse< Element >::fColIndex, TMatrixTBase< Element >::fColLwb, TMatrixTBase< Element >::fNrows, for(), TMatrixTSparse< Element >::fRowIndex, TMatrixTBase< Element >::fRowLwb, TMatrixTSparse< Element >::GetMatrixArray(), gMatrixCheck, R__ASSERT, and TString::ToUpper().

Referenced by TMatrixTSparse< Element >::GetSub(), and spstress_transposition().

template<class Element>
TMatrixTSparse< Element > TMatrixTSparse< Element >::GetSub ( Int_t  row_lwb,
Int_t  row_upb,
Int_t  col_lwb,
Int_t  col_upb,
Option_t option = "S" 
) const [inline]

Definition at line 233 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::GetSub().

template<class Element>
TMatrixTBase< Element > & TMatrixTSparse< Element >::SetSub ( Int_t  row_lwb,
Int_t  col_lwb,
const TMatrixTBase< Element > &  source 
) [virtual]

Implements TMatrixTBase< Element >.

Definition at line 1838 of file TMatrixTSparse.cxx.

References TMath::BinarySearch(), TObject::Error(), TMatrixTSparse< Element >::fColIndex, TMatrixTBase< Element >::fColLwb, TMatrixTSparse< Element >::fElements, TMatrixTBase< Element >::fNcols, TMatrixTBase< Element >::fNelems, TMatrixTBase< Element >::fNrowIndex, for(), TMatrixTSparse< Element >::fRowIndex, TMatrixTBase< Element >::fRowLwb, TMatrixTSparse< Element >::GetColIndexArray(), TMatrixTSparse< Element >::GetMatrixArray(), TMatrixTSparse< Element >::GetRowIndexArray(), gMatrixCheck, if(), kFALSE, kTRUE, and R__ASSERT.

Referenced by spstress_matrix_fill().

template<class Element>
virtual Bool_t TMatrixTSparse< Element >::IsSymmetric (  )  const [inline, virtual]

Reimplemented from TMatrixTBase< Element >.

Definition at line 150 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::kTransposed.

template<class Element>
TMatrixTSparse< Element > & TMatrixTSparse< Element >::Transpose ( const TMatrixTSparse< Element > &  source  ) 

Definition at line 1975 of file TMatrixTSparse.cxx.

References TMatrixTBase< Element >::DoubleLexSort(), TObject::Error(), TMatrixTBase< Element >::fColLwb, TMatrixTBase< Element >::fNcols, TMatrixTSparse< Element >::fRowIndex, TMatrixTBase< Element >::fRowLwb, gMatrixCheck, R__ASSERT, and TMatrixTSparse< Element >::SetMatrixArray().

Referenced by TMatrixTSparse< Element >::T(), and TMatrixTSparse< Element >::TMatrixTSparse().

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::T (  )  [inline]

Definition at line 152 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::Transpose().

template<class Element>
void TMatrixTSparse< Element >::Mult ( const TMatrixTSparse< Element > &  a,
const TMatrixTSparse< Element > &  b 
) [inline]

Definition at line 154 of file TMatrixTSparse.h.

References a, TMatrixTSparse< Element >::AMultB(), and b.

Referenced by spstress_mm_multiplications().

template<class Element>
TMatrixTBase< Element > & TMatrixTSparse< Element >::Zero (  )  [virtual]

Reimplemented from TMatrixTBase< Element >.

Definition at line 2031 of file TMatrixTSparse.cxx.

References TMatrixTSparse< Element >::fColIndex, TMatrixTSparse< Element >::fElements, TMatrixTBase< Element >::fNelems, TMatrixTBase< Element >::fNrowIndex, and R__ASSERT.

Referenced by spstress_element_op().

template<class Element>
TMatrixTBase< Element > & TMatrixTSparse< Element >::UnitMatrix (  )  [virtual]

Reimplemented from TMatrixTBase< Element >.

Definition at line 2045 of file TMatrixTSparse.cxx.

References TMatrixTSparse< Element >::fColIndex, TMatrixTBase< Element >::fColLwb, TMatrixTSparse< Element >::fElements, TMatrixTBase< Element >::fNelems, TMatrixTSparse< Element >::fRowIndex, TMatrixTBase< Element >::fRowLwb, i, j, and R__ASSERT.

Referenced by spstress_vm_multiplications(), and TMatrixTSparse< Element >::TMatrixTSparse().

template<class Element>
Element TMatrixTSparse< Element >::RowNorm (  )  const [virtual]

Reimplemented from TMatrixTBase< Element >.

Definition at line 2086 of file TMatrixTSparse.cxx.

References TMath::Abs(), TMatrixTBase< Element >::fNelems, fp, TMatrixTSparse< Element >::GetMatrixArray(), TMatrixTSparse< Element >::GetRowIndexArray(), TMath::Max(), norm(), and R__ASSERT.

template<class Element>
Element TMatrixTSparse< Element >::ColNorm (  )  const [virtual]

Reimplemented from TMatrixTBase< Element >.

Definition at line 2115 of file TMatrixTSparse.cxx.

References TMath::Abs(), TMatrixTBase< Element >::fNcols, TMatrixTBase< Element >::fNelems, fp, i, TMatrixTSparse< Element >::kTransposed, TMath::Max(), norm(), and R__ASSERT.

template<class Element>
virtual Int_t TMatrixTSparse< Element >::NonZeros (  )  const [inline, virtual]

Reimplemented from TMatrixTBase< Element >.

Definition at line 161 of file TMatrixTSparse.h.

References TMatrixTBase< Element >::fNelems.

template<class Element>
virtual TMatrixTBase<Element>& TMatrixTSparse< Element >::NormByDiag ( const TVectorT< Element > &  ,
Option_t  
) [inline, virtual]

Reimplemented from TMatrixTBase< Element >.

Definition at line 163 of file TMatrixTSparse.h.

References TObject::MayNotUse().

template<class Element>
Element TMatrixTSparse< Element >::operator() ( Int_t  rown,
Int_t  coln 
) const [virtual]

Implements TMatrixTBase< Element >.

Definition at line 2188 of file TMatrixTSparse.cxx.

References TMath::BinarySearch(), TObject::Error(), TMatrixTSparse< Element >::fColIndex, TMatrixTBase< Element >::fColLwb, TMatrixTSparse< Element >::fElements, TMatrixTSparse< Element >::fRowIndex, TMatrixTBase< Element >::fRowLwb, TObject::Info(), and R__ASSERT.

template<class Element>
Element & TMatrixTSparse< Element >::operator() ( Int_t  rown,
Int_t  coln 
) [virtual]

Implements TMatrixTBase< Element >.

Definition at line 2145 of file TMatrixTSparse.cxx.

References TMath::BinarySearch(), TObject::Error(), TMatrixTSparse< Element >::fColIndex, TMatrixTBase< Element >::fColLwb, TMatrixTSparse< Element >::fElements, TMatrixTSparse< Element >::fRowIndex, TMatrixTBase< Element >::fRowLwb, TMatrixTSparse< Element >::InsertRow(), R__ASSERT, and val.

template<class Element>
const TMatrixTSparseRow_const<Element> TMatrixTSparse< Element >::operator[] ( Int_t  rown  )  const [inline]

Definition at line 171 of file TMatrixTSparse.h.

template<class Element>
TMatrixTSparseRow<Element> TMatrixTSparse< Element >::operator[] ( Int_t  rown  )  [inline]

Definition at line 172 of file TMatrixTSparse.h.

template<class Element>
TMatrixTSparse< Element > & TMatrixTSparse< Element >::operator= ( const TMatrixT< Element > &  source  ) 

Definition at line 2240 of file TMatrixTSparse.cxx.

References AreCompatible(), TObject::Error(), TMatrixTSparse< Element >::fColIndex, TMatrixTBase< Element >::fNcols, TMatrixTSparse< Element >::fRowIndex, TMatrixTBase< Element >::fTol, TMatrixTSparse< Element >::GetMatrixArray(), and gMatrixCheck.

template<class Element>
TMatrixTSparse< Element > & TMatrixTSparse< Element >::operator= ( const TMatrixTSparse< Element > &  source  ) 

Definition at line 2217 of file TMatrixTSparse.cxx.

References AreCompatible(), TObject::Error(), TMatrixTBase< Element >::fTol, TMatrixTSparse< Element >::GetMatrixArray(), and gMatrixCheck.

template<class Element>
TMatrixTSparse< Element > & TMatrixTSparse< Element >::operator= ( Element  val  ) 

Definition at line 2271 of file TMatrixTSparse.cxx.

References TObject::Error(), TMatrixTBase< Element >::fNelems, TMatrixTSparse< Element >::fRowIndex, TMatrixTSparse< Element >::GetMatrixArray(), and R__ASSERT.

template<class Element>
TMatrixTSparse< Element > & TMatrixTSparse< Element >::operator-= ( Element  val  ) 

Definition at line 2309 of file TMatrixTSparse.cxx.

References TMatrixTBase< Element >::fNelems, TMatrixTSparse< Element >::GetMatrixArray(), and R__ASSERT.

template<class Element>
TMatrixTSparse< Element > & TMatrixTSparse< Element >::operator+= ( Element  val  ) 

Definition at line 2293 of file TMatrixTSparse.cxx.

References TMatrixTBase< Element >::fNelems, TMatrixTSparse< Element >::GetMatrixArray(), and R__ASSERT.

template<class Element>
TMatrixTSparse< Element > & TMatrixTSparse< Element >::operator *= ( Element  val  ) 

Definition at line 2325 of file TMatrixTSparse.cxx.

References TMatrixTBase< Element >::fNelems, TMatrixTSparse< Element >::GetMatrixArray(), and R__ASSERT.

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::operator+= ( const TMatrixTSparse< Element > &  source  )  [inline]

Definition at line 182 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::APlusB(), and TMatrixTSparse< Element >::Clear().

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::operator+= ( const TMatrixT< Element > &  source  )  [inline]

Definition at line 185 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::APlusB(), and TMatrixTSparse< Element >::Clear().

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::operator-= ( const TMatrixTSparse< Element > &  source  )  [inline]

Definition at line 187 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::AMinusB(), and TMatrixTSparse< Element >::Clear().

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::operator-= ( const TMatrixT< Element > &  source  )  [inline]

Definition at line 190 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::AMinusB(), and TMatrixTSparse< Element >::Clear().

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::operator *= ( const TMatrixTSparse< Element > &  source  )  [inline]

Definition at line 192 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::AMultB(), and TMatrixTSparse< Element >::Clear().

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::operator *= ( const TMatrixT< Element > &  source  )  [inline]

Definition at line 195 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::AMultB(), and TMatrixTSparse< Element >::Clear().

template<class Element>
TMatrixTBase< Element > & TMatrixTSparse< Element >::Randomize ( Element  alpha,
Element  beta,
Double_t seed 
) [virtual]

Reimplemented from TMatrixTBase< Element >.

Definition at line 2341 of file TMatrixTSparse.cxx.

References Drand(), TMatrixTSparse< Element >::GetColIndexArray(), TMatrixTSparse< Element >::GetMatrixArray(), TMatrixTBase< Element >::GetNcols(), TMatrixTBase< Element >::GetNoElements(), TMatrixTBase< Element >::GetNrows(), TMatrixTSparse< Element >::GetRowIndexArray(), k, length, m, n, and R__ASSERT.

Referenced by TQpDataSparse::DataRandom().

template<class Element>
TMatrixTSparse< Element > & TMatrixTSparse< Element >::RandomizePD ( Element  alpha,
Element  beta,
Double_t seed 
) [virtual]

Definition at line 2388 of file TMatrixTSparse.cxx.

References TMath::Abs(), Drand(), TObject::Error(), TMath::Floor(), TMatrixTBase< Element >::fNcols, TMatrixTBase< Element >::fNelems, TMatrixTSparse< Element >::GetColIndexArray(), TMatrixTSparse< Element >::GetMatrixArray(), TMatrixTSparse< Element >::GetRowIndexArray(), gMatrixCheck, k, length, n, R__ASSERT, row, and TMath::Sqrt().

Referenced by TQpDataSparse::DataRandom().

template<class Element>
void TMatrixTSparse< Element >::Allocate ( Int_t  nrows,
Int_t  ncols,
Int_t  row_lwb = 0,
Int_t  col_lwb = 0,
Int_t  init = 0,
Int_t  nr_nonzeros = 0 
) [protected]

template<class Element>
void TMatrixTSparse< Element >::AMultB ( const TMatrixTSparse< Element > &  a,
const TMatrixTSparse< Element > &  b,
Int_t  constr = 0 
) [inline, protected]

Definition at line 51 of file TMatrixTSparse.h.

References a, TMatrixTSparse< Element >::AMultBt(), b, and TMatrixTSparse< Element >::kTransposed.

template<class Element>
void TMatrixTSparse< Element >::AMultB ( const TMatrixTSparse< Element > &  a,
const TMatrixT< Element > &  b,
Int_t  constr = 0 
) [inline, protected]

Definition at line 53 of file TMatrixTSparse.h.

References a, TMatrixTSparse< Element >::AMultBt(), b, and TMatrixTSparse< Element >::kTransposed.

template<class Element>
void TMatrixTSparse< Element >::AMultB ( const TMatrixT< Element > &  a,
const TMatrixTSparse< Element > &  b,
Int_t  constr = 0 
) [inline, protected]

Definition at line 56 of file TMatrixTSparse.h.

References a, TMatrixTSparse< Element >::AMultBt(), b, and TMatrixTSparse< Element >::kTransposed.

template<class Element>
void TMatrixTSparse< Element >::AMultBt ( const TMatrixTSparse< Element > &  a,
const TMatrixTSparse< Element > &  b,
Int_t  constr = 0 
) [protected]

template<class Element>
void TMatrixTSparse< Element >::AMultBt ( const TMatrixTSparse< Element > &  a,
const TMatrixT< Element > &  b,
Int_t  constr = 0 
) [protected]

template<class Element>
void TMatrixTSparse< Element >::AMultBt ( const TMatrixT< Element > &  a,
const TMatrixTSparse< Element > &  b,
Int_t  constr = 0 
) [protected]

template<class Element>
void TMatrixTSparse< Element >::APlusB ( const TMatrixTSparse< Element > &  a,
const TMatrixTSparse< Element > &  b,
Int_t  constr = 0 
) [protected]

template<class Element>
void TMatrixTSparse< Element >::APlusB ( const TMatrixTSparse< Element > &  a,
const TMatrixT< Element > &  b,
Int_t  constr = 0 
) [protected]

template<class Element>
void TMatrixTSparse< Element >::APlusB ( const TMatrixT< Element > &  a,
const TMatrixTSparse< Element > &  b,
Int_t  constr = 0 
) [inline, protected]

Definition at line 65 of file TMatrixTSparse.h.

References a, TMatrixTSparse< Element >::APlusB(), and b.

template<class Element>
void TMatrixTSparse< Element >::AMinusB ( const TMatrixTSparse< Element > &  a,
const TMatrixTSparse< Element > &  b,
Int_t  constr = 0 
) [protected]

template<class Element>
void TMatrixTSparse< Element >::AMinusB ( const TMatrixTSparse< Element > &  a,
const TMatrixT< Element > &  b,
Int_t  constr = 0 
) [protected]

template<class Element>
void TMatrixTSparse< Element >::AMinusB ( const TMatrixT< Element > &  a,
const TMatrixTSparse< Element > &  b,
Int_t  constr = 0 
) [protected]

template<class Element>
virtual const Element* TMatrixTSparse< Element >::GetMatrixArray (  )  const [virtual]

Implements TMatrixTBase< Element >.

template<class Element>
virtual Element* TMatrixTSparse< Element >::GetMatrixArray (  )  [virtual]

Implements TMatrixTBase< Element >.

template<class Element>
virtual const Int_t* TMatrixTSparse< Element >::GetRowIndexArray (  )  const [virtual]

Implements TMatrixTBase< Element >.

template<class Element>
virtual Int_t* TMatrixTSparse< Element >::GetRowIndexArray (  )  [virtual]

Implements TMatrixTBase< Element >.

template<class Element>
virtual const Int_t* TMatrixTSparse< Element >::GetColIndexArray (  )  const [virtual]

Implements TMatrixTBase< Element >.

template<class Element>
virtual Int_t* TMatrixTSparse< Element >::GetColIndexArray (  )  [virtual]

Implements TMatrixTBase< Element >.

template<class Element>
virtual TMatrixTBase<Element>& TMatrixTSparse< Element >::SetRowIndexArray ( Int_t data  )  [inline, virtual]

Implements TMatrixTBase< Element >.

Definition at line 98 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::fRowIndex, and memmove.

template<class Element>
virtual TMatrixTBase<Element>& TMatrixTSparse< Element >::SetColIndexArray ( Int_t data  )  [inline, virtual]

Implements TMatrixTBase< Element >.

Definition at line 99 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::fColIndex, and memmove.

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::SetSparseIndex ( Int_t  nelem_new  ) 

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::SetSparseIndex ( const TMatrixTBase< Element > &  another  ) 

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::SetSparseIndexAB ( const TMatrixTSparse< Element > &  a,
const TMatrixTSparse< Element > &  b 
)

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::SetSparseIndexAB ( const TMatrixT< Element > &  a,
const TMatrixTSparse< Element > &  b 
)

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::SetSparseIndexAB ( const TMatrixTSparse< Element > &  a,
const TMatrixT< Element > &  b 
) [inline]

Definition at line 105 of file TMatrixTSparse.h.

References a, b, and TMatrixTSparse< Element >::SetSparseIndexAB().

template<class Element>
virtual void TMatrixTSparse< Element >::GetMatrix2Array ( Element *  data,
Option_t = "" 
) const [virtual]

Reimplemented from TMatrixTBase< Element >.

template<class Element>
virtual TMatrixTBase<Element>& TMatrixTSparse< Element >::SetMatrixArray ( const Element *  data,
Option_t = "" 
) [inline, virtual]

Reimplemented from TMatrixTBase< Element >.

Definition at line 109 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::fElements.

template<class Element>
virtual TMatrixTBase<Element>& TMatrixTSparse< Element >::SetMatrixArray ( Int_t  nr_nonzeros,
Int_t irow,
Int_t icol,
Element *  data 
) [virtual]

template<class Element>
virtual TMatrixTBase<Element>& TMatrixTSparse< Element >::InsertRow ( Int_t  row,
Int_t  col,
const Element *  v,
Int_t  n = -1 
) [virtual]

Reimplemented from TMatrixTBase< Element >.

template<class Element>
virtual void TMatrixTSparse< Element >::ExtractRow ( Int_t  row,
Int_t  col,
Element *  v,
Int_t  n = -1 
) const [virtual]

Reimplemented from TMatrixTBase< Element >.

template<class Element>
virtual TMatrixTBase<Element>& TMatrixTSparse< Element >::ResizeTo ( Int_t  nrows,
Int_t  ncols,
Int_t  nr_nonzeros = -1 
) [virtual]

Implements TMatrixTBase< Element >.

template<class Element>
virtual TMatrixTBase<Element>& TMatrixTSparse< Element >::ResizeTo ( Int_t  row_lwb,
Int_t  row_upb,
Int_t  col_lwb,
Int_t  col_upb,
Int_t  nr_nonzeros = -1 
) [virtual]

Implements TMatrixTBase< Element >.

template<class Element>
TMatrixTBase<Element>& TMatrixTSparse< Element >::ResizeTo ( const TMatrixTSparse< Element > &  m  )  [inline]

Definition at line 117 of file TMatrixTSparse.h.

References m, and TMatrixTSparse< Element >::ResizeTo().

template<class Element>
virtual void TMatrixTSparse< Element >::Clear ( Option_t = ""  )  [inline, virtual]

Implements TMatrixTBase< Element >.

Definition at line 120 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::fColIndex, TMatrixTSparse< Element >::fElements, TMatrixTBase< Element >::fNelems, TMatrixTBase< Element >::fNrowIndex, and TMatrixTSparse< Element >::fRowIndex.

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::Use ( Int_t  row_lwb,
Int_t  row_upb,
Int_t  col_lwb,
Int_t  col_upb,
Int_t  nr_nonzeros,
Int_t pRowIndex,
Int_t pColIndex,
Element *  pData 
)

template<class Element>
const TMatrixTSparse<Element>& TMatrixTSparse< Element >::Use ( Int_t  row_lwb,
Int_t  row_upb,
Int_t  col_lwb,
Int_t  col_upb,
Int_t  nr_nonzeros,
const Int_t pRowIndex,
const Int_t pColIndex,
const Element *  pData 
) const [inline]

Definition at line 131 of file TMatrixTSparse.h.

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::Use ( Int_t  nrows,
Int_t  ncols,
Int_t  nr_nonzeros,
Int_t pRowIndex,
Int_t pColIndex,
Element *  pData 
)

template<class Element>
const TMatrixTSparse<Element>& TMatrixTSparse< Element >::Use ( Int_t  nrows,
Int_t  ncols,
Int_t  nr_nonzeros,
const Int_t pRowIndex,
const Int_t pColIndex,
const Element *  pData 
) const

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::Use ( TMatrixTSparse< Element > &  a  ) 

template<class Element>
const TMatrixTSparse<Element>& TMatrixTSparse< Element >::Use ( const TMatrixTSparse< Element > &  a  )  const

template<class Element>
virtual TMatrixTBase<Element>& TMatrixTSparse< Element >::GetSub ( Int_t  row_lwb,
Int_t  row_upb,
Int_t  col_lwb,
Int_t  col_upb,
TMatrixTBase< Element > &  target,
Option_t option = "S" 
) const [virtual]

Implements TMatrixTBase< Element >.

template<class Element>
TMatrixTSparse<Element> TMatrixTSparse< Element >::GetSub ( Int_t  row_lwb,
Int_t  row_upb,
Int_t  col_lwb,
Int_t  col_upb,
Option_t option = "S" 
) const

template<class Element>
virtual TMatrixTBase<Element>& TMatrixTSparse< Element >::SetSub ( Int_t  row_lwb,
Int_t  col_lwb,
const TMatrixTBase< Element > &  source 
) [virtual]

Implements TMatrixTBase< Element >.

template<class Element>
virtual Bool_t TMatrixTSparse< Element >::IsSymmetric (  )  const [inline, virtual]

Reimplemented from TMatrixTBase< Element >.

Definition at line 150 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::kTransposed.

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::Transpose ( const TMatrixTSparse< Element > &  source  ) 

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::T (  )  [inline]

Definition at line 152 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::Transpose().

template<class Element>
void TMatrixTSparse< Element >::Mult ( const TMatrixTSparse< Element > &  a,
const TMatrixTSparse< Element > &  b 
) [inline]

Definition at line 154 of file TMatrixTSparse.h.

References a, TMatrixTSparse< Element >::AMultB(), and b.

template<class Element>
virtual TMatrixTBase<Element>& TMatrixTSparse< Element >::Zero (  )  [virtual]

Reimplemented from TMatrixTBase< Element >.

template<class Element>
virtual TMatrixTBase<Element>& TMatrixTSparse< Element >::UnitMatrix (  )  [virtual]

Reimplemented from TMatrixTBase< Element >.

template<class Element>
virtual Element TMatrixTSparse< Element >::RowNorm (  )  const [virtual]

Reimplemented from TMatrixTBase< Element >.

template<class Element>
virtual Element TMatrixTSparse< Element >::ColNorm (  )  const [virtual]

Reimplemented from TMatrixTBase< Element >.

template<class Element>
virtual Int_t TMatrixTSparse< Element >::NonZeros (  )  const [inline, virtual]

Reimplemented from TMatrixTBase< Element >.

Definition at line 161 of file TMatrixTSparse.h.

References TMatrixTBase< Element >::fNelems.

template<class Element>
virtual TMatrixTBase<Element>& TMatrixTSparse< Element >::NormByDiag ( const TVectorT< Element > &  ,
Option_t  
) [inline, virtual]

Reimplemented from TMatrixTBase< Element >.

Definition at line 163 of file TMatrixTSparse.h.

References TObject::MayNotUse().

template<class Element>
Element TMatrixTSparse< Element >::operator() ( Int_t  rown,
Int_t  coln 
) const [virtual]

Implements TMatrixTBase< Element >.

template<class Element>
Element& TMatrixTSparse< Element >::operator() ( Int_t  rown,
Int_t  coln 
) [virtual]

Implements TMatrixTBase< Element >.

template<class Element>
const TMatrixTSparseRow_const<Element> TMatrixTSparse< Element >::operator[] ( Int_t  rown  )  const [inline]

Definition at line 171 of file TMatrixTSparse.h.

template<class Element>
TMatrixTSparseRow<Element> TMatrixTSparse< Element >::operator[] ( Int_t  rown  )  [inline]

Definition at line 172 of file TMatrixTSparse.h.

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::operator= ( const TMatrixT< Element > &  source  ) 

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::operator= ( const TMatrixTSparse< Element > &  source  ) 

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::operator= ( Element  val  ) 

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::operator-= ( Element  val  ) 

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::operator+= ( Element  val  ) 

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::operator *= ( Element  val  ) 

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::operator+= ( const TMatrixTSparse< Element > &  source  )  [inline]

Definition at line 182 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::APlusB(), and TMatrixTSparse< Element >::Clear().

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::operator+= ( const TMatrixT< Element > &  source  )  [inline]

Definition at line 185 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::APlusB(), and TMatrixTSparse< Element >::Clear().

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::operator-= ( const TMatrixTSparse< Element > &  source  )  [inline]

Definition at line 187 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::AMinusB(), and TMatrixTSparse< Element >::Clear().

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::operator-= ( const TMatrixT< Element > &  source  )  [inline]

Definition at line 190 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::AMinusB(), and TMatrixTSparse< Element >::Clear().

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::operator *= ( const TMatrixTSparse< Element > &  source  )  [inline]

Definition at line 192 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::AMultB(), and TMatrixTSparse< Element >::Clear().

template<class Element>
TMatrixTSparse<Element>& TMatrixTSparse< Element >::operator *= ( const TMatrixT< Element > &  source  )  [inline]

Definition at line 195 of file TMatrixTSparse.h.

References TMatrixTSparse< Element >::AMultB(), and TMatrixTSparse< Element >::Clear().

template<class Element>
virtual TMatrixTBase<Element>& TMatrixTSparse< Element >::Randomize ( Element  alpha,
Element  beta,
Double_t seed 
) [virtual]

Reimplemented from TMatrixTBase< Element >.

template<class Element>
virtual TMatrixTSparse<Element>& TMatrixTSparse< Element >::RandomizePD ( Element  alpha,
Element  beta,
Double_t seed 
) [virtual]

template<>
TClass * TMatrixTSparse< double >::Class (  ) 

Reimplemented from TMatrixTBase< Element >.

Definition at line 3434 of file G__Matrix.cxx.

References ROOT::GenerateInitInstanceLocal(), and x0.

template<>
TClass * TMatrixTSparse< float >::Class (  ) 

Reimplemented from TMatrixTBase< Element >.

Definition at line 4182 of file G__Matrix.cxx.

References ROOT::GenerateInitInstanceLocal(), and x0.


Member Data Documentation

template<class Element>
Int_t* TMatrixTSparse< Element >::fRowIndex [protected]

Definition at line 43 of file TMatrixTSparse.h.

Referenced by TMatrixTSparse< Element >::Allocate(), TMatrixTSparse< Element >::Clear(), TMatrixTSparse< Element >::ExtractRow(), TMatrixTSparse< Element >::GetRowIndexArray(), TMatrixTSparse< Element >::GetSub(), TMatrixTSparse< Element >::InsertRow(), TMatrixTSparse< Element >::operator()(), TMatrixTSparse< Element >::operator=(), TMatrixTSparse< Element >::SetMatrixArray(), TMatrixTSparse< Element >::SetRowIndexArray(), TMatrixTSparse< Element >::SetSparseIndex(), TMatrixTSparse< Element >::SetSub(), TMatrixTSparse< Element >::TMatrixTSparse(), TMatrixTSparse< Element >::Transpose(), TMatrixTSparse< Element >::UnitMatrix(), and TMatrixTSparse< Element >::Use().

template<class Element>
Int_t* TMatrixTSparse< Element >::fColIndex [protected]

Definition at line 44 of file TMatrixTSparse.h.

Referenced by TMatrixTSparse< Element >::Allocate(), TMatrixTSparse< Element >::Clear(), TMatrixTSparse< Element >::GetColIndexArray(), TMatrixTSparse< Element >::GetSub(), TMatrixTSparse< Element >::InsertRow(), TMatrixTSparse< Element >::operator()(), TMatrixTSparse< Element >::operator=(), TMatrixTSparse< Element >::SetColIndexArray(), TMatrixTSparse< Element >::SetMatrixArray(), TMatrixTSparse< Element >::SetSparseIndex(), TMatrixTSparse< Element >::SetSub(), TMatrixTSparse< Element >::TMatrixTSparse(), TMatrixTSparse< Element >::UnitMatrix(), TMatrixTSparse< Element >::Use(), and TMatrixTSparse< Element >::Zero().

template<class Element>
Element* TMatrixTSparse< Element >::fElements [protected]

Definition at line 45 of file TMatrixTSparse.h.

Referenced by TMatrixTSparse< Element >::Allocate(), TMatrixTSparse< Element >::Clear(), TMatrixTSparse< Element >::GetMatrixArray(), TMatrixTSparse< Element >::InsertRow(), TMatrixTSparse< Element >::operator()(), TMatrixTSparse< Element >::SetMatrixArray(), TMatrixTSparse< Element >::SetSparseIndex(), TMatrixTSparse< Element >::SetSub(), TMatrixTSparse< Element >::TMatrixTSparse(), TMatrixTSparse< Element >::UnitMatrix(), TMatrixTSparse< Element >::Use(), and TMatrixTSparse< Element >::Zero().

template<class Element>
Int_t* TMatrixTSparse< Element >::fRowIndex [protected]

Definition at line 43 of file TMatrixTSparse.h.

template<class Element>
Int_t* TMatrixTSparse< Element >::fColIndex [protected]

Definition at line 44 of file TMatrixTSparse.h.

template<class Element>
Element* TMatrixTSparse< Element >::fElements [protected]

Definition at line 45 of file TMatrixTSparse.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:42:50 2011 for ROOT_528-00b_version by  doxygen 1.5.1