isZero

fun isZero(equivalence: DoubleEquivalence = DEFAULT_DOUBLE_EQUIVALENCE): Boolean(source)

Checks if the vector is a zero vector within a specified tolerance.

Return

True if the vector is zero within the tolerance, false otherwise.

Parameters

equivalence

The tolerance used for comparison.