Logo ROOT   6.08/07
Reference Guide
List of all members | 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...
 
void operator*= (Element val)
 Multiply every element of the matrix row by val. More...
 
void operator*= (const TMatrixTSparseRow_const< Element > &r)
 Multiply every element of the matrix row with the corresponding element of row r. More...
 
void operator+= (Element val)
 Add val to every non-zero (!) element of the 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= (Element val)
 Assign val to every non-zero (!) element of the matrix row. 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...
 
Element operator[] (Int_t i) const
 
Element & operator[] (Int_t i)
 
- 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)
 
virtual ~TMatrixTSparseRow_const ()
 
const Int_tGetColPtr () const
 
const Element * GetDataPtr () const
 
const TMatrixTBase< Element > * GetMatrix () const
 
Int_t GetNindex () const
 
Int_t GetRowIndex () const
 
Element operator() (Int_t i) const
 
TMatrixTSparseRow_const< Element > & operator= (const TMatrixTSparseRow_const< Element > &trc)
 
Element operator[] (Int_t i) const
 

Additional Inherited Members

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

#include <TMatrixDUtilsfwd.h>

Inheritance diagram for TMatrixTSparseRow< Element >:
[legend]

Constructor & Destructor Documentation

◆ TMatrixTSparseRow() [1/3]

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

Definition at line 614 of file TMatrixTUtils.h.

◆ TMatrixTSparseRow() [2/3]

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

Constructor with row "row" of matrix.

Definition at line 1384 of file TMatrixTUtils.cxx.

◆ TMatrixTSparseRow() [3/3]

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

Copy constructor.

Definition at line 1393 of file TMatrixTUtils.cxx.

Member Function Documentation

◆ GetDataPtr()

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

Definition at line 618 of file TMatrixTUtils.h.

◆ operator()() [1/2]

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

Definition at line 1402 of file TMatrixTUtils.cxx.

◆ operator()() [2/2]

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

operator() : pick element row(i)

Definition at line 1422 of file TMatrixTUtils.cxx.

◆ operator*=() [1/2]

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

Multiply every element of the matrix row by val.

Definition at line 1485 of file TMatrixTUtils.cxx.

◆ operator*=() [2/2]

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 1591 of file TMatrixTUtils.cxx.

◆ operator+=() [1/2]

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

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

Definition at line 1473 of file TMatrixTUtils.cxx.

◆ operator+=() [2/2]

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 1556 of file TMatrixTUtils.cxx.

◆ operator=() [1/4]

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

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

Definition at line 1461 of file TMatrixTUtils.cxx.

◆ operator=() [2/4]

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

Assignment operator.

Definition at line 1497 of file TMatrixTUtils.cxx.

◆ operator=() [3/4]

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

Definition at line 630 of file TMatrixTUtils.h.

◆ operator=() [4/4]

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 1530 of file TMatrixTUtils.cxx.

◆ operator[]() [1/2]

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

Definition at line 622 of file TMatrixTUtils.h.

◆ operator[]() [2/2]

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: