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

template<class Element>
class TMatrixTRow< Element >

Definition at line 153 of file TMatrixTUtils.h.

Public Member Functions

 TMatrixTRow ()
 
 TMatrixTRow (const TMatrixTRow< Element > &mr)
 Copy constructor.
 
 TMatrixTRow (TMatrixT< Element > &matrix, Int_t row)
 Constructor with row "row" of symmetric matrix.
 
 TMatrixTRow (TMatrixTSym< Element > &matrix, Int_t row)
 Constructor with row "row" of symmetric matrix.
 
void Assign (Element val)
 Assign val to every element of the matrix row.
 
Element * GetPtr () const
 
TClassIsA () const override
 
Element & operator() (Int_t i)
 
const Element & operator() (Int_t i) const
 
void operator*= (const TMatrixTRow_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 with val.
 
void operator+= (const TMatrixTRow_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 element of the matrix row.
 
TMatrixTRow< Element > & operator= (const TMatrixTRow< Element > &r)
 
void operator= (const TMatrixTRow_const< Element > &r)
 Assignment operator.
 
void operator= (const TVectorT< Element > &vec)
 Assign a vector to a matrix row.
 
void operator= (std::initializer_list< Element > l)
 
Element & operator[] (Int_t i)
 
const Element & operator[] (Int_t i) const
 
void Streamer (TBuffer &) override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TMatrixTRow_const< Element >
 TMatrixTRow_const ()
 
 TMatrixTRow_const (const TMatrixT< Element > &matrix, Int_t row)
 Constructor with row "row" of matrix.
 
 TMatrixTRow_const (const TMatrixTRow_const< Element > &trc)
 
 TMatrixTRow_const (const TMatrixTSym< Element > &matrix, Int_t row)
 Constructor with row "row" of symmetric matrix.
 
virtual ~TMatrixTRow_const ()
 
Int_t GetInc () const
 
const TMatrixTBase< Element > * GetMatrix () const
 
const Element * GetPtr () const
 
Int_t GetRowIndex () const
 
const Element & operator() (Int_t i) const
 
TMatrixTRow_const< Element > & operator= (const TMatrixTRow_const< Element > &trc)
 
const 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 TMatrixTRow_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 TMatrixTRow_const< Element >
Int_t fInc
 
const TMatrixTBase< Element > * fMatrix
 
const Element * fPtr
 
Int_t fRowInd
 

#include <TMatrixTUtils.h>

Inheritance diagram for TMatrixTRow< Element >:
[legend]

Constructor & Destructor Documentation

◆ TMatrixTRow() [1/4]

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

Definition at line 156 of file TMatrixTUtils.h.

◆ TMatrixTRow() [2/4]

template<class Element >
TMatrixTRow< Element >::TMatrixTRow ( TMatrixT< Element > &  matrix,
Int_t  row 
)

Constructor with row "row" of symmetric matrix.

Definition at line 90 of file TMatrixTUtils.cxx.

◆ TMatrixTRow() [3/4]

template<class Element >
TMatrixTRow< Element >::TMatrixTRow ( TMatrixTSym< Element > &  matrix,
Int_t  row 
)

Constructor with row "row" of symmetric matrix.

Definition at line 99 of file TMatrixTUtils.cxx.

◆ TMatrixTRow() [4/4]

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

Copy constructor.

Definition at line 108 of file TMatrixTUtils.cxx.

Member Function Documentation

◆ Assign()

template<class Element >
void TMatrixTRow< Element >::Assign ( Element  val)

Assign val to every element of the matrix row.

Definition at line 117 of file TMatrixTUtils.cxx.

◆ Class()

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

◆ Class_Name()

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

◆ Class_Version()

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

Definition at line 203 of file TMatrixTUtils.h.

◆ DeclFileName()

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

Definition at line 203 of file TMatrixTUtils.h.

◆ GetPtr()

template<class Element >
Element * TMatrixTRow< Element >::GetPtr ( ) const
inline

Definition at line 161 of file TMatrixTUtils.h.

◆ IsA()

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

Reimplemented from TMatrixTRow_const< Element >.

Definition at line 203 of file TMatrixTUtils.h.

◆ operator()() [1/2]

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

Definition at line 175 of file TMatrixTUtils.h.

◆ operator()() [2/2]

template<class Element >
const Element & TMatrixTRow< Element >::operator() ( Int_t  i) const
inline

Definition at line 163 of file TMatrixTUtils.h.

◆ operator*=() [1/2]

template<class Element >
void TMatrixTRow< Element >::operator*= ( const TMatrixTRow_const< Element > &  r)

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

Definition at line 230 of file TMatrixTUtils.cxx.

◆ operator*=() [2/2]

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

Multiply every element of the matrix row with val.

Definition at line 151 of file TMatrixTUtils.cxx.

◆ operator+=() [1/2]

template<class Element >
void TMatrixTRow< Element >::operator+= ( const TMatrixTRow_const< Element > &  r)

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

Definition at line 207 of file TMatrixTUtils.cxx.

◆ operator+=() [2/2]

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

Add val to every element of the matrix row.

Definition at line 139 of file TMatrixTUtils.cxx.

◆ operator=() [1/4]

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

Definition at line 197 of file TMatrixTUtils.h.

◆ operator=() [2/4]

template<class Element >
void TMatrixTRow< Element >::operator= ( const TMatrixTRow_const< Element > &  r)

Assignment operator.

Definition at line 163 of file TMatrixTUtils.cxx.

◆ operator=() [3/4]

template<class Element >
void TMatrixTRow< 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 187 of file TMatrixTUtils.cxx.

◆ operator=() [4/4]

template<class Element >
void TMatrixTRow< Element >::operator= ( std::initializer_list< Element >  l)

Definition at line 126 of file TMatrixTUtils.cxx.

◆ operator[]() [1/2]

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

Definition at line 189 of file TMatrixTUtils.h.

◆ operator[]() [2/2]

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

Definition at line 188 of file TMatrixTUtils.h.

◆ Streamer()

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

Reimplemented from TMatrixTRow_const< Element >.

◆ StreamerNVirtual()

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

Definition at line 203 of file TMatrixTUtils.h.

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