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

template<class Element>
class TMatrixTDiag< Element >

Definition at line 353 of file TMatrixTUtils.h.

Public Member Functions

 TMatrixTDiag ()
 
 TMatrixTDiag (const TMatrixTDiag< Element > &md)
 Copy constructor.
 
 TMatrixTDiag (TMatrixT< Element > &matrix)
 Constructor.
 
 TMatrixTDiag (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 TMatrixTDiag_const< Element > &d)
 Multiply every element of the matrix diagonal with the corresponding element of diagonal md.
 
void operator*= (Element val)
 Assign val to every element of the matrix diagonal.
 
void operator+= (const TMatrixTDiag_const< Element > &d)
 Add to every element of the matrix diagonal the corresponding element of diagonal md.
 
void operator+= (Element val)
 Assign val to every element of the matrix diagonal.
 
TMatrixTDiag< Element > & operator= (const TMatrixTDiag< Element > &d)
 
void operator= (const TMatrixTDiag_const< Element > &d)
 Assignment operator.
 
void operator= (const TVectorT< Element > &vec)
 Assign a vector to the matrix diagonal.
 
void operator= (Element val)
 Assign val to every element of the matrix diagonal.
 
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 TMatrixTDiag_const< Element >
 TMatrixTDiag_const ()
 
 TMatrixTDiag_const (const TMatrixT< Element > &matrix)
 Constructor.
 
 TMatrixTDiag_const (const TMatrixTDiag_const< Element > &trc)
 
 TMatrixTDiag_const (const TMatrixTSym< Element > &matrix)
 Constructor.
 
virtual ~TMatrixTDiag_const ()
 
Int_t GetInc () const
 
const TMatrixTBase< Element > * GetMatrix () const
 
Int_t GetNdiags () const
 
const Element * GetPtr () const
 
const Element & operator() (Int_t i) const
 
TMatrixTDiag_const< Element > & operator= (const TMatrixTDiag_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 TMatrixTDiag_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 TMatrixTDiag_const< Element >
Int_t fInc
 
const TMatrixTBase< Element > * fMatrix
 
Int_t fNdiag
 
const Element * fPtr
 

#include <TMatrixTUtils.h>

Inheritance diagram for TMatrixTDiag< Element >:
[legend]

Constructor & Destructor Documentation

◆ TMatrixTDiag() [1/4]

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

Definition at line 356 of file TMatrixTUtils.h.

◆ TMatrixTDiag() [2/4]

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

Constructor.

Definition at line 490 of file TMatrixTUtils.cxx.

◆ TMatrixTDiag() [3/4]

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

Constructor.

Definition at line 499 of file TMatrixTUtils.cxx.

◆ TMatrixTDiag() [4/4]

template<class Element >
TMatrixTDiag< Element >::TMatrixTDiag ( const TMatrixTDiag< Element > &  md)

Copy constructor.

Definition at line 508 of file TMatrixTUtils.cxx.

Member Function Documentation

◆ Class()

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

◆ Class_Name()

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

◆ Class_Version()

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

Definition at line 395 of file TMatrixTUtils.h.

◆ DeclFileName()

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

Definition at line 395 of file TMatrixTUtils.h.

◆ GetPtr()

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

Definition at line 361 of file TMatrixTUtils.h.

◆ IsA()

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

Reimplemented from TMatrixTDiag_const< Element >.

Definition at line 395 of file TMatrixTUtils.h.

◆ operator()() [1/2]

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

Definition at line 372 of file TMatrixTUtils.h.

◆ operator()() [2/2]

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

Definition at line 363 of file TMatrixTUtils.h.

◆ operator*=() [1/2]

template<class Element >
void TMatrixTDiag< Element >::operator*= ( const TMatrixTDiag_const< Element > &  d)

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

Definition at line 619 of file TMatrixTUtils.cxx.

◆ operator*=() [2/2]

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

Assign val to every element of the matrix diagonal.

Definition at line 541 of file TMatrixTUtils.cxx.

◆ operator+=() [1/2]

template<class Element >
void TMatrixTDiag< Element >::operator+= ( const TMatrixTDiag_const< Element > &  d)

Add to every element of the matrix diagonal the corresponding element of diagonal md.

Definition at line 597 of file TMatrixTUtils.cxx.

◆ operator+=() [2/2]

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

Assign val to every element of the matrix diagonal.

Definition at line 529 of file TMatrixTUtils.cxx.

◆ operator=() [1/4]

template<class Element >
TMatrixTDiag< Element > & TMatrixTDiag< Element >::operator= ( const TMatrixTDiag< Element > &  d)
inline

Definition at line 389 of file TMatrixTUtils.h.

◆ operator=() [2/4]

template<class Element >
void TMatrixTDiag< Element >::operator= ( const TMatrixTDiag_const< Element > &  d)

Assignment operator.

Definition at line 553 of file TMatrixTUtils.cxx.

◆ operator=() [3/4]

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

Assign a vector to the matrix diagonal.

Definition at line 576 of file TMatrixTUtils.cxx.

◆ operator=() [4/4]

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

Assign val to every element of the matrix diagonal.

Definition at line 517 of file TMatrixTUtils.cxx.

◆ operator[]() [1/2]

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

Definition at line 382 of file TMatrixTUtils.h.

◆ operator[]() [2/2]

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

Definition at line 381 of file TMatrixTUtils.h.

◆ Streamer()

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

Reimplemented from TMatrixTDiag_const< Element >.

◆ StreamerNVirtual()

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

Definition at line 395 of file TMatrixTUtils.h.

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