Logo ROOT   6.10/09
Reference Guide
Functions | Variables
TMatrixTBase.cxx File Reference
#include "TMatrixTBase.h"
#include "TVectorT.h"
#include "TROOT.h"
#include "TClass.h"
#include "TMath.h"
#include <limits.h>
Include dependency graph for TMatrixTBase.cxx:

Functions

template<class Element1 , class Element2 >
Bool_t AreCompatible (const TMatrixTBase< Element1 > &m1, const TMatrixTBase< Element2 > &m2, Int_t verbose)
 Check that matrice sm1 and m2 areboth valid and have identical shapes . More...
 
template Bool_t AreCompatible< Double_t, Double_t > (const TMatrixDBase &m1, const TMatrixDBase &m2, Int_t verbose)
 
template Bool_t AreCompatible< Double_t, Float_t > (const TMatrixDBase &m1, const TMatrixFBase &m2, Int_t verbose)
 
template Bool_t AreCompatible< Float_t, Double_t > (const TMatrixFBase &m1, const TMatrixDBase &m2, Int_t verbose)
 
template Bool_t AreCompatible< Float_t, Float_t > (const TMatrixFBase &m1, const TMatrixFBase &m2, Int_t verbose)
 
template<class Element >
void Compare (const TMatrixTBase< Element > &m1, const TMatrixTBase< Element > &m2)
 Compare two matrices and print out the result of the comparison. More...
 
template void Compare< Double_t > (const TMatrixDBase &m1, const TMatrixDBase &m2)
 
template void Compare< Float_t > (const TMatrixFBase &m1, const TMatrixFBase &m2)
 
template<class Element >
Element E2Norm (const TMatrixTBase< Element > &m1, const TMatrixTBase< Element > &m2)
 Square of the Euclidian norm of the difference between two matrices. More...
 
template Double_t E2Norm< Double_t > (const TMatrixDBase &m1, const TMatrixDBase &m2)
 
template Float_t E2Norm< Float_t > (const TMatrixFBase &m1, const TMatrixFBase &m2)
 
template<class Element >
Bool_t operator== (const TMatrixTBase< Element > &m1, const TMatrixTBase< Element > &m2)
 Check to see if two matrices are identical. More...
 
template Bool_t operator==< Double_t > (const TMatrixDBase &m1, const TMatrixDBase &m2)
 
template Bool_t operator==< Float_t > (const TMatrixFBase &m1, const TMatrixFBase &m2)
 
template<class Element >
Bool_t VerifyMatrixIdentity (const TMatrixTBase< Element > &m1, const TMatrixTBase< Element > &m2, Int_t verbose, Element maxDevAllow)
 Verify that elements of the two matrices are equal within MaxDevAllow . More...
 
template Bool_t VerifyMatrixIdentity< Double_t > (const TMatrixDBase &m1, const TMatrixDBase &m2, Int_t verbose, Double_t maxDevAllow)
 
template Bool_t VerifyMatrixIdentity< Double_t > (const TMatrixDBase &m1, const TMatrixDBase &m2)
 
template Bool_t VerifyMatrixIdentity< Float_t > (const TMatrixFBase &m1, const TMatrixFBase &m2, Int_t verbose, Float_t maxDevAllowN)
 
template Bool_t VerifyMatrixIdentity< Float_t > (const TMatrixFBase &m1, const TMatrixFBase &m2)
 
template<class Element >
Bool_t VerifyMatrixValue (const TMatrixTBase< Element > &m, Element val, Int_t verbose, Element maxDevAllow)
 Validate that all elements of matrix have value val within maxDevAllow. More...
 
template Bool_t VerifyMatrixValue< Double_t > (const TMatrixDBase &m, Double_t val, Int_t verbose, Double_t maxDevAllow)
 
template Bool_t VerifyMatrixValue< Double_t > (const TMatrixDBase &m, Double_t val)
 
template Bool_t VerifyMatrixValue< Float_t > (const TMatrixFBase &m, Float_t val, Int_t verbose, Float_t maxDevAllow)
 
template Bool_t VerifyMatrixValue< Float_t > (const TMatrixFBase &m, Float_t val)
 

Variables

Int_t gMatrixCheck = 1
 TMatrixTBase. More...
 

Function Documentation

◆ AreCompatible()

template<class Element1 , class Element2 >
Bool_t AreCompatible ( const TMatrixTBase< Element1 > &  m1,
const TMatrixTBase< Element2 > &  m2,
Int_t  verbose 
)

Check that matrice sm1 and m2 areboth valid and have identical shapes .

Definition at line 1084 of file TMatrixTBase.cxx.

◆ AreCompatible< Double_t, Double_t >()

template Bool_t AreCompatible< Double_t, Double_t > ( const TMatrixDBase m1,
const TMatrixDBase m2,
Int_t  verbose 
)

◆ AreCompatible< Double_t, Float_t >()

template Bool_t AreCompatible< Double_t, Float_t > ( const TMatrixDBase m1,
const TMatrixFBase m2,
Int_t  verbose 
)

