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

template<class Element>
class TMatrixTColumn< Element >

Definition at line 249 of file TMatrixTUtils.h.

Public Member Functions

 TMatrixTColumn ()
 TMatrixTColumn (const TMatrixTColumn< Element > &mc)
 Copy constructor.
 TMatrixTColumn (TMatrixT< Element > &matrix, Int_t col)
 Constructor with column "col" of matrix.
 TMatrixTColumn (TMatrixTSym< Element > &matrix, Int_t col)
 Constructor with column "col" of matrix.
void Assign (Element val)
 Assign val to every element of the matrix column.
Int_t GetColIndex () const
Int_t GetInc () const
const TMatrixTBase< Element > * GetMatrix () const
Element * GetPtr () const
TClassIsA () const override
Element & operator() (Int_t i)
const Element & operator() (Int_t i) const
void operator*= (const TMatrixTColumn_const< Element > &c)
 Multiply every element of the matrix column with the corresponding element of column mc.
void operator*= (Element val)
 Multiply every element of the matrix column with val.
void operator+= (const TMatrixTColumn_const< Element > &c)
 Add to every element of the matrix row the corresponding element of row mc.
void operator+= (Element val)
 Add val to every element of the matrix column.
TMatrixTColumn< Element > & operator= (const TMatrixTColumn< Element > &c)
void operator= (const TMatrixTColumn_const< Element > &c)
 Assignment operator.
void operator= (const TVectorT< Element > &vec)
 Assign a vector to a matrix column.
void operator= (Element val)
void operator= (std::initializer_list< Element > l)
 Assign element of the matrix column using given initializer list.
Element & operator[] (Int_t i)
const Element & operator[] (Int_t i) const
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 fColInd
Int_t fInc
const TMatrixTBase< Element > * fMatrix
const Element * fPtr

#include <TMatrixTUtils.h>

Inheritance diagram for TMatrixTColumn< Element >:
TMatrixTColumn_const< Element >

Constructor & Destructor Documentation

◆ TMatrixTColumn() [1/4]

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

Definition at line 252 of file TMatrixTUtils.h.

◆ TMatrixTColumn() [2/4]

template<class Element>
TMatrixTColumn< Element >::TMatrixTColumn ( TMatrixT< Element > & matrix,
Int_t col )

Constructor with column "col" of matrix.

Definition at line 296 of file TMatrixTUtils.cxx.

◆ TMatrixTColumn() [3/4]

template<class Element>
TMatrixTColumn< Element >::TMatrixTColumn ( TMatrixTSym< Element > & matrix,
Int_t col )

Constructor with column "col" of matrix.

Definition at line 305 of file TMatrixTUtils.cxx.

◆ TMatrixTColumn() [4/4]

template<class Element>
TMatrixTColumn< Element >::TMatrixTColumn ( const TMatrixTColumn< Element > & mc)

Copy constructor.

Definition at line 314 of file TMatrixTUtils.cxx.

Member Function Documentation

◆ Assign()

template<class Element>
void TMatrixTColumn< Element >::Assign ( Element val)

Assign val to every element of the matrix column.

Definition at line 323 of file TMatrixTUtils.cxx.

◆ Class()

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

◆ Class_Name()

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

◆ Class_Version()

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

Definition at line 301 of file TMatrixTUtils.h.

◆ DeclFileName()

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

Definition at line 301 of file TMatrixTUtils.h.

◆ GetColIndex()

template<class Element>
Int_t TMatrixTColumn_const< Element >::GetColIndex ( ) const
inlineinherited

Definition at line 229 of file TMatrixTUtils.h.

◆ GetInc()

template<class Element>
Int_t TMatrixTColumn_const< Element >::GetInc ( ) const
inlineinherited

Definition at line 230 of file TMatrixTUtils.h.

◆ GetMatrix()

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

Definition at line 228 of file TMatrixTUtils.h.

◆ GetPtr()

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

Definition at line 257 of file TMatrixTUtils.h.

◆ IsA()

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

Reimplemented from TMatrixTColumn_const< Element >.

Definition at line 301 of file TMatrixTUtils.h.

◆ operator()() [1/2]

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

Definition at line 271 of file TMatrixTUtils.h.

◆ operator()() [2/2]

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

Definition at line 259 of file TMatrixTUtils.h.

◆ operator*=() [1/2]

template<class Element>
void TMatrixTColumn< Element >::operator*= ( const TMatrixTColumn_const< Element > & c)

Multiply every element of the matrix column with the corresponding element of column mc.

Definition at line 440 of file TMatrixTUtils.cxx.

◆ operator*=() [2/2]

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

Multiply every element of the matrix column with val.

Definition at line 360 of file TMatrixTUtils.cxx.

◆ operator+=() [1/2]

template<class Element>
void TMatrixTColumn< Element >::operator+= ( const TMatrixTColumn_const< Element > & c)

Add to every element of the matrix row the corresponding element of row mc.

Definition at line 417 of file TMatrixTUtils.cxx.

◆ operator+=() [2/2]

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

Add val to every element of the matrix column.

Definition at line 348 of file TMatrixTUtils.cxx.

◆ operator=() [1/5]

template<class Element>
TMatrixTColumn< Element > & TMatrixTColumn< Element >::operator= ( const TMatrixTColumn< Element > & c)
inline

Definition at line 295 of file TMatrixTUtils.h.

◆ operator=() [2/5]

template<class Element>
void TMatrixTColumn< Element >::operator= ( const TMatrixTColumn_const< Element > & c)

Assignment operator.

Definition at line 372 of file TMatrixTUtils.cxx.

◆ operator=() [3/5]

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

Assign a vector to a matrix column.

Definition at line 395 of file TMatrixTUtils.cxx.

◆ operator=() [4/5]

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

Definition at line 289 of file TMatrixTUtils.h.

◆ operator=() [5/5]

template<class Element>
void TMatrixTColumn< Element >::operator= ( std::initializer_list< Element > l)

Assign element of the matrix column using given initializer list.

Definition at line 335 of file TMatrixTUtils.cxx.

◆ operator[]() [1/2]

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

Definition at line 285 of file TMatrixTUtils.h.

◆ operator[]() [2/2]

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

Definition at line 284 of file TMatrixTUtils.h.

◆ Streamer()

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

Reimplemented from TMatrixTColumn_const< Element >.

◆ StreamerNVirtual()

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

Definition at line 301 of file TMatrixTUtils.h.

Member Data Documentation

◆ fColInd

template<class Element>
Int_t TMatrixTColumn_const< Element >::fColInd
protectedinherited

Definition at line 214 of file TMatrixTUtils.h.

◆ fInc

template<class Element>
Int_t TMatrixTColumn_const< Element >::fInc
protectedinherited

Definition at line 215 of file TMatrixTUtils.h.

◆ fMatrix

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

Definition at line 213 of file TMatrixTUtils.h.

◆ fPtr

template<class Element>
const Element* TMatrixTColumn_const< Element >::fPtr
protectedinherited

Definition at line 216 of file TMatrixTUtils.h.


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