@awatters_flatiron/tsvector - v1.0.1
    Preparing search index...

    Function vNearlyZero

    • Tests whether a vector is nearly the zero vector within a tolerance

      Parameters

      • a: Vector

        The vector to test

      • epsilon: number = 1e-6

        The tolerance threshold (default: 1e-6)

      Returns boolean

      True if the vector's length is less than epsilon, false otherwise