Logo ROOT   6.13/01
Reference Guide
Classes | Functions
TMatrixT.h File Reference
#include "TMatrixTBase.h"
#include "TMatrixTUtils.h"
#include "Rtypes.h"
#include "TError.h"
Include dependency graph for TMatrixT.h:
This graph shows which files directly or indirectly include this file:

Classes

class  TMatrixT< Element >
 TMatrixT. More...
 
class  TMatrixTLazy< Element >
 Templates of Lazy Matrix classes. More...
 
class  TMatrixTSparse< Element >
 TMatrixTSparse. More...
 
class  TMatrixTSym< Element >
 TMatrixTSym. More...
 

Functions

template<class Element >
TMatrixT< Element > & Add (TMatrixT< Element > &target, Element scalar, const TMatrixT< Element > &source)
 Modify addition: target += scalar * source. More...
 
template<class Element >
TMatrixT< Element > & Add (TMatrixT< Element > &target, Element scalar, const TMatrixTSym< Element > &source)
 Modify addition: target += scalar * source. More...
 
template<class Element >
void AMultB (const Element *const ap, Int_t na, Int_t ncolsa, const Element *const bp, Int_t nb, Int_t ncolsb, Element *cp)
 Elementary routine to calculate matrix multiplication A*B. More...
 
template<class Element >
void AMultBt (const Element *const ap, Int_t na, Int_t ncolsa, const Element *const bp, Int_t nb, Int_t ncolsb, Element *cp)
 Elementary routine to calculate matrix multiplication A*B^T. More...
 
template<class Element >
void AtMultB (const Element *const ap, Int_t ncolsa, const Element *const bp, Int_t nb, Int_t ncolsb, Element *cp)
 Elementary routine to calculate matrix multiplication A^T*B. More...
 
template<class Element >
TMatrixT< Element > & ElementDiv (TMatrixT< Element > &target, const TMatrixT< Element > &source)
 Divide target by the source, element-by-element. More...
 
template<class Element >
TMatrixT< Element > & ElementDiv (TMatrixT< Element > &target, const TMatrixTSym< Element > &source)
 Multiply target by the source, element-by-element. More...
 
template<class Element >
TMatrixT< Element > & ElementMult (TMatrixT< Element > &target, const TMatrixT< Element > &source)
 Multiply target by the source, element-by-element. More...
 
template<class Element >
TMatrixT< Element > & ElementMult (TMatrixT< Element > &target, const TMatrixTSym< Element > &source)
 Multiply target by the source, element-by-element. More...
 
template<class Element >
TMatrixT< Element > operator && (const TMatrixT< Element > &source1, const TMatrixT< Element > &source2)
 Logical AND. More...
 
template<class Element >
TMatrixT< Element > operator && (const TMatrixT< Element > &source1, const TMatrixTSym< Element > &source2)
 Logical AND. More...
 
template<class Element >
TMatrixT< Element > operator && (const TMatrixTSym< Element > &source1, const TMatrixT< Element > &source2)
 Logical AND. More...
 
template<class Element >
TMatrixT< Element > operator!= (const TMatrixT< Element > &source1, const TMatrixT< Element > &source2)
 logical operation source1 != source2 More...
 
template<class Element >
TMatrixT< Element > operator!= (const TMatrixT< Element > &source1, const TMatrixTSym< Element > &source2)
 logical operation source1 != source2 More...
 
template<class Element >
TMatrixT< Element > operator!= (const TMatrixTSym< Element > &source1, const TMatrixT< Element > &source2)
 logical operation source1 != source2 More...
 
template<class Element >
TMatrixT< Element > operator* (Element val, const TMatrixT< Element > &source)
 operation this = val*source More...
 
template<class Element >
TMatrixT< Element > operator* (const TMatrixT< Element > &source, Element val)
 operation this = val*source More...
 
template<class Element >
TMatrixT< Element > operator* (const TMatrixT< Element > &source1, const TMatrixT< Element > &source2)
 operation this = source1*source2 More...
 
template<class Element >
TMatrixT< Element > operator* (const TMatrixT< Element > &source1, const TMatrixTSym< Element > &source2)
 operation this = source1*source2 More...
 
