Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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.
 
 TMatrixTSparseRow (TMatrixTSparse< Element > &matrix, Int_t row)
 Constructor with row "row" of matrix.
 
Element * GetDataPtr () const
 
TClassIsA () const override
 
Element & operator() (Int_t i)
 operator() : pick element row(i)
 
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.
 
void operator*= (Element val)
 Multiply every element of the matrix row by val.
 
void operator+= (const TMatrixTSparseRow_const< Element > &r)
 Add to every element of the matrix row the corresponding element of row r.
 
void operator+= (Element val)
 Add val to every non-zero (!) element of the matrix row.
 
TMatrixTSparseRow< Element > & operator= (const TMatrixTSparseRow< Element > &r)
 
void operator= (const TMatrixTSparseRow_const< Element > &r)
 Assignment operator.
 
void operator= (const TVectorT< Element > &vec)
 Assign a vector to a matrix row.
 
void operator= (Element val)
 Assign val to every non-zero (!) element of the matrix row.
 
Element & operator[] (Int_t i)
 
Element operator[] (Int_t i) const
 
void Streamer (TBuffer &) override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- 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.
 
 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
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TMatrixTSparseRow_const< Element >
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

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

◆ Class()

template<class Element >
static TClass * TMatrixTSparseRow< Element >::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

template<class Element >
static const char * TMatrixTSparseRow< Element >::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

template<class Element >
static constexpr Version_t TMatrixTSparseRow< Element >::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 640 of file TMatrixTUtils.h.

◆ DeclFileName()

template<class Element >
static const char * TMatrixTSparseRow< Element >::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 640 of file TMatrixTUtils.h.

◆ GetDataPtr()

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

Definition at line 622 of file TMatrixTUtils.h.

◆ IsA()

template<class Element >
TClass * TMatrixTSparseRow< Element >::IsA ( ) const
inlineoverridevirtual
Returns
TClass describing current object

Reimplemented from TMatrixTSparseRow_const< Element >.

Definition at line 640 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.

◆ Streamer()

template<class Element >
void TMatrixTSparseRow< Element >::Streamer ( TBuffer )
overridevirtual

◆ StreamerNVirtual()

template<class Element >
void TMatrixTSparseRow< Element >::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 640 of file TMatrixTUtils.h.

  • math/matrix/inc/TMatrixDUtilsfwd.h
  • math/matrix/inc/TMatrixTUtils.h
  • math/matrix/src/TMatrixTUtils.cxx