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

template<class Element>
class TMatrixTColumn< Element >

Definition at line 253 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.
 
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)
 
- Public Member Functions inherited from TMatrixTColumn_const< Element >
 TMatrixTColumn_const ()
 
 TMatrixTColumn_const (const TMatrixT< Element > &matrix, Int_t col)
 Constructor with column "col" of matrix.
 
 TMatrixTColumn_const (const TMatrixTColumn_const< Element > &trc)
 
 TMatrixTColumn_const (const TMatrixTSym< Element > &matrix, Int_t col)
 Constructor with column "col" of matrix.
 
virtual ~TMatrixTColumn_const ()
 
Int_t GetColIndex () const
 
Int_t GetInc () const
 
const TMatrixTBase< Element > * GetMatrix () const
 
const Element * GetPtr () const
 
const Element & operator() (Int_t i) const
 
TMatrixTColumn_const< Element > & operator= (const TMatrixTColumn_const< Element > &trc)
 
const Element & operator[] (Int_t i) const
 
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 ()
 
- Static Public Member Functions inherited from TMatrixTColumn_const< Element >
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

Additional Inherited Members

- Protected Attributes inherited from TMatrixTColumn_const< Element >
Int_t fColInd
 
Int_t fInc
 
const TMatrixTBase< Element > * fMatrix
 
const Element * fPtr
 

#include <TMatrixTUtils.h>

Inheritance diagram for TMatrixTColumn< Element >:
[legend]

Constructor & Destructor Documentation

◆ TMatrixTColumn() [1/4]

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

Definition at line 256 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 >
static TClass * TMatrixTColumn< Element >::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

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

◆ Class_Version()

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

Definition at line 305 of file TMatrixTUtils.h.

◆ DeclFileName()

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

Definition at line 305 of file TMatrixTUtils.h.

◆ GetPtr()

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

Definition at line 261 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 305 of file TMatrixTUtils.h.

◆ operator()() [1/2]

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

Definition at line 275 of file TMatrixTUtils.h.

◆ operator()() [2/2]

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

Definition at line 263 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 299 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 293 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 289 of file TMatrixTUtils.h.

◆ operator[]() [2/2]

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

Definition at line 288 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 305 of file TMatrixTUtils.h.

  • math/matrix/inc/TMatrixDUtilsfwd.h
  • math/matrix/inc/TMatrixTUtils.h
  • math/matrix/src/TMatrixTUtils.cxx