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

    Function MTolerate

    • Rounds matrix entries near integer values to integers (mainly for testing)

      Parameters

      • M: Matrix

        The matrix to process

      • epsilon: number = 0.001

        The tolerance for rounding (default: 0.001)

      Returns Matrix

      A new matrix with near-integer values rounded to integers