ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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)
 
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+= (Element val)
 Assign val to every element of the matrix diagonal. 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...
 
void operator+= (const TMatrixTDiag_const< Element > &d)
 Add to every element of the matrix diagonal the corresponding element of diagonal md. More...
 
void operator*= (const TMatrixTDiag_const< Element > &d)
 Multiply every element of the matrix diagonal with the corresponding element of diagonal md. More...
 
- 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)
 
TMatrixTDiag_const< Element > & operator= (const TMatrixTDiag_const< Element > &trc)
 
virtual ~TMatrixTDiag_const ()
 
const TMatrixTBase< Element > * GetMatrix () const
 
const Element * GetPtr () const
 
Int_t GetInc () const
 
const Element & operator() (Int_t i) const
 
const Element & operator[] (Int_t i) const
 
Int_t GetNdiags () const
 

Additional Inherited Members

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

#include <TMatrixDUtilsfwd.h>

Inheritance diagram for TMatrixTDiag< Element >:
[legend]

Constructor & Destructor Documentation

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

Definition at line 352 of file TMatrixTUtils.h.

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

Constructor.

Definition at line 465 of file TMatrixTUtils.cxx.

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

Constructor.

Definition at line 474 of file TMatrixTUtils.cxx.

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

Copy constructor.

Definition at line 483 of file TMatrixTUtils.cxx.

Member Function Documentation

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

Definition at line 357 of file TMatrixTUtils.h.

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

Definition at line 359 of file TMatrixTUtils.h.

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

Definition at line 368 of file TMatrixTUtils.h.

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

Assign val to every element of the matrix diagonal.

Definition at line 516 of file TMatrixTUtils.cxx.

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 594 of file TMatrixTUtils.cxx.

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

Assign val to every element of the matrix diagonal.

Definition at line 504 of file TMatrixTUtils.cxx.

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 572 of file TMatrixTUtils.cxx.

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

Assign val to every element of the matrix diagonal.

Definition at line 492 of file TMatrixTUtils.cxx.

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

Assignment operator.

Definition at line 528 of file TMatrixTUtils.cxx.

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

Definition at line 385 of file TMatrixTUtils.h.

Referenced by TMatrixTDiag< Element >::operator=().

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

Assign a vector to the matrix diagonal.

Definition at line 551 of file TMatrixTUtils.cxx.

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

Definition at line 377 of file TMatrixTUtils.h.

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

Definition at line 378 of file TMatrixTUtils.h.

Collaboration diagram for TMatrixTDiag< Element >:
[legend]

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