HiggsAnalysis-KITHiggsToTauTau
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
uncertainties.test_umath Namespace Reference

Functions

def test_fixed_derivatives_math_funcs
 Unit tests. More...
 
def test_compound_expression
 Test equality between different formulas. More...
 
def test_numerical_example
 Full comparison to a Monte-Carlo calculation. More...
 
def test_monte_carlo_comparison
 
def test_math_module
 
def test_hypot
 
def test_power_all_cases
 
def test_power_special_cases
 
def test_power_wrt_ref
 

Function Documentation

def uncertainties.test_umath.test_compound_expression ( )

Test equality between different formulas.

def uncertainties.test_umath.test_fixed_derivatives_math_funcs ( )

Unit tests.

Comparison between function derivatives and numerical derivatives.

This comparison is useful for derivatives that are analytical.

modf(): returns a tuple: frexp(): returns a tuple:

def uncertainties.test_umath.test_hypot ( )
def uncertainties.test_umath.test_math_module ( )
def uncertainties.test_umath.test_monte_carlo_comparison ( )
def uncertainties.test_umath.test_numerical_example ( )

Full comparison to a Monte-Carlo calculation.

Both the nominal values and the covariances are compared between the direct calculation performed in this module and a Monte-Carlo simulation.

def uncertainties.test_umath.test_power_all_cases ( )
def uncertainties.test_umath.test_power_special_cases ( )
def uncertainties.test_umath.test_power_wrt_ref ( )