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

template<class Element>
class TMatrixTRow< Element >

Definition at line 149 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.
Int_t GetInc () const
const TMatrixTBase< Element > * GetMatrix () const
Element * GetPtr () const
Int_t GetRowIndex () 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)

Static Public Member Functions

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

Protected Attributes

Int_t fInc
const TMatrixTBase< Element > * fMatrix
const Element * fPtr
Int_t fRowInd

#include <TMatrixTUtils.h>

Inheritance diagram for TMatrixTRow< Element >:
TMatrixTRow_const< Element >

Constructor & Destructor Documentation

◆ TMatrixTRow() [1/4]

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

Definition at line 152 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>
TClass * TMatrixTRow< Element >::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

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

◆ Class_Version()

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

Definition at line 199 of file TMatrixTUtils.h.

◆ DeclFileName()

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

Definition at line 199 of file TMatrixTUtils.h.

◆ GetInc()

template<class Element>
Int_t TMatrixTRow_const< Element >::GetInc ( ) const
inlineinherited

Definition at line 130 of file TMatrixTUtils.h.

◆ GetMatrix()

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

Definition at line 128 of file TMatrixTUtils.h.

◆ GetPtr()

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

Definition at line 157 of file TMatrixTUtils.h.

◆ GetRowIndex()

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

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

◆ operator()() [1/2]

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

Definition at line 171 of file TMatrixTUtils.h.

◆ operator()() [2/2]

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

Definition at line 159 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 193 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 185 of file TMatrixTUtils.h.

◆ operator[]() [2/2]

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

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

Member Data Documentation

◆ fInc

template<class Element>
Int_t TMatrixTRow_const< Element >::fInc
protectedinherited

Definition at line 115 of file TMatrixTUtils.h.

◆ fMatrix

template<class Element>
const TMatrixTBase<Element>* TMatrixTRow_const< Element >::fMatrix
protectedinherited

Definition at line 113 of file TMatrixTUtils.h.

◆ fPtr

template<class Element>
const Element* TMatrixTRow_const< Element >::fPtr
protectedinherited

Definition at line 116 of file TMatrixTUtils.h.

◆ fRowInd

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

Definition at line 114 of file TMatrixTUtils.h.


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