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

template<class Element>
class TMatrixTSub< Element >

Definition at line 49 of file TMatrixDUtilsfwd.h.

Public Types

enum  { kWorkMax = 100 }
 

Public Member Functions

 TMatrixTSub ()
 
 TMatrixTSub (TMatrixT< Element > &matrix, Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb)
 Constructor. More...
 
 TMatrixTSub (TMatrixTSym< Element > &matrix, Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb)
 Constructor. More...
 
 TMatrixTSub (const TMatrixTSub< Element > &ms)
 Copy constructor. More...
 
Element & operator() (Int_t rown, Int_t coln)
 
void Rank1Update (const TVectorT< Element > &vec, Element alpha=1.0)
 Perform a rank 1 operation on the matrix: A += alpha * v * v^T. More...
 
void operator= (Element val)
 Assign val to every element of the sub matrix. More...
 
void operator+= (Element val)
 Add val to every element of the sub matrix. More...
 
void operator*= (Element val)
 Multiply every element of the sub matrix by val . More...
 
void operator= (const TMatrixTSub_const< Element > &s)
 Assignment operator. More...
 
TMatrixTSub< Element > & operator= (const TMatrixTSub< Element > &s)
 
void operator= (const TMatrixTBase< Element > &m)
 Assignment operator. More...
 
void operator+= (const TMatrixTSub_const< Element > &s)
 Add to every element of the submatrix the corresponding element of submatrix ms. More...
 
void operator*= (const TMatrixTSub_const< Element > &s)
 Multiply submatrix with submatrix ms. More...
 
void operator+= (const TMatrixTBase< Element > &m)
 Add to every element of the submatrix the corresponding element of matrix mt. More...
 
void operator*= (const TMatrixT< Element > &m)
 Multiply submatrix with matrix source. More...
 
void operator*= (const TMatrixTSym< Element > &m)
 Multiply submatrix with matrix source. More...
 
- Public Member Functions inherited from TMatrixTSub_const< Element >
 TMatrixTSub_const ()
 
 TMatrixTSub_const (const TMatrixT< Element > &matrix, Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb)
 make a reference to submatrix [row_lwbs..row_upbs][col_lwbs..col_upbs]; The indexing range of the reference is [0..row_upbs-row_lwbs+1][0..col_upb-col_lwbs+1] (default) More...
 
 TMatrixTSub_const (const TMatrixTSym< Element > &matrix, Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb)
 make a reference to submatrix [row_lwbs..row_upbs][col_lwbs..col_upbs]; The indexing range of the reference is [0..row_upbs-row_lwbs+1][0..col_upb-col_lwbs+1] (default) More...
 
virtual ~TMatrixTSub_const ()
 
const TMatrixTBase< Element > * GetMatrix () const
 
Int_t GetRowOff () const
 
Int_t GetColOff () const
 
Int_t GetNrows () const
 
Int_t GetNcols () const
 
const Element & operator() (Int_t rown, Int_t coln) const
 

Additional Inherited Members

- Protected Attributes inherited from TMatrixTSub_const< Element >
const TMatrixTBase< Element > * fMatrix
 
Int_t fRowOff
 
Int_t fColOff
 
Int_t fNrowsSub
 
Int_t fNcolsSub
 

#include <TMatrixDUtilsfwd.h>

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

Member Enumeration Documentation

template<class Element>
anonymous enum
Enumerator
kWorkMax 

Definition at line 531 of file TMatrixTUtils.h.

Constructor & Destructor Documentation

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

Definition at line 533 of file TMatrixTUtils.h.

template<class Element >
TMatrixTSub< Element >::TMatrixTSub ( TMatrixT< Element > &  matrix,
Int_t  row_lwb,
Int_t  row_upb,
Int_t  col_lwb,
Int_t  col_upb 
)

Constructor.

Definition at line 895 of file TMatrixTUtils.cxx.

template<class Element >
TMatrixTSub< Element >::TMatrixTSub ( TMatrixTSym< Element > &  matrix,
Int_t  row_lwb,
Int_t  row_upb,
Int_t  col_lwb,
Int_t  col_upb 
)

Constructor.

Definition at line 905 of file TMatrixTUtils.cxx.

template<class Element >
TMatrixTSub< Element >::TMatrixTSub ( const TMatrixTSub< Element > &  ms)

Copy constructor.

Definition at line 915 of file TMatrixTUtils.cxx.

Member Function Documentation

template<class Element>
Element& TMatrixTSub< Element >::operator() ( Int_t  rown,
Int_t  coln 
)
inline

Definition at line 538 of file TMatrixTUtils.h.

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

Multiply every element of the sub matrix by val .

Definition at line 985 of file TMatrixTUtils.cxx.

template<class Element >
void TMatrixTSub< Element >::operator*= ( const TMatrixTSub_const< Element > &  s)

Multiply submatrix with submatrix ms.

Definition at line 1135 of file TMatrixTUtils.cxx.

template<class Element >
void TMatrixTSub< Element >::operator*= ( const TMatrixT< Element > &  m)

Multiply submatrix with matrix source.

Definition at line 1221 of file TMatrixTUtils.cxx.

template<class Element >
void TMatrixTSub< Element >::operator*= ( const TMatrixTSym< Element > &  m)

Multiply submatrix with matrix source.

Definition at line 1279 of file TMatrixTUtils.cxx.

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

Add val to every element of the sub matrix.

Definition at line 968 of file TMatrixTUtils.cxx.

template<class Element >
void TMatrixTSub< Element >::operator+= ( const TMatrixTSub_const< Element > &  s)

Add to every element of the submatrix the corresponding element of submatrix ms.

Definition at line 1081 of file TMatrixTUtils.cxx.

template<class Element >
void TMatrixTSub< Element >::operator+= ( const TMatrixTBase< Element > &  m)

Add to every element of the submatrix the corresponding element of matrix mt.

Definition at line 1194 of file TMatrixTUtils.cxx.

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

Assign val to every element of the sub matrix.

Definition at line 951 of file TMatrixTUtils.cxx.

template<class Element >
void TMatrixTSub< Element >::operator= ( const TMatrixTSub_const< Element > &  s)

Assignment operator.

Definition at line 1002 of file TMatrixTUtils.cxx.

template<class Element>
TMatrixTSub<Element>& TMatrixTSub< Element >::operator= ( const TMatrixTSub< Element > &  s)
inline

Definition at line 561 of file TMatrixTUtils.h.

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

template<class Element >
void TMatrixTSub< Element >::operator= ( const TMatrixTBase< Element > &  m)

Assignment operator.

Definition at line 1061 of file TMatrixTUtils.cxx.

template<class Element >
void TMatrixTSub< Element >::Rank1Update ( const TVectorT< Element > &  vec,
Element  alpha = 1.0 
)

Perform a rank 1 operation on the matrix: A += alpha * v * v^T.

Definition at line 925 of file TMatrixTUtils.cxx.

Referenced by TDecompBK::Decompose().


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