equalsEpsilon

fun equalsEpsilon(left: Matrix2? = definedExternally, right: Matrix2? = 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