Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TMatrixTSparseRow< Element > Class Template Reference

template<class Element>
class TMatrixTSparseRow< Element >

Definition at line 611 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.
const Int_tGetColPtr () const
Element * GetDataPtr () const
const TMatrixTBase< Element > * GetMatrix () const
Int_t GetNindex () const
Int_t GetRowIndex () 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)

Static Public Member Functions

static TClassClass ()
static const char * Class_Name ()
static constexpr Version_t Class_Version ()
static const char * DeclFileName ()

Protected Attributes

const Int_tfColPtr
const Element * fDataPtr
const TMatrixTSparse< Element > * fMatrix
Int_t fNindex
Int_t fRowInd

#include <TMatrixTUtils.h>

Inheritance diagram for TMatrixTSparseRow< Element >:
TMatrixTSparseRow_const< Element >

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 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>
TClass * TMatrixTSparseRow< Element >::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

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

◆ Class_Version()

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

Definition at line 636 of file TMatrixTUtils.h.

◆ DeclFileName()

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

Definition at line 636 of file TMatrixTUtils.h.

◆ GetColPtr()

template<class Element>
const Int_t * TMatrixTSparseRow_const< Element >::GetColPtr ( ) const
inlineinherited

Definition at line 601 of file TMatrixTUtils.h.

◆ GetDataPtr()

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

Definition at line 618 of file TMatrixTUtils.h.

◆ GetMatrix()

template<class Element>
const TMatrixTBase< Element > * TMatrixTSparseRow_const< Element >::GetMatrix ( ) const
inlineinherited

Definition at line 599 of file TMatrixTUtils.h.

◆ GetNindex()

template<class Element>
Int_t TMatrixTSparseRow_const< Element >::GetNindex ( ) const
inlineinherited

Definition at line 603 of file TMatrixTUtils.h.

◆ GetRowIndex()

template<class Element>
Int_t TMatrixTSparseRow_const< Element >::GetRowIndex ( ) const
inlineinherited

Definition at line 602 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 636 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 630 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 623 of file TMatrixTUtils.h.

◆ operator[]() [2/2]

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

Definition at line 622 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 636 of file TMatrixTUtils.h.

Member Data Documentation

◆ fColPtr

template<class Element>
const Int_t* TMatrixTSparseRow_const< Element >::fColPtr
protectedinherited

Definition at line 587 of file TMatrixTUtils.h.

◆ fDataPtr

template<class Element>
const Element* TMatrixTSparseRow_const< Element >::fDataPtr
protectedinherited

Definition at line 588 of file TMatrixTUtils.h.

◆ fMatrix

template<class Element>
const TMatrixTSparse<Element>* TMatrixTSparseRow_const< Element >::fMatrix
protectedinherited

Definition at line 584 of file TMatrixTUtils.h.

◆ fNindex

template<class Element>
Int_t TMatrixTSparseRow_const< Element >::fNindex
protectedinherited

Definition at line 586 of file TMatrixTUtils.h.

◆ fRowInd

template<class Element>
Int_t TMatrixTSparseRow_const< Element >::fRowInd
protectedinherited

Definition at line 585 of file TMatrixTUtils.h.


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