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
TMatrixTSparseDiag< Element > Class Template Reference

template<class Element>
class TMatrixTSparseDiag< Element >

Definition at line 51 of file TMatrixDUtilsfwd.h.

Public Member Functions

 TMatrixTSparseDiag ()
 
 TMatrixTSparseDiag (TMatrixTSparse< Element > &matrix)
 Constructor. More...
 
 TMatrixTSparseDiag (const TMatrixTSparseDiag< Element > &md)
 Constructor. More...
 
Element * GetDataPtr () const
 
Element operator() (Int_t i) const
 
Element & operator() (Int_t i)
 operator() : pick element diag(i) More...
 
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)
 Add val to every element of the matrix diagonal. More...
 
void operator*= (Element val)
 Multiply every element of the matrix diagonal by val. More...
 
void operator= (const TMatrixTSparseDiag_const< Element > &d)
 Assignment operator. More...
 
TMatrixTSparseDiag< Element > & operator= (const TMatrixTSparseDiag< Element > &d)
 
void operator= (const TVectorT< Element > &vec)
 Assign a vector to the matrix diagonal. More...
 
void operator+= (const TMatrixTSparseDiag_const< Element > &d)
 Add to every element of the matrix diagonal the corresponding element of diagonal md. More...
 
void operator*= (const TMatrixTSparseDiag_const< Element > &d)
 Multiply every element of the matrix diagonal with the corresponding element of diagonal md. More...
 
- Public Member Functions inherited from TMatrixTSparseDiag_const< Element >
 TMatrixTSparseDiag_const ()
 
 TMatrixTSparseDiag_const (const TMatrixTSparse< Element > &matrix)
 Constructor. More...
 
 TMatrixTSparseDiag_const (const TMatrixTSparseDiag_const< Element > &trc)
 
TMatrixTSparseDiag_const
< Element > & 
operator= (const TMatrixTSparseDiag_const< Element > &trc)
 
virtual ~TMatrixTSparseDiag_const ()
 
const TMatrixTBase< Element > * GetMatrix () const
 
const Element * GetDataPtr () const
 
Int_t GetNdiags () const
 
Element operator() (Int_t i) const
 
Element operator[] (Int_t i) const
 

Additional Inherited Members

- Protected Attributes inherited from TMatrixTSparseDiag_const< Element >
const TMatrixTSparse< Element > * fMatrix
 
Int_t fNdiag
 
const Element * fDataPtr
 

#include <TMatrixDUtilsfwd.h>

Inheritance diagram for TMatrixTSparseDiag< Element >:
[legend]

Constructor & Destructor Documentation

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

Definition at line 676 of file TMatrixTUtils.h.

template<class Element >
TMatrixTSparseDiag< Element >::TMatrixTSparseDiag ( TMatrixTSparse< Element > &  matrix)

Constructor.

Definition at line 1659 of file TMatrixTUtils.cxx.

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

Constructor.

Definition at line 1668 of file TMatrixTUtils.cxx.

Member Function Documentation

template<class Element>
Element* TMatrixTSparseDiag< Element >::GetDataPtr ( ) const
inline

Definition at line 680 of file TMatrixTUtils.h.

template<class Element >
Element TMatrixTSparseDiag< Element >::operator() ( Int_t  i) const

Definition at line 1677 of file TMatrixTUtils.cxx.

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

operator() : pick element diag(i)

Definition at line 1700 of file TMatrixTUtils.cxx.

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

Multiply every element of the matrix diagonal by val.

Definition at line 1763 of file TMatrixTUtils.cxx.

template<class Element >
void TMatrixTSparseDiag< Element >::operator*= ( const TMatrixTSparseDiag_const< Element > &  md)

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

Definition at line 1834 of file TMatrixTUtils.cxx.

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

Add val to every element of the matrix diagonal.

Definition at line 1752 of file TMatrixTUtils.cxx.

template<class Element >
void TMatrixTSparseDiag< Element >::operator+= ( const TMatrixTSparseDiag_const< Element > &  md)

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

Definition at line 1814 of file TMatrixTUtils.cxx.

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

Assign val to every element of the matrix diagonal.

Definition at line 1741 of file TMatrixTUtils.cxx.

template<class Element >
void TMatrixTSparseDiag< Element >::operator= ( const TMatrixTSparseDiag_const< Element > &  d)

Assignment operator.

Definition at line 1774 of file TMatrixTUtils.cxx.

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

Definition at line 692 of file TMatrixTUtils.h.

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

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

Assign a vector to the matrix diagonal.

Definition at line 1794 of file TMatrixTUtils.cxx.

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

Definition at line 684 of file TMatrixTUtils.h.

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

Definition at line 685 of file TMatrixTUtils.h.

Collaboration diagram for TMatrixTSparseDiag< Element >:
[legend]

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