i.e. within a small but non-zero tolerance of each other

allclose(x, y, tol = 1e-12)

Arguments

x

First array like object

y

Second array like object

tol

Acceptable difference between individual elements of x and y

Value

logical indicating if values are elementwise within tol of each other