jax-js
    Preparing search index...

    Function logspace

    • Return numbers spaced evenly on a log scale.

      In linear space, the sequence starts at base ** start and ends at base ** stop (see endpoint below).

      Parameters

      • start: number

        base ** start is the starting value of the sequence.

      • stop: number

        base ** stop is the final value of the sequence, unless endpoint is false.

      • num: number = 50

        Number of samples to generate. Default is 50.

      • endpoint: boolean = true

        If true, stop is the last sample. Otherwise, it is not included. Default is true.

      • base: number = 10

        The base of the log space. Default is 10.

      • __namedParameters: { device?: Device; dtype?: DType } = {}

      Returns Array

      Array of evenly spaced values on a log scale.