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

template<class Element>
class TMatrixTDiag< Element >

Definition at line 349 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.
Int_t GetInc () const
const TMatrixTBase< Element > * GetMatrix () const
Int_t GetNdiags () const
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)

Static Public Member Functions

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

Protected Attributes

Int_t fInc
const TMatrixTBase< Element > * fMatrix
Int_t fNdiag
const Element * fPtr

#include <TMatrixTUtils.h>

Inheritance diagram for TMatrixTDiag< Element >:
TMatrixTDiag_const< Element >

Constructor & Destructor Documentation

◆ TMatrixTDiag() [1/4]

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

Definition at line 352 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>
TClass * TMatrixTDiag< Element >::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

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

◆ Class_Version()

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

Definition at line 391 of file TMatrixTUtils.h.

◆ DeclFileName()

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

Definition at line 391 of file TMatrixTUtils.h.

◆ GetInc()

template<class Element>
Int_t TMatrixTDiag_const< Element >::GetInc ( ) const
inlineinherited

Definition at line 332 of file TMatrixTUtils.h.

◆ GetMatrix()

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

Definition at line 330 of file TMatrixTUtils.h.

◆ GetNdiags()

template<class Element>
Int_t TMatrixTDiag_const< Element >::GetNdiags ( ) const
inlineinherited

Definition at line 344 of file TMatrixTUtils.h.

◆ GetPtr()

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

Definition at line 357 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 391 of file TMatrixTUtils.h.

◆ operator()() [1/2]

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

Definition at line 368 of file TMatrixTUtils.h.

◆ operator()() [2/2]

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

Definition at line 359 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 385 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 378 of file TMatrixTUtils.h.

◆ operator[]() [2/2]

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

Definition at line 377 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 391 of file TMatrixTUtils.h.

Member Data Documentation

◆ fInc

template<class Element>
Int_t TMatrixTDiag_const< Element >::fInc
protectedinherited

Definition at line 316 of file TMatrixTUtils.h.

◆ fMatrix

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

Definition at line 315 of file TMatrixTUtils.h.

◆ fNdiag

template<class Element>
Int_t TMatrixTDiag_const< Element >::fNdiag
protectedinherited

Definition at line 317 of file TMatrixTUtils.h.

◆ fPtr

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

Definition at line 318 of file TMatrixTUtils.h.


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