Logo ROOT   master
Reference Guide
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 2936 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 2964 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 3080 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 3127 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 3103 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 3024 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 3052 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 2984 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 3004 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 2486 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 2511 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 2536 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 2846 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 2872 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 2898 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 2426 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 2437 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 2446 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 2456 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 2466 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 2476 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 2324 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 2335 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 2346 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 2355 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 2366 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 2375 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 2386 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 2397 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 2406 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 2417 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 2787 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 2837 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 2811 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 2752 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 2778 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 2726 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 2604 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 2630 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 2656 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 2665 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 2691 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 2717 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 2545 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 2570 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 2595 of file TMatrixT.cxx.