Function linspace

  • Create a equivalently spaced array of numbers from start to end (inclusive) [start, end]

    Parameters

    • start: number

      start value

    • end: number

      end value

    • n: number = 100

      number of points

    Returns number[]