template<class Element >
TMatrixT< Element > operator* (const TMatrixTSym< Element > &source1, const TMatrixT< Element > &source2)
 operation this = source1*source2 More...
 
template<class Element >
TMatrixT< Element > operator* (const TMatrixTSym< Element > &source1, const TMatrixTSym< Element > &source2)
 operation this = source1*source2 More...
 
template<class Element >
TMatrixT< Element > operator+ (const TMatrixT< Element > &source1, const TMatrixT< Element > &source2)
 operation this = source1+source2 More...
 
template<class Element >
TMatrixT< Element > operator+ (const TMatrixT< Element > &source1, const TMatrixTSym< Element > &source2)
 operation this = source1+source2 More...
 
template<class Element >
TMatrixT< Element > operator+ (const TMatrixTSym< Element > &source1, const TMatrixT< Element > &source2)
 operation this = source1+source2 More...
 
template<class Element >
TMatrixT< Element > operator+ (const TMatrixT< Element > &source, Element val)
 operation this = source+val More...
 
template<class Element >
TMatrixT< Element > operator+ (Element val, const TMatrixT< Element > &source)
 operation this = val+source More...
 
template<class Element >
TMatrixT< Element > operator- (const TMatrixT< Element > &source1, const TMatrixT< Element > &source2)
 operation this = source1-source2 More...
 
template<class Element >
TMatrixT< Element > operator- (const TMatrixT< Element > &source1, const TMatrixTSym< Element > &source2)
 operation this = source1-source2 More...
 
template<class Element >
TMatrixT< Element > operator- (const TMatrixTSym< Element > &source1, const TMatrixT< Element > &source2)
 operation this = source1-source2 More...
 
template<class Element >
TMatrixT< Element > operator- (const TMatrixT< Element > &source, Element val)
 operation this = source-val More...
 
template<class Element >
TMatrixT< Element > operator- (Element val, const TMatrixT< Element > &source)
 operation this = val-source More...
 
template<class Element >
TMatrixT< Element > operator< (const TMatrixT< Element > &source1, const TMatrixT< Element > &source2)
 logical operation source1 < source2 More...
 
template<class Element >
TMatrixT< Element > operator< (const TMatrixTSym< Element > &source1, const TMatrixT< Element > &source2)
 logical operation source1 < source2 More...
 
template<class Element >
TMatrixT< Element > operator< (const TMatrixT< Element > &source1, const TMatrixTSym< Element > &source2)
 logical operation source1 < source2 More...
 
template<class Element >
TMatrixT< Element > operator<= (const TMatrixT< Element > &source1, const TMatrixTSym< Element > &source2)
 logical operation source1 <= source2 More...
 
template<class Element >
TMatrixT< Element > operator<= (const TMatrixTSym< Element > &source1, const TMatrixT< Element > &source2)
 logical operation source1 <= source2 More...
 
template<class Element >
TMatrixT< Element > operator<= (const TMatrixT< Element > &source1, const TMatrixT< Element > &source2)
 logical operation source1 <= source2 More...
 
template<class Element >
TMatrixT< Element > operator> (const TMatrixT< Element > &source1, const TMatrixT< Element > &source2)
 logical operation source1 > source2 More...
 
template<class Element >
TMatrixT< Element > operator> (const TMatrixT< Element > &source1, const TMatrixTSym< Element > &source2)
 logical operation source1 > source2 More...
 
template<class Element >
TMatrixT< Element > operator> (const TMatrixTSym< Element > &source1, const TMatrixT< Element > &source2)
 logical operation source1 > source2 More...
 
template<class Element >
TMatrixT< Element > operator>= (const TMatrixT< Element > &source1, const TMatrixT< Element > &source2)
 logical operation source1 >= source2 More...
 
template<class Element >
TMatrixT< Element > operator>= (const TMatrixT< Element > &source1, const TMatrixTSym< Element > &source2)
 logical operation source1 >= source2 More...
 
template<class Element >
TMatrixT< Element > operator>= (const TMatrixTSym< Element > &source1, const TMatrixT< Element > &source2)
 logical operation source1 >= source2 More...
 
template<class Element >
TMatrixT< Element > operator|| (const TMatrixT< Element > &source1, const TMatrixT< Element > &source2)
 Logical OR. More...
 
