ROOT  6.06/09
Reference Guide
Public Member Functions | List of all members
TMatrixTRow< Element > Class Template Reference

template<class Element>
class TMatrixTRow< Element >

Definition at line 45 of file TMatrixDUtilsfwd.h.

Public Member Functions

 TMatrixTRow ()
 
 TMatrixTRow (TMatrixT< Element > &matrix, Int_t row)
 Constructor with row "row" of symmetric matrix. More...
 
 TMatrixTRow (TMatrixTSym< Element > &matrix, Int_t row)
 Constructor with row "row" of symmetric matrix. More...
 
 TMatrixTRow (const TMatrixTRow< Element > &mr)
 Copy constructor. More...
 
Element * GetPtr () const
 
const Element & operator() (Int_t i) const
 
Element & operator() (Int_t i)
 
const Element & operator[] (Int_t i) const
 
Element & operator[] (Int_t i)
 
void operator= (Element val)
 Assign val to every element of the matrix row. More...
 
void operator+= (Element val)
 Add val to every element of the matrix row. More...
 
void operator*= (Element val)
 Multiply every element of the matrix row with val. More...
 
void operator= (const TMatrixTRow_const< Element > &r)
 Assignment operator. More...
 
TMatrixTRow< Element > & operator= (const TMatrixTRow< Element > &r)
 
void operator= (const TVectorT< Element > &vec)
 Assign a vector to a matrix row. More...
 
void operator+= (const TMatrixTRow_const< Element > &r)
 Add to every element of the matrix row the corresponding element of row r. More...
 
void operator*= (const TMatrixTRow_const< Element > &r)
 Multiply every element of the matrix row with the corresponding element of row r. More...
 
- Public Member Functions inherited from TMatrixTRow_const< Element >
 TMatrixTRow_const ()
 
 TMatrixTRow_const (const TMatrixT< Element > &matrix, Int_t row)
 Constructor with row "row" of matrix. More...
 
 TMatrixTRow_const (const TMatrixTSym< Element > &matrix, Int_t row)
 Constructor with row "row" of symmetric matrix. More...
 
 TMatrixTRow_const (const TMatrixTRow_const< Element > &trc)
 
TMatrixTRow_const< Element > & operator= (const TMatrixTRow_const< Element > &trc)
 
virtual ~TMatrixTRow_const ()
 
const TMatrixTBase< Element > * GetMatrix () const
 
Int_t GetRowIndex () const
 
Int_t GetInc () const
 
const Element * GetPtr () const
 
const Element & operator() (Int_t i) const
 
const Element & operator[] (Int_t i) const
 

Additional Inherited Members

- Protected Attributes inherited from TMatrixTRow_const< Element >
const TMatrixTBase< Element > * fMatrix
 
Int_t fRowInd
 
Int_t fInc
 
const Element * fPtr
 

#include <TMatrixDUtilsfwd.h>

+ Inheritance diagram for TMatrixTRow< Element >:
+ Collaboration diagram for TMatrixTRow< Element >:

Constructor & Destructor Documentation

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

Definition at line 156 of file TMatrixTUtils.h.

template<class Element >
TMatrixTRow< Element >::TMatrixTRow ( TMatrixT< Element > &  matrix,
Int_t  row 
)

Constructor with row "row" of symmetric matrix.

Definition at line 88 of file TMatrixTUtils.cxx.

template<class Element >
TMatrixTRow< Element >::TMatrixTRow ( TMatrixTSym< Element > &  matrix,
Int_t  row 
)

Constructor with row "row" of symmetric matrix.

Definition at line 97 of file TMatrixTUtils.cxx.

template<class Element >
TMatrixTRow< Element >::TMatrixTRow ( const TMatrixTRow< Element > &  mr)

Copy constructor.

Definition at line 106 of file TMatrixTUtils.cxx.

Member Function Documentation

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

Definition at line 161 of file TMatrixTUtils.h.

Referenced by ApplyHouseHolder().

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

Definition at line 163 of file TMatrixTUtils.h.

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

Definition at line 175 of file TMatrixTUtils.h.

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

Multiply every element of the matrix row with val.

Definition at line 139 of file TMatrixTUtils.cxx.

template<class Element >
void TMatrixTRow< Element >::operator*= ( const TMatrixTRow_const< Element > &  r)

Multiply every element of the matrix row with the corresponding element of row r.

Definition at line 218 of file TMatrixTUtils.cxx.

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

Add val to every element of the matrix row.

Definition at line 127 of file TMatrixTUtils.cxx.

template<class Element >
void TMatrixTRow< Element >::operator+= ( const TMatrixTRow_const< Element > &  r)

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

Definition at line 195 of file TMatrixTUtils.cxx.

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

Assign val to every element of the matrix row.

Definition at line 115 of file TMatrixTUtils.cxx.

template<class Element >
void TMatrixTRow< Element >::operator= ( const TMatrixTRow_const< Element > &  r)

Assignment operator.

Definition at line 151 of file TMatrixTUtils.cxx.

template<class Element>
TMatrixTRow<Element>& TMatrixTRow< Element >::operator= ( const TMatrixTRow< Element > &  r)
inline

Definition at line 196 of file TMatrixTUtils.h.

Referenced by TMatrixTRow< Element >::operator=().

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

Assign a vector to a matrix row.

The vector is considered row-vector to allow the assignment in the strict sense.

Definition at line 175 of file TMatrixTUtils.cxx.

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

Definition at line 188 of file TMatrixTUtils.h.

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

Definition at line 189 of file TMatrixTUtils.h.


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