ROOT  6.06/09
Reference Guide
Public Member Functions | List of all members
TMatrixTSparseRow< Element > Class Template Reference

template<class Element>
class TMatrixTSparseRow< Element >

Definition at line 50 of file TMatrixDUtilsfwd.h.

Public Member Functions

 TMatrixTSparseRow ()
 
 TMatrixTSparseRow (TMatrixTSparse< Element > &matrix, Int_t row)
 Constructor with row "row" of matrix. More...
 
 TMatrixTSparseRow (const TMatrixTSparseRow< Element > &mr)
 Copy constructor. More...
 
Element * GetDataPtr () const
 
Element operator() (Int_t i) const
 
Element & operator() (Int_t i)
 operator() : pick element row(i) More...
 
Element operator[] (Int_t i) const
 
Element & operator[] (Int_t i)
 
void operator= (Element val)
 Assign val to every non-zero (!) element of the matrix row. More...
 
void operator+= (Element val)
 Add val to every non-zero (!) element of the matrix row. More...
 
void operator*= (Element val)
 Multiply every element of the matrix row by val. More...
 
void operator= (const TMatrixTSparseRow_const< Element > &r)
 Assignment operator. More...
 
TMatrixTSparseRow< Element > & operator= (const TMatrixTSparseRow< Element > &r)
 
void operator= (const TVectorT< Element > &vec)
 Assign a vector to a matrix row. More...
 
void operator+= (const TMatrixTSparseRow_const< Element > &r)
 Add to every element of the matrix row the corresponding element of row r. More...
 
void operator*= (const TMatrixTSparseRow_const< Element > &r)
 Multiply every element of the matrix row with the corresponding element of row r. More...
 
- Public Member Functions inherited from TMatrixTSparseRow_const< Element >
 TMatrixTSparseRow_const ()
 
 TMatrixTSparseRow_const (const TMatrixTSparse< Element > &matrix, Int_t row)
 Constructor with row "row" of matrix. More...
 
 TMatrixTSparseRow_const (const TMatrixTSparseRow_const< Element > &trc)
 
TMatrixTSparseRow_const< Element > & operator= (const TMatrixTSparseRow_const< Element > &trc)
 
virtual ~TMatrixTSparseRow_const ()
 
const TMatrixTBase< Element > * GetMatrix () const
 
const Element * GetDataPtr () const
 
const Int_tGetColPtr () const
 
Int_t GetRowIndex () const
 
Int_t GetNindex () const
 
Element operator() (Int_t i) const
 
Element operator[] (Int_t i) const
 

Additional Inherited Members

- Protected Attributes inherited from TMatrixTSparseRow_const< Element >
const TMatrixTSparse< Element > * fMatrix
 
Int_t fRowInd
 
Int_t fNindex
 
const Int_tfColPtr
 
const Element * fDataPtr
 

#include <TMatrixDUtilsfwd.h>

+ Inheritance diagram for TMatrixTSparseRow< Element >:
+ Collaboration diagram for TMatrixTSparseRow< Element >:

Constructor & Destructor Documentation

template<class Element>
TMatrixTSparseRow< Element >::TMatrixTSparseRow ( )
inline

Definition at line 614 of file TMatrixTUtils.h.

template<class Element >
TMatrixTSparseRow< Element >::TMatrixTSparseRow ( TMatrixTSparse< Element > &  matrix,
Int_t  row 
)

Constructor with row "row" of matrix.

Definition at line 1382 of file TMatrixTUtils.cxx.

template<class Element >
TMatrixTSparseRow< Element >::TMatrixTSparseRow ( const TMatrixTSparseRow< Element > &  mr)

Copy constructor.

Definition at line 1391 of file TMatrixTUtils.cxx.

Member Function Documentation

template<class Element>
Element* TMatrixTSparseRow< Element >::GetDataPtr ( ) const
inline

Definition at line 618 of file TMatrixTUtils.h.

template<class Element >
Element TMatrixTSparseRow< Element >::operator() ( Int_t  i) const

Definition at line 1400 of file TMatrixTUtils.cxx.

template<class Element >
Element & TMatrixTSparseRow< Element >::operator() ( Int_t  i)

operator() : pick element row(i)

Definition at line 1420 of file TMatrixTUtils.cxx.

template<class Element >
void TMatrixTSparseRow< Element >::operator*= ( Element  val)

Multiply every element of the matrix row by val.

Definition at line 1483 of file TMatrixTUtils.cxx.

template<class Element >
void TMatrixTSparseRow< Element >::operator*= ( const TMatrixTSparseRow_const< Element > &  r)

Multiply every element of the matrix row with the corresponding element of row r.

Definition at line 1589 of file TMatrixTUtils.cxx.

template<class Element >
void TMatrixTSparseRow< Element >::operator+= ( Element  val)

Add val to every non-zero (!) element of the matrix row.

Definition at line 1471 of file TMatrixTUtils.cxx.

template<class Element >
void TMatrixTSparseRow< Element >::operator+= ( const TMatrixTSparseRow_const< Element > &  r)

Add to every element of the matrix row the corresponding element of row r.

Definition at line 1554 of file TMatrixTUtils.cxx.

template<class Element >
void TMatrixTSparseRow< Element >::operator= ( Element  val)

Assign val to every non-zero (!) element of the matrix row.

Definition at line 1459 of file TMatrixTUtils.cxx.

template<class Element >
void TMatrixTSparseRow< Element >::operator= ( const TMatrixTSparseRow_const< Element > &  r)

Assignment operator.

Definition at line 1495 of file TMatrixTUtils.cxx.

template<class Element>
TMatrixTSparseRow<Element>& TMatrixTSparseRow< Element >::operator= ( const TMatrixTSparseRow< Element > &  r)
inline

Definition at line 630 of file TMatrixTUtils.h.

Referenced by TMatrixTSparseRow< Element >::operator=().

template<class Element >
void TMatrixTSparseRow< Element >::operator= ( const TVectorT< Element > &  vec)

Assign a vector to a matrix row.

The vector is considered row-vector to allow the assignment in the strict sense.

Definition at line 1528 of file TMatrixTUtils.cxx.

template<class Element>
Element TMatrixTSparseRow< Element >::operator[] ( Int_t  i) const
inline

Definition at line 622 of file TMatrixTUtils.h.

template<class Element>
Element& TMatrixTSparseRow< Element >::operator[] ( Int_t  i)
inline

Definition at line 623 of file TMatrixTUtils.h.


The documentation for this class was generated from the following files: