Mask the array x where the data are approximately equal in value, i.e. (abs(x - value) <= atol+rtol*abs(value))
Suitable only for floating points. For integers, please use masked_equal. The mask is set to nomask if posible.
Parameters: | x : array_like
value : float
rtol : {float}, optional
atol : {float}, optional
copy : {True, False}, optional
shrink : {True, False}, optional
|
---|