Logo ROOT   master
Reference Guide
TMatrixTDiag< Element > Class Template Reference

template<class Element>
class TMatrixTDiag< Element >

Definition at line 45 of file TMatrixDUtilsfwd.h.

Public Member Functions

 TMatrixTDiag ()
 
 TMatrixTDiag (TMatrixT< Element > &matrix)
 Constructor. More...
 
 TMatrixTDiag (TMatrixTSym< Element > &matrix)
 Constructor. More...
 
 TMatrixTDiag (const TMatrixTDiag< Element > &md)
 Copy constructor. More...
 
Element * GetPtr () const
 
const Element & operator() (Int_t i) const
 
Element & operator() (Int_t i)
 
void operator*= (Element val)
 Assign val to every element of the matrix diagonal. More...
 
void operator*= (const TMatrixTDiag_const< Element > &d)
 Multiply every element of the matrix diagonal with the corresponding element of diagonal md. More...
 
void operator+= (Element val)
 Assign val to every element of the matrix diagonal. More...
 
void operator+= (const TMatrixTDiag_const< Element > &d)
 Add to every element of the matrix diagonal the corresponding element of diagonal md. More...
 
void operator= (Element val)
 Assign val to every element of the matrix diagonal. More...
 
void operator= (const TMatrixTDiag_const< Element > &d)
 Assignment operator. More...
 
TMatrixTDiag< Element > & operator= (const TMatrixTDiag< Element > &d)
 
void operator= (const TVectorT< Element > &vec)
 Assign a vector to the matrix diagonal. More...
 
const Element & operator[] (Int_t i) const
 
Element & operator[] (Int_t i)
 
- Public Member Functions inherited from TMatrixTDiag_const< Element >
 TMatrixTDiag_const ()
 
 TMatrixTDiag_const (const TMatrixT< Element > &matrix)
 Constructor. More...
 
 TMatrixTDiag_const (const TMatrixTSym< Element > &matrix)
 Constructor. More...
 
 TMatrixTDiag_const (const TMatrixTDiag_const< Element > &trc)
 
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
 

Additional Inherited Members

- Protected Attributes inherited from TMatrixTDiag_const< Element >
Int_t fInc
 
const TMatrixTBase< Element > * fMatrix
 
Int_t fNdiag
 
const Element * fPtr
 

#include <TMatrixDUtilsfwd.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

◆ GetPtr()

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

Definition at line 361 of file TMatrixTUtils.h.

◆ operator()() [1/2]

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

Definition at line 363 of file TMatrixTUtils.h.

◆ operator()() [2/2]

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

Definition at line 372 of file TMatrixTUtils.h.

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

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

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

Definition at line 619 of file TMatrixTUtils.cxx.

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

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

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

Definition at line 597 of file TMatrixTUtils.cxx.

◆ operator=() [1/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=() [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>
TMatrixTDiag<Element>& TMatrixTDiag< Element >::operator= ( const TMatrixTDiag< Element > &  d)
inline

Definition at line 389 of file TMatrixTUtils.h.

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

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

Definition at line 381 of file TMatrixTUtils.h.

◆ operator[]() [2/2]

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

Definition at line 382 of file TMatrixTUtils.h.


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