Logo ROOT   6.18/05
Reference Guide
List of all members | Public Member Functions | List of all members
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. More...
 
 TMatrixTColumn (TMatrixT< Element > &matrix, Int_t col)
 Constructor with column "col" of matrix. More...
 
 TMatrixTColumn (TMatrixTSym< Element > &matrix, Int_t col)
 Constructor with column "col" of matrix. More...
 
void Assign (Element val)
 Assign val to every element of the matrix column. More...
 
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. More...
 
void operator*= (Element val)
 Multiply every element of the matrix column with val. More...
 
void operator+= (const TMatrixTColumn_const< Element > &c)
 Add to every element of the matrix row the corresponding element of row mc. More...
 
void operator+= (Element val)
 Add val to every element of the matrix column. More...
 
TMatrixTColumn< Element > & operator= (const TMatrixTColumn< Element > &c)
 
void operator= (const TMatrixTColumn_const< Element > &c)
 Assignment operator. More...
 
void operator= (const TVectorT< Element > &vec)
 Assign a vector to a matrix column. More...
 
void operator= (Element val)
 
void operator= (std::initializer_list< Element > l)
 Assign element of the matrix column using given initializer list. More...
 
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. More...
 
 TMatrixTColumn_const (const TMatrixTColumn_const< Element > &trc)
 
 TMatrixTColumn_const (const TMatrixTSym< Element > &matrix, Int_t col)
 Constructor with column "col" of matrix. More...
 
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.

Libraries for TMatrixTColumn< Element >:
[legend]

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