Logo ROOT  
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
 
class  TMatrixTLazy
 
class  TMatrixTSparse
 
class  TMatrixTSym
 

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 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 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 > &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* (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 = source+val 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+ (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 = source-val 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- (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 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 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 2934 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 2962 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 3078 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 3125 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 3101 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 3022 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 3050 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 2982 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 3002 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 2844 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 2870 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 2896 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 2484 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 2509 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 2534 of file TMatrixT.cxx.

◆ operator*() [1/6]

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

operation this = val*source

Definition at line 2435 of file TMatrixT.cxx.

◆ operator*() [2/6]

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

operation this = source1*source2

Definition at line 2444 of file TMatrixT.cxx.

◆ operator*() [3/6]

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

operation this = source1*source2

Definition at line 2454 of file TMatrixT.cxx.

◆ operator*() [4/6]

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

operation this = source1*source2

Definition at line 2464 of file TMatrixT.cxx.

◆ operator*() [5/6]

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

operation this = source1*source2

Definition at line 2474 of file TMatrixT.cxx.

◆ operator*() [6/6]

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

operation this = val*source

Definition at line 2424 of file TMatrixT.cxx.

◆ operator+() [1/5]

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

operation this = source+val

Definition at line 2353 of file TMatrixT.cxx.

◆ operator+() [2/5]

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

operation this = source1+source2

Definition at line 2322 of file TMatrixT.cxx.

◆ operator+() [3/5]

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

operation this = source1+source2

Definition at line 2333 of file TMatrixT.cxx.

◆ operator+() [4/5]

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

operation this = source1+source2

Definition at line 2344 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 2364 of file TMatrixT.cxx.

◆ operator-() [1/5]

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

operation this = source-val

Definition at line 2404 of file TMatrixT.cxx.

◆ operator-() [2/5]

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

operation this = source1-source2

Definition at line 2373 of file TMatrixT.cxx.

◆ operator-() [3/5]

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

operation this = source1-source2

Definition at line 2384 of file TMatrixT.cxx.

◆ operator-() [4/5]

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

operation this = source1-source2

Definition at line 2395 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 2415 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 2785 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 2809 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 2835 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 2724 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 2750 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 2776 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 2602 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 2628 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 2654 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 2663 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 2689 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 2715 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 2543 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 2568 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 2593 of file TMatrixT.cxx.