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
 
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
 
- 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
 

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.

◆ GetPtr()

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

Definition at line 261 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.

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