Definition at line 531 of file TMatrixTUtils.h.
Public Types | |
enum | { kWorkMax = 100 } |
Public Member Functions | |
TMatrixTSub () | |
TMatrixTSub (const TMatrixTSub< Element > &ms) | |
Copy constructor. | |
TMatrixTSub (TMatrixT< Element > &matrix, Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb) | |
Constructor. | |
TMatrixTSub (TMatrixTSym< Element > &matrix, Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb) | |
Constructor. | |
TClass * | IsA () const override |
Element & | operator() (Int_t rown, Int_t coln) |
void | operator*= (const TMatrixT< Element > &m) |
Multiply submatrix with matrix source. | |
void | operator*= (const TMatrixTSub_const< Element > &s) |
Multiply submatrix with submatrix ms. | |
void | operator*= (const TMatrixTSym< Element > &m) |
Multiply submatrix with matrix source. | |
void | operator*= (Element val) |
Multiply every element of the sub matrix by val . | |
void | operator+= (const TMatrixTBase< Element > &m) |
Add to every element of the submatrix the corresponding element of matrix mt. | |
void | operator+= (const TMatrixTSub_const< Element > &s) |
Add to every element of the submatrix the corresponding element of submatrix ms. | |
void | operator+= (Element val) |
Add val to every element of the sub matrix. | |
void | operator= (const TMatrixTBase< Element > &m) |
Assignment operator. | |
TMatrixTSub< Element > & | operator= (const TMatrixTSub< Element > &s) |
void | operator= (const TMatrixTSub_const< Element > &s) |
Assignment operator. | |
void | operator= (Element val) |
Assign val to every element of the sub matrix. | |
void | Rank1Update (const TVectorT< Element > &vec, Element alpha=1.0) |
Perform a rank 1 operation on the matrix: A += alpha * v * v^T. | |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
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) | |
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) | |
virtual | ~TMatrixTSub_const () |
Int_t | GetColOff () const |
const TMatrixTBase< Element > * | GetMatrix () const |
Int_t | GetNcols () const |
Int_t | GetNrows () const |
Int_t | GetRowOff () const |
const Element & | operator() (Int_t rown, Int_t coln) const |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TMatrixTSub_const< Element > | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Additional Inherited Members | |
Protected Attributes inherited from TMatrixTSub_const< Element > | |
Int_t | fColOff |
const TMatrixTBase< Element > * | fMatrix |
Int_t | fNcolsSub |
Int_t | fNrowsSub |
Int_t | fRowOff |
#include <TMatrixTUtils.h>
anonymous enum |
Enumerator | |
---|---|
kWorkMax |
Definition at line 535 of file TMatrixTUtils.h.
|
inline |
Definition at line 537 of file TMatrixTUtils.h.
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 920 of file TMatrixTUtils.cxx.
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 930 of file TMatrixTUtils.cxx.
TMatrixTSub< Element >::TMatrixTSub | ( | const TMatrixTSub< Element > & | ms | ) |
Copy constructor.
Definition at line 940 of file TMatrixTUtils.cxx.
|
static |
|
static |
|
inlinestaticconstexpr |
Definition at line 574 of file TMatrixTUtils.h.
|
inlinestatic |
Definition at line 574 of file TMatrixTUtils.h.
|
inlineoverridevirtual |
Reimplemented from TMatrixTSub_const< Element >.
Definition at line 574 of file TMatrixTUtils.h.
|
inline |
Definition at line 542 of file TMatrixTUtils.h.
void TMatrixTSub< Element >::operator*= | ( | const TMatrixT< Element > & | m | ) |
Multiply submatrix with matrix source.
Definition at line 1246 of file TMatrixTUtils.cxx.
void TMatrixTSub< Element >::operator*= | ( | const TMatrixTSub_const< Element > & | s | ) |
Multiply submatrix with submatrix ms.
Definition at line 1160 of file TMatrixTUtils.cxx.
void TMatrixTSub< Element >::operator*= | ( | const TMatrixTSym< Element > & | m | ) |
Multiply submatrix with matrix source.
Definition at line 1304 of file TMatrixTUtils.cxx.
void TMatrixTSub< Element >::operator*= | ( | Element | val | ) |
Multiply every element of the sub matrix by val .
Definition at line 1010 of file TMatrixTUtils.cxx.
void TMatrixTSub< Element >::operator+= | ( | const TMatrixTBase< Element > & | m | ) |
Add to every element of the submatrix the corresponding element of matrix mt.
Definition at line 1219 of file TMatrixTUtils.cxx.
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 1106 of file TMatrixTUtils.cxx.
void TMatrixTSub< Element >::operator+= | ( | Element | val | ) |
Add val to every element of the sub matrix.
Definition at line 993 of file TMatrixTUtils.cxx.
void TMatrixTSub< Element >::operator= | ( | const TMatrixTBase< Element > & | m | ) |
Assignment operator.
Definition at line 1086 of file TMatrixTUtils.cxx.
|
inline |
Definition at line 565 of file TMatrixTUtils.h.
void TMatrixTSub< Element >::operator= | ( | const TMatrixTSub_const< Element > & | s | ) |
Assignment operator.
Definition at line 1027 of file TMatrixTUtils.cxx.
void TMatrixTSub< Element >::operator= | ( | Element | val | ) |
Assign val to every element of the sub matrix.
Definition at line 976 of file TMatrixTUtils.cxx.
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 950 of file TMatrixTUtils.cxx.
|
overridevirtual |
Reimplemented from TMatrixTSub_const< Element >.
|
inline |
Definition at line 574 of file TMatrixTUtils.h.