Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TMatrixTSub< Element > Class Template Reference

template<class Element>
class TMatrixTSub< Element >

Definition at line 527 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.
Int_t GetColOff () const
const TMatrixTBase< Element > * GetMatrix () const
Int_t GetNcols () const
Int_t GetNrows () const
Int_t GetRowOff () const
TClassIsA () const override
Element & operator() (Int_t rown, Int_t coln)
const Element & operator() (Int_t rown, Int_t coln) const
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)

Static Public Member Functions

static TClassClass ()
static const char * Class_Name ()
static constexpr Version_t Class_Version ()
static const char * DeclFileName ()

Protected Attributes

Int_t fColOff
const TMatrixTBase< Element > * fMatrix
Int_t fNcolsSub
Int_t fNrowsSub
Int_t fRowOff

#include <TMatrixTUtils.h>

Inheritance diagram for TMatrixTSub< Element >:
TMatrixTSub_const< Element >

Member Enumeration Documentation

◆ anonymous enum

template<class Element>
anonymous enum
Enumerator
kWorkMax 

Definition at line 531 of file TMatrixTUtils.h.

Constructor & Destructor Documentation

◆ TMatrixTSub() [1/4]

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

Definition at line 533 of file TMatrixTUtils.h.

◆ TMatrixTSub() [2/4]

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

◆ TMatrixTSub() [3/4]

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

◆ TMatrixTSub() [4/4]

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

Copy constructor.

Definition at line 940 of file TMatrixTUtils.cxx.

Member Function Documentation

◆ Class()

template<class Element>
TClass * TMatrixTSub< Element >::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

template<class Element>
const char * TMatrixTSub< Element >::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

template<class Element>
constexpr Version_t TMatrixTSub< Element >::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 570 of file TMatrixTUtils.h.

◆ DeclFileName()

template<class Element>
const char * TMatrixTSub< Element >::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 570 of file TMatrixTUtils.h.

◆ GetColOff()

template<class Element>
Int_t TMatrixTSub_const< Element >::GetColOff ( ) const
inlineinherited

Definition at line 505 of file TMatrixTUtils.h.

◆ GetMatrix()

template<class Element>
const TMatrixTBase< Element > * TMatrixTSub_const< Element >::GetMatrix ( ) const
inlineinherited

Definition at line 503 of file TMatrixTUtils.h.

◆ GetNcols()

template<class Element>
Int_t TMatrixTSub_const< Element >::GetNcols ( ) const
inlineinherited

Definition at line 507 of file TMatrixTUtils.h.

◆ GetNrows()

template<class Element>
Int_t TMatrixTSub_const< Element >::GetNrows ( ) const
inlineinherited

Definition at line 506 of file TMatrixTUtils.h.

◆ GetRowOff()

template<class Element>
Int_t TMatrixTSub_const< Element >::GetRowOff ( ) const
inlineinherited

Definition at line 504 of file TMatrixTUtils.h.

◆ IsA()

template<class Element>
TClass * TMatrixTSub< Element >::IsA ( ) const
inlineoverridevirtual
Returns
TClass describing current object

Reimplemented from TMatrixTSub_const< Element >.

Definition at line 570 of file TMatrixTUtils.h.

◆ operator()() [1/2]

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

Definition at line 538 of file TMatrixTUtils.h.

◆ operator()() [2/2]

template<class Element>
const Element & TMatrixTSub_const< Element >::operator() ( Int_t rown,
Int_t coln ) const
inlineinherited

Definition at line 508 of file TMatrixTUtils.h.

◆ operator*=() [1/4]

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

Multiply submatrix with matrix source.

Definition at line 1246 of file TMatrixTUtils.cxx.

◆ operator*=() [2/4]

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

Multiply submatrix with submatrix ms.

Definition at line 1160 of file TMatrixTUtils.cxx.

◆ operator*=() [3/4]

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

Multiply submatrix with matrix source.

Definition at line 1304 of file TMatrixTUtils.cxx.

◆ operator*=() [4/4]

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

Multiply every element of the sub matrix by val .

Definition at line 1010 of file TMatrixTUtils.cxx.

◆ operator+=() [1/3]

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

◆ operator+=() [2/3]

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

◆ operator+=() [3/3]

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

Add val to every element of the sub matrix.

Definition at line 993 of file TMatrixTUtils.cxx.

◆ operator=() [1/4]

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

Assignment operator.

Definition at line 1086 of file TMatrixTUtils.cxx.

◆ operator=() [2/4]

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

Definition at line 561 of file TMatrixTUtils.h.

◆ operator=() [3/4]

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

Assignment operator.

Definition at line 1027 of file TMatrixTUtils.cxx.

◆ operator=() [4/4]

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

Assign val to every element of the sub matrix.

Definition at line 976 of file TMatrixTUtils.cxx.

◆ Rank1Update()

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

◆ Streamer()

template<class Element>
void TMatrixTSub< Element >::Streamer ( TBuffer & )
overridevirtual

Reimplemented from TMatrixTSub_const< Element >.

◆ StreamerNVirtual()

template<class Element>
void TMatrixTSub< Element >::StreamerNVirtual ( TBuffer & ClassDef_StreamerNVirtual_b)
inline

Definition at line 570 of file TMatrixTUtils.h.

Member Data Documentation

◆ fColOff

template<class Element>
Int_t TMatrixTSub_const< Element >::fColOff
protectedinherited

Definition at line 493 of file TMatrixTUtils.h.

◆ fMatrix

template<class Element>
const TMatrixTBase<Element>* TMatrixTSub_const< Element >::fMatrix
protectedinherited

Definition at line 491 of file TMatrixTUtils.h.

◆ fNcolsSub

template<class Element>
Int_t TMatrixTSub_const< Element >::fNcolsSub
protectedinherited

Definition at line 495 of file TMatrixTUtils.h.

◆ fNrowsSub

template<class Element>
Int_t TMatrixTSub_const< Element >::fNrowsSub
protectedinherited

Definition at line 494 of file TMatrixTUtils.h.

◆ fRowOff

template<class Element>
Int_t TMatrixTSub_const< Element >::fRowOff
protectedinherited

Definition at line 492 of file TMatrixTUtils.h.


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