eq

fun eq(other: Vec1, equivalence: DoubleEquivalence = DEFAULT_DOUBLE_EQUIVALENCE): Boolean(source)

Checks if two vectors are equal within a specified tolerance.

Return

True if the vectors are equal within the tolerance, false otherwise.

Parameters

other

The other vector to compare with.

equivalence

The tolerance used for comparison.