ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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:

Go to the source code of this file.

Functions

 templateClassImp (TMatrixTBase) template< class Element > void TMatrixTBase< Element >
 Lexical sort on array data using indices first and second. More...
 
template<class Element >
Bool_t operator== (const TMatrixTBase< Element > &m1, const TMatrixTBase< Element > &m2)
 Check to see if two matrices are identical. More...
 
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<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<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<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<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 operator==< Float_t > (const TMatrixFBase &m1, const TMatrixFBase &m2)
 
template Float_t E2Norm< Float_t > (const TMatrixFBase &m1, const TMatrixFBase &m2)
 
template Bool_t AreCompatible< Float_t, Float_t > (const TMatrixFBase &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 void Compare< Float_t > (const TMatrixFBase &m1, const TMatrixFBase &m2)
 
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)
 
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 Bool_t operator==< Double_t > (const TMatrixDBase &m1, const TMatrixDBase &m2)
 
template Double_t E2Norm< Double_t > (const TMatrixDBase &m1, const TMatrixDBase &m2)
 
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 void Compare< Double_t > (const TMatrixDBase &m1, const TMatrixDBase &m2)
 
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 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)
 

Variables

Int_t gMatrixCheck = 1
 

Function Documentation

template<class Element1 , class Element2 >
Bool_t AreCompatible ( const TMatrixTBase< Element1 > &  m1,
const TMatrixTBase< Element2 > &  m2,
Int_t  verbose 
)
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.

Definition at line 1094 of file TMatrixTBase.cxx.

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.

Definition at line 1045 of file TMatrixTBase.cxx.

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.

Definition at line 1034 of file TMatrixTBase.cxx.

template Bool_t operator==< Double_t > ( const TMatrixDBase m1,
const TMatrixDBase m2 
)
template Bool_t operator==< Float_t > ( const TMatrixFBase m1,
const TMatrixFBase m2 
)
templateClassImp ( TMatrixTBase  )

Lexical sort on array data using indices first and second.

Definition at line 214 of file TMatrixTBase.cxx.

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 1191 of file TMatrixTBase.cxx.

Referenced by VerifyMatrixIdentity().

template Bool_t VerifyMatrixIdentity< Double_t > ( const TMatrixDBase m1,
const TMatrixDBase m2,
Int_t  verbose,
Double_t  maxDevAllow 
)
template Bool_t VerifyMatrixIdentity< Float_t > ( const TMatrixFBase m1,
const TMatrixFBase m2,
Int_t  verbose,
Float_t  maxDevAllowN 
)
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 1148 of file TMatrixTBase.cxx.

Referenced by VerifyMatrixValue().

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

Variable Documentation

Int_t gMatrixCheck = 1