triqs.utility.comparison_tests
Numerical equality assertions for arrays and Green’s functions.
These helpers are used throughout the TRIQS test suite to compare
numerical objects up to a tolerance. Each function raises
AssertionError when the inputs differ by more than
precision in maximum absolute element-wise difference, and
returns None on success.
Functions
|
Assert that a square matrix equals |
|
Assert that two arrays are equal in maximum absolute difference. |
|
Assert that two |
|
Assert that two |
|
Assert that two Green's functions agree on their data array. |