ROOT  6.06/09
Reference Guide
Public Member Functions | List of all members
TMatrixTFlat< Element > Class Template Reference

template<class Element>
class TMatrixTFlat< Element >

Definition at line 48 of file TMatrixDUtilsfwd.h.

Public Member Functions

 TMatrixTFlat ()
 
 TMatrixTFlat (TMatrixT< Element > &matrix)
 Constructor. More...
 
 TMatrixTFlat (TMatrixTSym< Element > &matrix)
 Constructor. More...
 
 TMatrixTFlat (const TMatrixTFlat< Element > &mf)
 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. More...
 
void operator+= (Element val)
 Add val to every element of the matrix. More...
 
void operator*= (Element val)
 Multiply every element of the matrix with val. More...
 
void operator= (const TMatrixTFlat_const< Element > &f)
 Assignment operator. More...
 
TMatrixTFlat< Element > & operator= (const TMatrixTFlat< Element > &f)
 
void operator= (const TVectorT< Element > &vec)
 Assign a vector to the matrix. The matrix is traversed row-wise. More...
 
void operator+= (const TMatrixTFlat_const< Element > &f)
 Add to every element of the matrix the corresponding element of matrix mf. More...
 
void operator*= (const TMatrixTFlat_const< Element > &f)
 Multiply every element of the matrix with the corresponding element of diagonal mf. More...
 
- Public Member Functions inherited from TMatrixTFlat_const< Element >
 TMatrixTFlat_const ()
 
 TMatrixTFlat_const (const TMatrixT< Element > &matrix)
 Constructor. More...
 
 TMatrixTFlat_const (const TMatrixTSym< Element > &matrix)
 Constructor. More...
 
 TMatrixTFlat_const (const TMatrixTFlat_const< Element > &trc)
 
TMatrixTFlat_const< Element > & operator= (const TMatrixTFlat_const< Element > &trc)
 
virtual ~TMatrixTFlat_const ()
 
const TMatrixTBase< Element > * GetMatrix () const
 
const Element * GetPtr () const
 
const Element & operator() (Int_t i) const
 
const Element & operator[] (Int_t i) const
 

Additional Inherited Members

- Protected Attributes inherited from TMatrixTFlat_const< Element >
const TMatrixTBase< Element > * fMatrix
 
Int_t fNelems
 
const Element * fPtr
 

#include <TMatrixDUtilsfwd.h>

+ Inheritance diagram for TMatrixTFlat< Element >:
+ Collaboration diagram for TMatrixTFlat< Element >:

Constructor & Destructor Documentation

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

Definition at line 438 of file TMatrixTUtils.h.

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

Constructor.

Definition at line 641 of file TMatrixTUtils.cxx.

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

Constructor.

Definition at line 650 of file TMatrixTUtils.cxx.

template<class Element >
TMatrixTFlat< Element >::TMatrixTFlat ( const TMatrixTFlat< Element > &  mf)

Copy constructor.

Definition at line 659 of file TMatrixTUtils.cxx.

Member Function Documentation

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

Definition at line 443 of file TMatrixTUtils.h.

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

Definition at line 445 of file TMatrixTUtils.h.

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

Definition at line 454 of file TMatrixTUtils.h.

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

Multiply every element of the matrix with val.

Definition at line 692 of file TMatrixTUtils.cxx.

template<class Element >
void TMatrixTFlat< Element >::operator*= ( const TMatrixTFlat_const< Element > &  f)

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

Definition at line 766 of file TMatrixTUtils.cxx.

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

Add val to every element of the matrix.

Definition at line 680 of file TMatrixTUtils.cxx.

template<class Element >
void TMatrixTFlat< Element >::operator+= ( const TMatrixTFlat_const< Element > &  f)

Add to every element of the matrix the corresponding element of matrix mf.

Definition at line 745 of file TMatrixTUtils.cxx.

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

Assign val to every element of the matrix.

Definition at line 668 of file TMatrixTUtils.cxx.

template<class Element >
void TMatrixTFlat< Element >::operator= ( const TMatrixTFlat_const< Element > &  f)

Assignment operator.

Definition at line 704 of file TMatrixTUtils.cxx.

template<class Element>
TMatrixTFlat<Element>& TMatrixTFlat< Element >::operator= ( const TMatrixTFlat< Element > &  f)
inline

Definition at line 471 of file TMatrixTUtils.h.

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

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

Assign a vector to the matrix. The matrix is traversed row-wise.

Definition at line 726 of file TMatrixTUtils.cxx.

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

Definition at line 463 of file TMatrixTUtils.h.

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

Definition at line 464 of file TMatrixTUtils.h.


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