Logo ROOT   6.08/07
Reference Guide
List of all members | Public Member Functions | List of all members
TMatrixTDiag< Element > Class Template Reference

template<class Element>
class TMatrixTDiag< Element >

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

◆ TMatrixTDiag() [2/4]

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

Constructor.

Definition at line 467 of file TMatrixTUtils.cxx.

◆ TMatrixTDiag() [3/4]

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

Constructor.

Definition at line 476 of file TMatrixTUtils.cxx.

◆ TMatrixTDiag() [4/4]

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

Copy constructor.

Definition at line 485 of file TMatrixTUtils.cxx.

Member Function Documentation

◆ GetPtr()

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

Definition at line 357 of file TMatrixTUtils.h.

◆ operator()() [1/2]

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

Definition at line 359 of file TMatrixTUtils.h.

◆ operator()() [2/2]

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

Definition at line 368 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 518 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 596 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 506 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 574 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 494 of file TMatrixTUtils.cxx.

◆ operator=() [2/4]

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

Assignment operator.

Definition at line 530 of file TMatrixTUtils.cxx.

◆ operator=() [3/4]

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

Definition at line 385 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 553 of file TMatrixTUtils.cxx.

◆ operator[]() [1/2]

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

Definition at line 377 of file TMatrixTUtils.h.

◆ operator[]() [2/2]

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

Definition at line 378 of file TMatrixTUtils.h.


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