#include <TMatrixTSparse.h>
Inheritance diagram for TMatrixTSparse< Element >:
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_t * | GetRowIndexArray () const |
virtual Int_t * | GetRowIndexArray () |
virtual const Int_t * | GetColIndexArray () const |
virtual Int_t * | GetColIndexArray () |
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_t * | GetRowIndexArray () const |
virtual Int_t * | GetRowIndexArray () |
virtual const Int_t * | GetColIndexArray () const |
virtual Int_t * | GetColIndexArray () |
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<> | |
TClass * | Class () |
template<> | |
TClass * | Class () |
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_t * | fRowIndex |
Int_t * | fColIndex |
Element * | fElements |
Int_t * | fRowIndex |
Int_t * | fColIndex |
Element * | fElements |
Definition at line 39 of file TMatrixTSparse.h.
enum TMatrixTSparse::EMatrixCreatorsOp1 |
Definition at line 73 of file TMatrixTSparse.h.
enum TMatrixTSparse::EMatrixCreatorsOp2 |
Definition at line 74 of file TMatrixTSparse.h.
enum TMatrixTSparse::EMatrixCreatorsOp1 |
Definition at line 73 of file TMatrixTSparse.h.
enum TMatrixTSparse::EMatrixCreatorsOp2 |
Definition at line 74 of file TMatrixTSparse.h.
TMatrixTSparse< Element >::TMatrixTSparse | ( | ) | [inline] |
Definition at line 76 of file TMatrixTSparse.h.
References TMatrixTSparse< Element >::fColIndex, TMatrixTSparse< Element >::fElements, and TMatrixTSparse< Element >::fRowIndex.
TMatrixTSparse< Element >::TMatrixTSparse | ( | Int_t | nrows, | |
Int_t | ncols | |||
) |
TMatrixTSparse< Element >::TMatrixTSparse | ( | Int_t | row_lwb, | |
Int_t | row_upb, | |||
Int_t | col_lwb, | |||
Int_t | col_upb | |||
) |
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().
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().
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().
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().
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.
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.
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.
virtual TMatrixTSparse< Element >::~TMatrixTSparse | ( | ) | [inline, virtual] |
TMatrixTSparse< Element >::TMatrixTSparse | ( | ) | [inline] |
Definition at line 76 of file TMatrixTSparse.h.
References TMatrixTSparse< Element >::fColIndex, TMatrixTSparse< Element >::fElements, and TMatrixTSparse< Element >::fRowIndex.
TMatrixTSparse< Element >::TMatrixTSparse | ( | Int_t | nrows, | |
Int_t | ncols | |||
) |
TMatrixTSparse< Element >::TMatrixTSparse | ( | Int_t | row_lwb, | |
Int_t | row_upb, | |||
Int_t | col_lwb, | |||
Int_t | col_upb | |||
) |
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 | |||
) |
TMatrixTSparse< Element >::TMatrixTSparse | ( | const TMatrixTSparse< Element > & | another | ) |
TMatrixTSparse< Element >::TMatrixTSparse | ( | const TMatrixT< Element > & | another | ) |
TMatrixTSparse< Element >::TMatrixTSparse | ( | EMatrixCreatorsOp1 | op, | |
const TMatrixTSparse< Element > & | prototype | |||
) |
TMatrixTSparse< Element >::TMatrixTSparse | ( | const TMatrixTSparse< Element > & | a, | |
EMatrixCreatorsOp2 | op, | |||
const TMatrixTSparse< Element > & | b | |||
) |
TMatrixTSparse< Element >::TMatrixTSparse | ( | const TMatrixTSparse< Element > & | a, | |
EMatrixCreatorsOp2 | op, | |||
const TMatrixT< Element > & | b | |||
) |
TMatrixTSparse< Element >::TMatrixTSparse | ( | const TMatrixT< Element > & | a, | |
EMatrixCreatorsOp2 | op, | |||
const TMatrixTSparse< Element > & | b | |||
) |
virtual TMatrixTSparse< Element >::~TMatrixTSparse | ( | ) | [inline, virtual] |
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().
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().
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.
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.
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().
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().
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().
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().
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().
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.
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().
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().
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().
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().
Element * TMatrixTSparse< Element >::GetMatrixArray | ( | ) | [inline, virtual] |
Implements TMatrixTBase< Element >.
Definition at line 205 of file TMatrixTSparse.h.
References TMatrixTSparse< Element >::fElements.
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().
Int_t * TMatrixTSparse< Element >::GetRowIndexArray | ( | ) | [inline, virtual] |
Implements TMatrixTBase< Element >.
Definition at line 207 of file TMatrixTSparse.h.
References TMatrixTSparse< Element >::fRowIndex.
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().
Int_t * TMatrixTSparse< Element >::GetColIndexArray | ( | ) | [inline, virtual] |
Implements TMatrixTBase< Element >.
Definition at line 209 of file TMatrixTSparse.h.
References TMatrixTSparse< Element >::fColIndex.
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.
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.
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().
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().
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().
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().
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().
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.
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().
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.
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().
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().
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().
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.
TMatrixTBase<Element>& TMatrixTSparse< Element >::ResizeTo | ( | const TMatrixTSparse< Element > & | m | ) | [inline] |
Definition at line 117 of file TMatrixTSparse.h.
References m, and TMatrixTSparse< Element >::ResizeTo().
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().
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().
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.
TMatrixTSparse< Element > & TMatrixTSparse< Element >::Use | ( | Int_t | nrows, | |
Int_t | ncols, | |||
Int_t | nr_nonzeros, | |||
Int_t * | pRowIndex, | |||
Int_t * | pColIndex, | |||
Element * | pData | |||
) | [inline] |
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] |
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().
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().
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().
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] |
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().
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.
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().
TMatrixTSparse<Element>& TMatrixTSparse< Element >::T | ( | ) | [inline] |
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().
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().
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().
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.
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.
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.
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().
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.
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.
const TMatrixTSparseRow_const<Element> TMatrixTSparse< Element >::operator[] | ( | Int_t | rown | ) | const [inline] |
Definition at line 171 of file TMatrixTSparse.h.
TMatrixTSparseRow<Element> TMatrixTSparse< Element >::operator[] | ( | Int_t | rown | ) | [inline] |
Definition at line 172 of file TMatrixTSparse.h.
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.
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.
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.
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.
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.
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.
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().
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().
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().
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().
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().
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().
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().
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().
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] |
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.
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.
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.
void TMatrixTSparse< Element >::AMultBt | ( | const TMatrixTSparse< Element > & | a, | |
const TMatrixTSparse< Element > & | b, | |||
Int_t | constr = 0 | |||
) | [protected] |
void TMatrixTSparse< Element >::AMultBt | ( | const TMatrixTSparse< Element > & | a, | |
const TMatrixT< Element > & | b, | |||
Int_t | constr = 0 | |||
) | [protected] |
void TMatrixTSparse< Element >::AMultBt | ( | const TMatrixT< Element > & | a, | |
const TMatrixTSparse< Element > & | b, | |||
Int_t | constr = 0 | |||
) | [protected] |
void TMatrixTSparse< Element >::APlusB | ( | const TMatrixTSparse< Element > & | a, | |
const TMatrixTSparse< Element > & | b, | |||
Int_t | constr = 0 | |||
) | [protected] |
void TMatrixTSparse< Element >::APlusB | ( | const TMatrixTSparse< Element > & | a, | |
const TMatrixT< Element > & | b, | |||
Int_t | constr = 0 | |||
) | [protected] |
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.
void TMatrixTSparse< Element >::AMinusB | ( | const TMatrixTSparse< Element > & | a, | |
const TMatrixTSparse< Element > & | b, | |||
Int_t | constr = 0 | |||
) | [protected] |
void TMatrixTSparse< Element >::AMinusB | ( | const TMatrixTSparse< Element > & | a, | |
const TMatrixT< Element > & | b, | |||
Int_t | constr = 0 | |||
) | [protected] |
void TMatrixTSparse< Element >::AMinusB | ( | const TMatrixT< Element > & | a, | |
const TMatrixTSparse< Element > & | b, | |||
Int_t | constr = 0 | |||
) | [protected] |
virtual const Element* TMatrixTSparse< Element >::GetMatrixArray | ( | ) | const [virtual] |
Implements TMatrixTBase< Element >.
virtual Element* TMatrixTSparse< Element >::GetMatrixArray | ( | ) | [virtual] |
Implements TMatrixTBase< Element >.
virtual const Int_t* TMatrixTSparse< Element >::GetRowIndexArray | ( | ) | const [virtual] |
Implements TMatrixTBase< Element >.
virtual Int_t* TMatrixTSparse< Element >::GetRowIndexArray | ( | ) | [virtual] |
Implements TMatrixTBase< Element >.
virtual const Int_t* TMatrixTSparse< Element >::GetColIndexArray | ( | ) | const [virtual] |
Implements TMatrixTBase< Element >.
virtual Int_t* TMatrixTSparse< Element >::GetColIndexArray | ( | ) | [virtual] |
Implements TMatrixTBase< 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.
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.
TMatrixTSparse<Element>& TMatrixTSparse< Element >::SetSparseIndex | ( | Int_t | nelem_new | ) |
TMatrixTSparse<Element>& TMatrixTSparse< Element >::SetSparseIndex | ( | const TMatrixTBase< Element > & | another | ) |
TMatrixTSparse<Element>& TMatrixTSparse< Element >::SetSparseIndexAB | ( | const TMatrixTSparse< Element > & | a, | |
const TMatrixTSparse< Element > & | b | |||
) |
TMatrixTSparse<Element>& TMatrixTSparse< Element >::SetSparseIndexAB | ( | const TMatrixT< Element > & | a, | |
const TMatrixTSparse< Element > & | b | |||
) |
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().
virtual void TMatrixTSparse< Element >::GetMatrix2Array | ( | Element * | data, | |
Option_t * | = "" | |||
) | const [virtual] |
Reimplemented from TMatrixTBase< 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.
virtual TMatrixTBase<Element>& TMatrixTSparse< Element >::SetMatrixArray | ( | Int_t | nr_nonzeros, | |
Int_t * | irow, | |||
Int_t * | icol, | |||
Element * | data | |||
) | [virtual] |
virtual TMatrixTBase<Element>& TMatrixTSparse< Element >::InsertRow | ( | Int_t | row, | |
Int_t | col, | |||
const Element * | v, | |||
Int_t | n = -1 | |||
) | [virtual] |
Reimplemented from TMatrixTBase< Element >.
virtual void TMatrixTSparse< Element >::ExtractRow | ( | Int_t | row, | |
Int_t | col, | |||
Element * | v, | |||
Int_t | n = -1 | |||
) | const [virtual] |
Reimplemented from TMatrixTBase< Element >.
virtual TMatrixTBase<Element>& TMatrixTSparse< Element >::ResizeTo | ( | Int_t | nrows, | |
Int_t | ncols, | |||
Int_t | nr_nonzeros = -1 | |||
) | [virtual] |
Implements TMatrixTBase< 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 >.
TMatrixTBase<Element>& TMatrixTSparse< Element >::ResizeTo | ( | const TMatrixTSparse< Element > & | m | ) | [inline] |
Definition at line 117 of file TMatrixTSparse.h.
References m, and TMatrixTSparse< Element >::ResizeTo().
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.
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 | |||
) |
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.
TMatrixTSparse<Element>& TMatrixTSparse< Element >::Use | ( | Int_t | nrows, | |
Int_t | ncols, | |||
Int_t | nr_nonzeros, | |||
Int_t * | pRowIndex, | |||
Int_t * | pColIndex, | |||
Element * | pData | |||
) |
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 |
TMatrixTSparse<Element>& TMatrixTSparse< Element >::Use | ( | TMatrixTSparse< Element > & | a | ) |
const TMatrixTSparse<Element>& TMatrixTSparse< Element >::Use | ( | const TMatrixTSparse< Element > & | a | ) | const |
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 >.
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 |
virtual TMatrixTBase<Element>& TMatrixTSparse< Element >::SetSub | ( | Int_t | row_lwb, | |
Int_t | col_lwb, | |||
const TMatrixTBase< Element > & | source | |||
) | [virtual] |
Implements TMatrixTBase< 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.
TMatrixTSparse<Element>& TMatrixTSparse< Element >::Transpose | ( | const TMatrixTSparse< Element > & | source | ) |
TMatrixTSparse<Element>& TMatrixTSparse< Element >::T | ( | ) | [inline] |
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.
virtual TMatrixTBase<Element>& TMatrixTSparse< Element >::Zero | ( | ) | [virtual] |
Reimplemented from TMatrixTBase< Element >.
virtual TMatrixTBase<Element>& TMatrixTSparse< Element >::UnitMatrix | ( | ) | [virtual] |
Reimplemented from TMatrixTBase< Element >.
virtual Element TMatrixTSparse< Element >::RowNorm | ( | ) | const [virtual] |
Reimplemented from TMatrixTBase< Element >.
virtual Element TMatrixTSparse< Element >::ColNorm | ( | ) | const [virtual] |
Reimplemented from TMatrixTBase< 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.
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().
Element TMatrixTSparse< Element >::operator() | ( | Int_t | rown, | |
Int_t | coln | |||
) | const [virtual] |
Implements TMatrixTBase< Element >.
Element& TMatrixTSparse< Element >::operator() | ( | Int_t | rown, | |
Int_t | coln | |||
) | [virtual] |
Implements TMatrixTBase< Element >.
const TMatrixTSparseRow_const<Element> TMatrixTSparse< Element >::operator[] | ( | Int_t | rown | ) | const [inline] |
Definition at line 171 of file TMatrixTSparse.h.
TMatrixTSparseRow<Element> TMatrixTSparse< Element >::operator[] | ( | Int_t | rown | ) | [inline] |
Definition at line 172 of file TMatrixTSparse.h.
TMatrixTSparse<Element>& TMatrixTSparse< Element >::operator= | ( | const TMatrixT< Element > & | source | ) |
TMatrixTSparse<Element>& TMatrixTSparse< Element >::operator= | ( | const TMatrixTSparse< Element > & | source | ) |
TMatrixTSparse<Element>& TMatrixTSparse< Element >::operator= | ( | Element | val | ) |
TMatrixTSparse<Element>& TMatrixTSparse< Element >::operator-= | ( | Element | val | ) |
TMatrixTSparse<Element>& TMatrixTSparse< Element >::operator+= | ( | Element | val | ) |
TMatrixTSparse<Element>& TMatrixTSparse< Element >::operator *= | ( | Element | val | ) |
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().
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().
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().
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().
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().
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().
virtual TMatrixTBase<Element>& TMatrixTSparse< Element >::Randomize | ( | Element | alpha, | |
Element | beta, | |||
Double_t & | seed | |||
) | [virtual] |
Reimplemented from TMatrixTBase< Element >.
virtual TMatrixTSparse<Element>& TMatrixTSparse< Element >::RandomizePD | ( | Element | alpha, | |
Element | beta, | |||
Double_t & | seed | |||
) | [virtual] |
TClass * TMatrixTSparse< double >::Class | ( | ) |
Reimplemented from TMatrixTBase< Element >.
Definition at line 3434 of file G__Matrix.cxx.
References ROOT::GenerateInitInstanceLocal(), and x0.
TClass * TMatrixTSparse< float >::Class | ( | ) |
Reimplemented from TMatrixTBase< Element >.
Definition at line 4182 of file G__Matrix.cxx.
References ROOT::GenerateInitInstanceLocal(), and x0.
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().
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().
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().
Int_t* TMatrixTSparse< Element >::fRowIndex [protected] |
Definition at line 43 of file TMatrixTSparse.h.
Int_t* TMatrixTSparse< Element >::fColIndex [protected] |
Definition at line 44 of file TMatrixTSparse.h.
Element* TMatrixTSparse< Element >::fElements [protected] |
Definition at line 45 of file TMatrixTSparse.h.