jax-js
    Preparing search index...
    • Compute the vector norm of an array.

      Parameters

      • x: ArrayLike

        Input array.

      • ord: { axis?: number | number[] | null; keepdims?: boolean; ord?: number } = {}

        Order of the norm (default 2). Supports Infinity, -Infinity, 0, or any real number.

      Returns Array

      The norm of x, reduced over the given axes.