equalsEpsilon

fun equalsEpsilon(left: Matrix3? = definedExternally, right: Matrix3? = definedExternally, epsilon: Double? = definedExternally): Boolean(source)

Compares the provided matrices componentwise and returns true if they are within the provided epsilon, false otherwise.

Return

true if left and right are within the provided epsilon, false otherwise.

Parameters

left

The first matrix.

right

The second matrix.

epsilon

The epsilon to use for equality testing. Default value - 0

See also