jax-js
    Preparing search index...

    Function repeat

    • Repeat each element of an array after themselves.

      If no axis is provided, use the flattened input array, and return a flat output array.

      Parameters

      • a: ArrayLike
      • repeats: number
      • Optionalaxis: number

      Returns Array