approxEqual

Returns true if the distance of each element is less than eps.

bool
approxEqual
(
T
uint U
uint V
)
(
const Matrix!(T, U, V) a
,
const Matrix!(T, U, V) b
,
T eps = 1e-5
)

Parameters

a Matrix!(T, U, V)

target point

b Matrix!(T, U, V)

target point

eps T

criteria of approximation

Return Value

Type: bool

true if 2 vectors are approximately equal.

Meta