template<class Element >
TMatrixT< Element > operator|| (const TMatrixT< Element > &source1, const TMatrixTSym< Element > &source2)
 Logical OR. More...
 
template<class Element >
TMatrixT< Element > operator|| (const TMatrixTSym< Element > &source1, const TMatrixT< Element > &source2)
 Logical OR. More...
 

Function Documentation

◆ Add() [1/2]

template<class Element >
TMatrixT<Element>& Add ( TMatrixT< Element > &  target,
Element  scalar,
const TMatrixT< Element > &  source 
)

Modify addition: target += scalar * source.

Definition at line 2933 of file TMatrixT.cxx.

◆ Add() [2/2]

template<class Element >
TMatrixT<Element>& Add ( TMatrixT< Element > &  target,
Element  scalar,
const TMatrixTSym< Element > &  source 
)

Modify addition: target += scalar * source.

Definition at line 2961 of file TMatrixT.cxx.

◆ AMultB()

template<class Element >
void AMultB ( const Element *const  ap,
Int_t  na,
Int_t  ncolsa,
const Element *const  bp,
Int_t  nb,
Int_t  ncolsb,
Element *  cp 
)

Elementary routine to calculate matrix multiplication A*B.

Definition at line 3077 of file TMatrixT.cxx.

◆ AMultBt()

template<class Element >
void AMultBt ( const Element *const  ap,
Int_t  na,
Int_t  ncolsa,
const Element *const  bp,
Int_t  nb,
Int_t  ncolsb,
Element *  cp 
)

Elementary routine to calculate matrix multiplication A*B^T.

Definition at line 3124 of file TMatrixT.cxx.

◆ AtMultB()

template<class Element >
void AtMultB ( const Element *const  ap,
Int_t  ncolsa,
const Element *const  bp,
Int_t  nb,
Int_t  ncolsb,
Element *  cp 
)

Elementary routine to calculate matrix multiplication A^T*B.

Definition at line 3100 of file TMatrixT.cxx.

◆ ElementDiv() [1/2]

template<class Element >
TMatrixT<Element>& ElementDiv ( TMatrixT< Element > &  target,
const TMatrixT< Element > &  source 
)

Divide target by the source, element-by-element.

Definition at line 3021 of file TMatrixT.cxx.

◆ ElementDiv() [2/2]

template<class Element >
TMatrixT<Element>& ElementDiv ( TMatrixT< Element > &  target,
const TMatrixTSym< Element > &  source 
)

Multiply target by the source, element-by-element.

Definition at line 3049 of file TMatrixT.cxx.

◆ ElementMult() [1/2]

template<class Element >
TMatrixT<Element>& ElementMult ( TMatrixT< Element > &  target,
const TMatrixT< Element > &  source 
)

Multiply target by the source, element-by-element.

Definition at line 2981 of file TMatrixT.cxx.

◆ ElementMult() [2/2]

template<class Element >
TMatrixT<Element>& ElementMult ( TMatrixT< Element > &  target,
const TMatrixTSym< Element > &  source 
)

Multiply target by the source, element-by-element.

Definition at line 3001 of file TMatrixT.cxx.

◆ operator &&() [1/3]

template<class Element >
TMatrixT<Element> operator&& ( const TMatrixT< Element > &  source1,
const TMatrixT< Element > &  source2 
)

Logical AND.

Definition at line 2483 of file TMatrixT.cxx.

◆ operator &&() [2/3]

template<class Element >
TMatrixT<Element> operator&& ( const TMatrixT< Element > &  source1,
const TMatrixTSym< Element > &  source2 
)

Logical AND.

Definition at line 2508 of file TMatrixT.cxx.

◆ operator &&() [3/3]

template<class Element >
TMatrixT<Element> operator&& ( const TMatrixTSym< Element > &  source1,
const TMatrixT< Element > &  source2 
)

Logical AND.

Definition at line 2533 of file TMatrixT.cxx.

◆ operator!=() [1/3]

template<class Element >
TMatrixT<Element> operator!= ( const TMatrixT< Element > &  source1,
const TMatrixT< Element > &  source2 
)

logical operation source1 != source2

Definition at line 2843 of file TMatrixT.cxx.

◆ operator!=() [2/3]

template<class Element >
TMatrixT<Element> operator!= ( const TMatrixT< Element > &  source1,
const TMatrixTSym< Element > &  source2 
)

