equalsEpsilon

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

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

Return

true if they are within the provided epsilon, false otherwise.

Parameters

right

The right hand side matrix.

epsilon

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

See also