Logo ROOT  
Reference Guide
TMatrixTSparse.h File Reference
#include "TMatrixTBase.h"
#include "TMatrixTUtils.h"
#include <cstring>
Include dependency graph for TMatrixTSparse.h:
This graph shows which files directly or indirectly include this file:

Classes

class  TMatrixTSparse< Element >
 TMatrixTSparse. More...
 

Functions

template<class Element >
TMatrixTSparse< Element > & Add (TMatrixTSparse< Element > &target, Element scalar, const TMatrixTSparse< Element > &source)
 Modify addition: target += scalar * source. More...
 
template<class Element >
Bool_t AreCompatible (const TMatrixTSparse< Element > &m1, const TMatrixTSparse< Element > &m2, Int_t verbose=0)
 
template<class Element >
TMatrixTSparse< Element > & ElementDiv (TMatrixTSparse< Element > &target, const TMatrixTSparse< Element > &source)
 Divide target by the source, element-by-element. More...
 
template<class Element >
TMatrixTSparse< Element > & ElementMult (TMatrixTSparse< Element > &target, const TMatrixTSparse< Element > &source)
 Multiply target by the source, element-by-element. More...
 
template<class Element >
TMatrixTSparse< Element > operator* (const TMatrixT< Element > &source1, const TMatrixTSparse< Element > &source2)
 
template<class Element >
TMatrixTSparse< Element > operator* (const TMatrixTSparse< Element > &source, Element val)
 
template<class Element >
TMatrixTSparse< Element > operator* (const TMatrixTSparse< Element > &source1, const TMatrixT< Element > &source2)
 
template<class Element >
TMatrixTSparse< Element > operator* (const TMatrixTSparse< Element > &source1, const TMatrixTSparse< Element > &source2)
 
template<class Element >
TMatrixTSparse< Element > operator* (Element val, const TMatrixTSparse< Element > &source)
 
template<class Element >
TMatrixTSparse< Element > operator+ (const TMatrixT< Element > &source1, const TMatrixTSparse< Element > &source2)
 
template<class Element >
TMatrixTSparse< Element > operator+ (const TMatrixTSparse< Element > &source, Element val)
 
template<class Element >
TMatrixTSparse< Element > operator+ (const TMatrixTSparse< Element > &source1, const TMatrixT< Element > &source2)
 
template<class Element >
TMatrixTSparse< Element > operator+ (const TMatrixTSparse< Element > &source1, const TMatrixTSparse< Element > &source2)
 
template<class Element >
TMatrixTSparse< Element > operator+ (Element val, const TMatrixTSparse< Element > &source)
 
template<class Element >
TMatrixTSparse< Element > operator- (const TMatrixT< Element > &source1, const TMatrixTSparse< Element > &source2)
 
template<class Element >
TMatrixTSparse< Element > operator- (const TMatrixTSparse< Element > &source, Element val)
 
template<class Element >
TMatrixTSparse< Element > operator- (const TMatrixTSparse< Element > &source1, const TMatrixT< Element > &source2)
 
template<class Element >
TMatrixTSparse< Element > operator- (const TMatrixTSparse< Element > &source1, const TMatrixTSparse< Element > &source2)
 
template<class Element >
TMatrixTSparse< Element > operator- (Element val, const TMatrixTSparse< Element > &source)
 

Function Documentation

◆ Add()

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

Modify addition: target += scalar * source.

Definition at line 2674 of file TMatrixTSparse.cxx.

◆ AreCompatible()

template<class Element >
Bool_t AreCompatible ( const TMatrixTSparse< Element > &  m1,
const TMatrixTSparse< Element > &  m2,
Int_t  verbose = 0 
)

Definition at line 2729 of file TMatrixTSparse.cxx.

◆ ElementDiv()

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

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

Definition at line 2704 of file TMatrixTSparse.cxx.

◆ ElementMult()

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

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

Definition at line 2684 of file TMatrixTSparse.cxx.

◆ operator*() [1/5]

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

Definition at line 2644 of file TMatrixTSparse.cxx.

◆ operator*() [2/5]

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

Definition at line 2663 of file TMatrixTSparse.cxx.

◆ operator*() [3/5]

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

Definition at line 2635 of file TMatrixTSparse.cxx.

◆ operator*() [4/5]

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

Definition at line 2626 of file TMatrixTSparse.cxx.

◆ operator*() [5/5]

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

Definition at line 2653 of file TMatrixTSparse.cxx.

◆ operator+() [1/5]

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

Definition at line 2550 of file TMatrixTSparse.cxx.

◆ operator+() [2/5]

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

Definition at line 2559 of file TMatrixTSparse.cxx.

◆ operator+() [3/5]

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

Definition at line 2541 of file TMatrixTSparse.cxx.

◆ operator+() [4/5]

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

Definition at line 2532 of file TMatrixTSparse.cxx.

◆ operator+() [5/5]

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

Definition at line 2569 of file TMatrixTSparse.cxx.

◆ operator-() [1/5]

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

Definition at line 2597 of file TMatrixTSparse.cxx.

◆ operator-() [2/5]

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

Definition at line 2606 of file TMatrixTSparse.cxx.

◆ operator-() [3/5]

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

Definition at line 2588 of file TMatrixTSparse.cxx.

◆ operator-() [4/5]

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

Definition at line 2579 of file TMatrixTSparse.cxx.

◆ operator-() [5/5]

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

Definition at line 2616 of file TMatrixTSparse.cxx.