jax-js
    Preparing search index...

    Function arraySplit

    • Split an array into multiple sub-arrays, allowing unevenly sized sections.

      If the axis does not divide evenly, the first sections are one element larger than the remaining sections.

      Parameters

      • a: ArrayLike
      • indicesOrSections: number | number[]
      • axis: number = 0

      Returns Array[]