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

template<class Element>
class TMatrixTFlat< Element >

Definition at line 439 of file TMatrixTUtils.h.

Public Member Functions

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

Definition at line 458 of file TMatrixTUtils.h.

◆ operator()() [2/2]

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

Definition at line 449 of file TMatrixTUtils.h.

◆ operator*=() [1/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*=() [2/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+=() [1/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+=() [2/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=() [1/4]

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

Definition at line 475 of file TMatrixTUtils.h.

◆ 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 >
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=() [4/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[]() [1/2]

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

Definition at line 468 of file TMatrixTUtils.h.

◆ operator[]() [2/2]

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

Definition at line 467 of file TMatrixTUtils.h.

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