logical operation source1 != source2

Definition at line 2869 of file TMatrixT.cxx.

◆ operator!=() [3/3]

template<class Element >
TMatrixT<Element> operator!= ( const TMatrixTSym< Element > &  source1,
const TMatrixT< Element > &  source2 
)

logical operation source1 != source2

Definition at line 2895 of file TMatrixT.cxx.

◆ operator*() [1/6]

template<class Element >
TMatrixT<Element> operator* ( Element  val,
const TMatrixT< Element > &  source 
)

operation this = val*source

Definition at line 2423 of file TMatrixT.cxx.

◆ operator*() [2/6]

template<class Element >
TMatrixT<Element> operator* ( const TMatrixT< Element > &  source,
Element  val 
)

operation this = val*source

Definition at line 2434 of file TMatrixT.cxx.

◆ operator*() [3/6]

template<class Element >
TMatrixT<Element> operator* ( const TMatrixT< Element > &  source1,
const TMatrixT< Element > &  source2 
)

operation this = source1*source2

Definition at line 2443 of file TMatrixT.cxx.

◆ operator*() [4/6]

template<class Element >
TMatrixT<Element> operator* ( const TMatrixT< Element > &  source1,
const TMatrixTSym< Element > &  source2 
)

operation this = source1*source2

Definition at line 2453 of file TMatrixT.cxx.

◆ operator*() [5/6]

template<class Element >
TMatrixT<Element> operator* ( const TMatrixTSym< Element > &  source1,
const TMatrixT< Element > &  source2 
)

operation this = source1*source2

Definition at line 2463 of file TMatrixT.cxx.

◆ operator*() [6/6]

template<class Element >
TMatrixT<Element> operator* ( const TMatrixTSym< Element > &  source1,
const TMatrixTSym< Element > &  source2 
)

operation this = source1*source2

Definition at line 2473 of file TMatrixT.cxx.

◆ operator+() [1/5]

template<class Element >
TMatrixT<Element> operator+ ( const TMatrixT< Element > &  source1,
const TMatrixT< Element > &  source2 
)

operation this = source1+source2

Definition at line 2321 of file TMatrixT.cxx.

◆ operator+() [2/5]

template<class Element >
TMatrixT<Element> operator+ ( const TMatrixT< Element > &  source1,
const TMatrixTSym< Element > &  source2 
)

operation this = source1+source2

Definition at line 2332 of file TMatrixT.cxx.

◆ operator+() [3/5]

template<class Element >
TMatrixT<Element> operator+ ( const TMatrixTSym< Element > &  source1,
const TMatrixT< Element > &  source2 
)

operation this = source1+source2

Definition at line 2343 of file TMatrixT.cxx.

◆ operator+() [4/5]

template<class Element >
TMatrixT<Element> operator+ ( const TMatrixT< Element > &  source,
Element  val 
)

operation this = source+val

Definition at line 2352 of file TMatrixT.cxx.

◆ operator+() [5/5]

template<class Element >
TMatrixT<Element> operator+ ( Element  val,
const TMatrixT< Element > &  source 
)

operation this = val+source

Definition at line 2363 of file TMatrixT.cxx.

◆ operator-() [1/5]

template<class Element >
TMatrixT<Element> operator- ( const TMatrixT< Element > &  source1,
const TMatrixT< Element > &  source2 
)

operation this = source1-source2

Definition at line 2372 of file TMatrixT.cxx.

◆ operator-() [2/5]

template<class Element >
TMatrixT<Element> operator- ( const TMatrixT< Element > &  source1,
const TMatrixTSym< Element > &  source2 
)

operation this = source1-source2

Definition at line 2383 of file TMatrixT.cxx.

◆ operator-() [3/5]

template<class Element >
TMatrixT<Element> operator- ( const TMatrixTSym< Element > &  source1,
const TMatrixT< Element > &  source2 
)

operation this = source1-source2

Definition at line 2394 of file TMatrixT.cxx.

◆ operator-() [4/5]

template<class Element >
TMatrixT<Element> operator- ( const TMatrixT< Element > &  source,
Element  val 
)

operation this = source-val

Definition at line 2403 of file TMatrixT.cxx.

