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

template<class Element>
class TMatrixTFlat< Element >

Definition at line 435 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
 
TClassIsA () const override
 
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
 
void Streamer (TBuffer &) override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- 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
 
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 TMatrixTFlat_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 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 438 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

◆ Class()

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

◆ Class_Name()

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

◆ Class_Version()

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

Definition at line 477 of file TMatrixTUtils.h.

◆ DeclFileName()

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

Definition at line 477 of file TMatrixTUtils.h.

◆ GetPtr()

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

Definition at line 443 of file TMatrixTUtils.h.

◆ IsA()

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

Reimplemented from TMatrixTFlat_const< Element >.

Definition at line 477 of file TMatrixTUtils.h.

◆ operator()() [1/2]

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

Definition at line 454 of file TMatrixTUtils.h.

◆ operator()() [2/2]

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

Definition at line 445 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 471 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 464 of file TMatrixTUtils.h.

◆ operator[]() [2/2]

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

Definition at line 463 of file TMatrixTUtils.h.

◆ Streamer()

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

Reimplemented from TMatrixTFlat_const< Element >.

◆ StreamerNVirtual()

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

Definition at line 477 of file TMatrixTUtils.h.

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