Logo ROOT   master
Reference Guide
TMatrixTFlat< Element > Class Template Reference

template<class Element>
class TMatrixTFlat< Element >

Definition at line 46 of file TMatrixDUtilsfwd.h.

Public Member Functions

 TMatrixTFlat ()
 
 TMatrixTFlat (TMatrixT< Element > &matrix)
 Constructor. More...
 
 TMatrixTFlat (TMatrixTSym< Element > &matrix)
 Constructor. More...
 
 TMatrixTFlat (const TMatrixTFlat< Element > &mf)
 Copy constructor. More...
 
Element * GetPtr () const
 
const Element & operator() (Int_t i) const
 
Element & operator() (Int_t i)
 
void operator*= (Element val)
 Multiply every element of the matrix with val. More...
 
void operator*= (const TMatrixTFlat_const< Element > &f)
 Multiply every element of the matrix with the corresponding element of diagonal mf. More...
 
void operator+= (Element val)
 Add val to every element of the matrix. More...
 
void operator+= (const TMatrixTFlat_const< Element > &f)
 Add to every element of the matrix the corresponding element of matrix mf. More...
 
void operator= (Element val)
 Assign val to every element of the matrix. More...
 
void operator= (const TMatrixTFlat_const< Element > &f)
 Assignment operator. More...
 
TMatrixTFlat< Element > & operator= (const TMatrixTFlat< Element > &f)
 
void operator= (const TVectorT< Element > &vec)
 Assign a vector to the matrix. The matrix is traversed row-wise. More...
 
const Element & operator[] (Int_t i) const
 
Element & operator[] (Int_t i)
 
- Public Member Functions inherited from TMatrixTFlat_const< Element >
 TMatrixTFlat_const ()
 
 TMatrixTFlat_const (const TMatrixT< Element > &matrix)
 Constructor. More...
 
 TMatrixTFlat_const (const TMatrixTSym< Element > &matrix)
 Constructor. More...
 
 TMatrixTFlat_const (const TMatrixTFlat_const< Element > &trc)
 
virtual ~TMatrixTFlat_const ()
 
const TMatrixTBase< Element > * GetMatrix () const
 
const Element * GetPtr () const
 
const Element & operator() (Int_t i) const
 
TMatrixTFlat_const< Element > & operator= (const TMatrixTFlat_const< Element > &trc)
 
const Element & operator[] (Int_t i) const
 

Additional Inherited Members

- Protected Attributes inherited from TMatrixTFlat_const< Element >
const TMatrixTBase< Element > * fMatrix
 
Int_t fNelems
 
const Element * fPtr
 

#include <TMatrixDUtilsfwd.h>

Inheritance diagram for TMatrixTFlat< Element >:
[legend]

Constructor & Destructor Documentation

◆ TMatrixTFlat() [1/4]

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

Definition at line 442 of file TMatrixTUtils.h.

◆ TMatrixTFlat() [2/4]

template<class Element >
TMatrixTFlat< Element >::TMatrixTFlat ( TMatrixT< Element > &  matrix)

Constructor.

Definition at line 666 of file TMatrixTUtils.cxx.

◆ TMatrixTFlat() [3/4]

template<class Element >
TMatrixTFlat< Element >::TMatrixTFlat ( TMatrixTSym< Element > &  matrix)

Constructor.

Definition at line 675 of file TMatrixTUtils.cxx.

◆ TMatrixTFlat() [4/4]

template<class Element >
TMatrixTFlat< Element >::TMatrixTFlat ( const TMatrixTFlat< Element > &  mf)

Copy constructor.

Definition at line 684 of file TMatrixTUtils.cxx.

Member Function Documentation

◆ GetPtr()

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

Definition at line 447 of file TMatrixTUtils.h.

◆ operator()() [1/2]

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

Definition at line 449 of file TMatrixTUtils.h.

◆ operator()() [2/2]

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

Definition at line 458 of file TMatrixTUtils.h.

◆ operator*=() [1/2]

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

Multiply every element of the matrix with val.

Definition at line 717 of file TMatrixTUtils.cxx.

◆ operator*=() [2/2]

template<class Element >
void TMatrixTFlat< Element >::operator*= ( const TMatrixTFlat_const< Element > &  f)

Multiply every element of the matrix with the corresponding element of diagonal mf.

Definition at line 791 of file TMatrixTUtils.cxx.

◆ operator+=() [1/2]

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

Add val to every element of the matrix.

Definition at line 705 of file TMatrixTUtils.cxx.

◆ operator+=() [2/2]

template<class Element >
void TMatrixTFlat< Element >::operator+= ( const TMatrixTFlat_const< Element > &  f)

Add to every element of the matrix the corresponding element of matrix mf.

Definition at line 770 of file TMatrixTUtils.cxx.

◆ operator=() [1/4]

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

Assign val to every element of the matrix.

Definition at line 693 of file TMatrixTUtils.cxx.

◆ operator=() [2/4]

template<class Element >
void TMatrixTFlat< Element >::operator= ( const TMatrixTFlat_const< Element > &  f)

Assignment operator.

Definition at line 729 of file TMatrixTUtils.cxx.

◆ operator=() [3/4]

template<class Element>
TMatrixTFlat<Element>& TMatrixTFlat< Element >::operator= ( const TMatrixTFlat< Element > &  f)
inline

Definition at line 475 of file TMatrixTUtils.h.

◆ operator=() [4/4]

template<class Element >
void TMatrixTFlat< Element >::operator= ( const TVectorT< Element > &  vec)

Assign a vector to the matrix. The matrix is traversed row-wise.

Definition at line 751 of file TMatrixTUtils.cxx.

◆ operator[]() [1/2]

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

Definition at line 467 of file TMatrixTUtils.h.

◆ operator[]() [2/2]

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

Definition at line 468 of file TMatrixTUtils.h.


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