npm.nicfv.com

    Function logspace

    • Generate an array of logarithmically spaced numbers.

      Parameters

      • min: number

        The initial magnitude of the space

      • max: number

        The final magnitude of the space

      • count: number

        The number of values in the space

      Returns number[]

      The logarithmic space as an array of numbers

      const space = SMath.logspace(0, 2, 5);
      // [ 1, 3.2, 10, 31.6, 100 ]
    MMNEPVFCICPMFPCPTTAAATR