jax-js
    Preparing search index...

    Function linspace

    • Return evenly spaced numbers over a specified interval.

      Returns num evenly spaced samples, calculated over the interval [start, stop]. The endpoint stop is included in the result by default, but this is controlled by the endpoint parameter.

      The default data type is Float32. Use arange() for integer steps.

      Parameters

      • start: number
      • stop: number
      • num: number = 50
      • endpoint: boolean = true
      • __namedParameters: { device?: Device; dtype?: DType } = {}

      Returns Array