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.
const TMatrixTBase< Element > * GetMatrix () const
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)

Static Public Member Functions

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

Protected Attributes

const TMatrixTBase< Element > * fMatrix
Int_t fNelems
const Element * fPtr

#include <TMatrixTUtils.h>

Inheritance diagram for TMatrixTFlat< Element >:
TMatrixTFlat_const< Element >

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>
TClass * TMatrixTFlat< Element >::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

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

◆ Class_Version()

template<class Element>
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>
const char * TMatrixTFlat< Element >::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 477 of file TMatrixTUtils.h.

◆ GetMatrix()

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

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

Member Data Documentation

◆ fMatrix

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

Definition at line 405 of file TMatrixTUtils.h.

◆ fNelems

template<class Element>
Int_t TMatrixTFlat_const< Element >::fNelems
protectedinherited

Definition at line 406 of file TMatrixTUtils.h.

◆ fPtr

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

Definition at line 407 of file TMatrixTUtils.h.


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