◆ operator-() [5/5]

template<class Element >
TMatrixT<Element> operator- ( Element  val,
const TMatrixT< Element > &  source 
)

operation this = val-source

Definition at line 2414 of file TMatrixT.cxx.

◆ operator<() [1/3]

template<class Element >
TMatrixT<Element> operator< ( const TMatrixT< Element > &  source1,
const TMatrixT< Element > &  source2 
)

logical operation source1 < source2

Definition at line 2784 of file TMatrixT.cxx.

◆ operator<() [2/3]

template<class Element >
TMatrixT<Element> operator< ( const TMatrixTSym< Element > &  source1,
const TMatrixT< Element > &  source2 
)

logical operation source1 < source2

Definition at line 2834 of file TMatrixT.cxx.

◆ operator<() [3/3]

template<class Element >
TMatrixT<Element> operator< ( const TMatrixT< Element > &  source1,
const TMatrixTSym< Element > &  source2 
)

logical operation source1 < source2

Definition at line 2808 of file TMatrixT.cxx.

◆ operator<=() [1/3]

template<class Element >
TMatrixT<Element> operator<= ( const TMatrixT< Element > &  source1,
const TMatrixTSym< Element > &  source2 
)

logical operation source1 <= source2

Definition at line 2749 of file TMatrixT.cxx.

◆ operator<=() [2/3]

template<class Element >
TMatrixT<Element> operator<= ( const TMatrixTSym< Element > &  source1,
const TMatrixT< Element > &  source2 
)

logical operation source1 <= source2

Definition at line 2775 of file TMatrixT.cxx.

◆ operator<=() [3/3]

template<class Element >
TMatrixT<Element> operator<= ( const TMatrixT< Element > &  source1,
const TMatrixT< Element > &  source2 
)

logical operation source1 <= source2

Definition at line 2723 of file TMatrixT.cxx.

◆ operator>() [1/3]

template<class Element >
TMatrixT<Element> operator> ( const TMatrixT< Element > &  source1,
const TMatrixT< Element > &  source2 
)

logical operation source1 > source2

Definition at line 2601 of file TMatrixT.cxx.

◆ operator>() [2/3]

template<class Element >
TMatrixT<Element> operator> ( const TMatrixT< Element > &  source1,
const TMatrixTSym< Element > &  source2 
)

logical operation source1 > source2

Definition at line 2627 of file TMatrixT.cxx.

◆ operator>() [3/3]

template<class Element >
TMatrixT<Element> operator> ( const TMatrixTSym< Element > &  source1,
const TMatrixT< Element > &  source2 
)

logical operation source1 > source2

Definition at line 2653 of file TMatrixT.cxx.

◆ operator>=() [1/3]

template<class Element >
TMatrixT<Element> operator>= ( const TMatrixT< Element > &  source1,
const TMatrixT< Element > &  source2 
)

logical operation source1 >= source2

Definition at line 2662 of file TMatrixT.cxx.

◆ operator>=() [2/3]

template<class Element >
TMatrixT<Element> operator>= ( const TMatrixT< Element > &  source1,
const TMatrixTSym< Element > &  source2 
)

logical operation source1 >= source2

Definition at line 2688 of file TMatrixT.cxx.

◆ operator>=() [3/3]

template<class Element >
TMatrixT<Element> operator>= ( const TMatrixTSym< Element > &  source1,
const TMatrixT< Element > &  source2 
)

logical operation source1 >= source2

Definition at line 2714 of file TMatrixT.cxx.

◆ operator||() [1/3]

template<class Element >
TMatrixT<Element> operator|| ( const TMatrixT< Element > &  source1,
const TMatrixT< Element > &  source2 
)

Logical OR.

Definition at line 2542 of file TMatrixT.cxx.

◆ operator||() [2/3]

template<class Element >
TMatrixT<Element> operator|| ( const TMatrixT< Element > &  source1,
const TMatrixTSym< Element > &  source2 
)

Logical OR.

Definition at line 2567 of file TMatrixT.cxx.

◆ operator||() [3/3]

template<class Element >
TMatrixT<Element> operator|| ( const TMatrixTSym< Element > &  source1,
const TMatrixT< Element > &  source2 
)

Logical OR.

Definition at line 2592 of file TMatrixT.cxx.