• Parameters

    • v: number[]

      one vector, n-dimensions

    • Optional epsilon: number = EPSILON

      an optional epsilon with a default value of 1e-6

    Returns boolean

    is the magnitude of the vector smaller than the epsilon?

    Description

    check if a vector is degenerate, meaning its magnitude is below an epsilon limit.