◆ AreCompatible< Float_t, Double_t >()

template Bool_t AreCompatible< Float_t, Double_t > ( const TMatrixFBase m1,
const TMatrixDBase m2,
Int_t  verbose 
)

◆ AreCompatible< Float_t, Float_t >()

template Bool_t AreCompatible< Float_t, Float_t > ( const TMatrixFBase m1,
const TMatrixFBase m2,
Int_t  verbose 
)

◆ Compare()

template<class Element >
void Compare ( const TMatrixTBase< Element > &  m1,
const TMatrixTBase< Element > &  m2 
)

Compare two matrices and print out the result of the comparison.

Definition at line 1111 of file TMatrixTBase.cxx.

◆ Compare< Double_t >()

template void Compare< Double_t > ( const TMatrixDBase m1,
const TMatrixDBase m2 
)

◆ Compare< Float_t >()

template void Compare< Float_t > ( const TMatrixFBase m1,
const TMatrixFBase m2 
)

◆ E2Norm()

template<class Element >
Element E2Norm ( const TMatrixTBase< Element > &  m1,
const TMatrixTBase< Element > &  m2 
)

Square of the Euclidian norm of the difference between two matrices.

Definition at line 1062 of file TMatrixTBase.cxx.

◆ E2Norm< Double_t >()

template Double_t E2Norm< Double_t > ( const TMatrixDBase m1,
const TMatrixDBase m2 
)

◆ E2Norm< Float_t >()

template Float_t E2Norm< Float_t > ( const TMatrixFBase m1,
const TMatrixFBase m2 
)

◆ operator==()

template<class Element >
Bool_t operator== ( const TMatrixTBase< Element > &  m1,
const TMatrixTBase< Element > &  m2 
)

Check to see if two matrices are identical.

Definition at line 1051 of file TMatrixTBase.cxx.

◆ operator==< Double_t >()

template Bool_t operator==< Double_t > ( const TMatrixDBase m1,
const TMatrixDBase m2 
)

◆ operator==< Float_t >()

template Bool_t operator==< Float_t > ( const TMatrixFBase m1,
const TMatrixFBase m2 
)

◆ VerifyMatrixIdentity()

template<class Element >
Bool_t VerifyMatrixIdentity ( const TMatrixTBase< Element > &  m1,
const TMatrixTBase< Element > &  m2,
Int_t  verbose,
Element  maxDevAllow 
)

Verify that elements of the two matrices are equal within MaxDevAllow .

Definition at line 1208 of file TMatrixTBase.cxx.

◆ VerifyMatrixIdentity< Double_t >() [1/2]

template Bool_t VerifyMatrixIdentity< Double_t > ( const TMatrixDBase m1,
const TMatrixDBase m2,
Int_t  verbose,
Double_t  maxDevAllow 
)

◆ VerifyMatrixIdentity< Double_t >() [2/2]

template Bool_t VerifyMatrixIdentity< Double_t > ( const TMatrixDBase m1,
const TMatrixDBase m2 
)

◆ VerifyMatrixIdentity< Float_t >() [1/2]

template Bool_t VerifyMatrixIdentity< Float_t > ( const TMatrixFBase m1,
const TMatrixFBase m2,
Int_t  verbose,
Float_t  maxDevAllowN 
)

◆ VerifyMatrixIdentity< Float_t >() [2/2]

template Bool_t VerifyMatrixIdentity< Float_t > ( const TMatrixFBase m1,
const TMatrixFBase m2 
)

◆ VerifyMatrixValue()

template<class Element >
Bool_t VerifyMatrixValue ( const TMatrixTBase< Element > &  m,
Element  val,
Int_t  verbose,
Element  maxDevAllow 
)

Validate that all elements of matrix have value val within maxDevAllow.

Definition at line 1165 of file TMatrixTBase.cxx.

◆ VerifyMatrixValue< Double_t >() [1/2]

template Bool_t VerifyMatrixValue< Double_t > ( const TMatrixDBase m,
Double_t  val,
Int_t  verbose,
Double_t  maxDevAllow 
)

◆ VerifyMatrixValue< Double_t >() [2/2]

template Bool_t VerifyMatrixValue< Double_t > ( const TMatrixDBase m,
Double_t  val 
)

◆ VerifyMatrixValue< Float_t >() [1/2]

template Bool_t VerifyMatrixValue< Float_t > ( const TMatrixFBase m,
Float_t  val,
Int_t  verbose,
Float_t  maxDevAllow 
)

◆ VerifyMatrixValue< Float_t >() [2/2]

template Bool_t VerifyMatrixValue< Float_t > ( const TMatrixFBase m,
Float_t  val 
)

Variable Documentation

◆ gMatrixCheck

Int_t gMatrixCheck = 1

TMatrixTBase.

Template of base class in the linear algebra package

matrix properties are stored here, however the data storage is part of the derived classes

Definition at line 229 of file TMatrixTBase.cxx.