Logo ROOT   6.18/05
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 615 of file TMatrixTUtils.h.

Public Member Functions

 TMatrixTSparseRow ()
 
 TMatrixTSparseRow (const TMatrixTSparseRow< Element > &mr)
 Copy constructor. More...
 
 TMatrixTSparseRow (TMatrixTSparse< Element > &matrix, Int_t row)
 Constructor with row "row" of matrix. More...
 
Element * GetDataPtr () const
 
Element & operator() (Int_t i)
 operator() : pick element row(i) More...
 
Element operator() (Int_t i) const
 
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)
 Multiply every element of the matrix row by val. 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)
 Add val to every non-zero (!) element of the matrix row. More...
 
TMatrixTSparseRow< Element > & operator= (const TMatrixTSparseRow< Element > &r)
 
void operator= (const TMatrixTSparseRow_const< Element > &r)
 Assignment operator. More...
 
void operator= (const TVectorT< Element > &vec)
 Assign a vector to a matrix row. More...
 
void operator= (Element val)
 Assign val to every non-zero (!) element of the matrix row. More...
 
Element & operator[] (Int_t i)
 
Element operator[] (Int_t i) const
 
- 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 <TMatrixTUtils.h>

Inheritance diagram for TMatrixTSparseRow< Element >:
[legend]

Constructor & Destructor Documentation

◆ TMatrixTSparseRow() [1/3]

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

Definition at line 618 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 1407 of file TMatrixTUtils.cxx.

◆ TMatrixTSparseRow() [3/3]

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

Copy constructor.

Definition at line 1416 of file TMatrixTUtils.cxx.

Member Function Documentation

◆ GetDataPtr()

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

Definition at line 622 of file TMatrixTUtils.h.

◆ operator()() [1/2]

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

operator() : pick element row(i)

Definition at line 1445 of file TMatrixTUtils.cxx.

◆ operator()() [2/2]

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

Definition at line 1425 of file TMatrixTUtils.cxx.

◆ operator*=() [1/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 1614 of file TMatrixTUtils.cxx.

◆ operator*=() [2/2]

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

Multiply every element of the matrix row by val.

Definition at line 1508 of file TMatrixTUtils.cxx.

◆ operator+=() [1/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 1579 of file TMatrixTUtils.cxx.

◆ operator+=() [2/2]

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

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

Definition at line 1496 of file TMatrixTUtils.cxx.

◆ operator=() [1/4]

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

Definition at line 634 of file TMatrixTUtils.h.

◆ operator=() [2/4]

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

Assignment operator.

Definition at line 1520 of file TMatrixTUtils.cxx.

◆ operator=() [3/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 1553 of file TMatrixTUtils.cxx.

◆ operator=() [4/4]

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

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

Definition at line 1484 of file TMatrixTUtils.cxx.

◆ operator[]() [1/2]

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

Definition at line 627 of file TMatrixTUtils.h.

◆ operator[]() [2/2]

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

Definition at line 626 of file TMatrixTUtils.h.

Libraries for TMatrixTSparseRow< Element >:
[legend]

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