Logo ROOT   6.18/05
Reference Guide
List of all members | Public Member Functions | List of all members
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. More...
 
 TMatrixTRow (TMatrixT< Element > &matrix, Int_t row)
 Constructor with row "row" of symmetric matrix. More...
 
 TMatrixTRow (TMatrixTSym< Element > &matrix, Int_t row)
 Constructor with row "row" of symmetric matrix. More...
 
void Assign (Element val)
 Assign val to every element of the matrix row. More...
 
Element * GetPtr () const
 
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. More...
 
void operator*= (Element val)
 Multiply every element of the matrix row with val. More...
 
void operator+= (const TMatrixTRow_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 element of the matrix row. More...
 
TMatrixTRow< Element > & operator= (const TMatrixTRow< Element > &r)
 
void operator= (const TMatrixTRow_const< Element > &r)
 Assignment operator. More...
 
void operator= (const TVectorT< Element > &vec)
 Assign a vector to a matrix row. More...
 
void operator= (std::initializer_list< Element > l)
 
Element & operator[] (Int_t i)
 
const Element & operator[] (Int_t i) const
 
- 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. More...
 
 TMatrixTRow_const (const TMatrixTRow_const< Element > &trc)
 
 TMatrixTRow_const (const TMatrixTSym< Element > &matrix, Int_t row)
 Constructor with row "row" of symmetric matrix. More...
 
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
 

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.

◆ GetPtr()

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

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

Libraries for TMatrixTRow< Element >:
[legend]

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