Write a NumPy program to test whether two arrays are element-wise equal within a tolerance.
Note: The tolerance values are positive, typically very small numbers. The relative difference (rtol * abs(b)) and the absolute difference atol are added together to compare against the absolute difference between a and b
Sample Output:
need an explanation for this answer? contact us directly to get an explanation for this answer