Approximately equal arrays

The assert_approx_equal function raises an exception if two numbers are not equal up to a certain number of significant digits. The function result is an exception that is triggered by the condition:

abs(actual - expected) >= 10**-(significant - 1)
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset