jax-js
    Preparing search index...

    Function ediff1d

    • Compute the differences between consecutive elements of an array.

      The input is flattened before taking differences. opts.toBegin and opts.toEnd are flattened, cast to the input dtype, and prepended or appended to the result.

      Parameters

      Returns Array