@d4c/numjs
    Preparing search index...

    Function empty

    • Return a new array of given shape and type, filled with undefined values.

      Parameters

      • shape: number | number[]

        Shape of the new array, e.g., [2, 3] or 2.

      • Optionaldtype: ArrayLikeConstructor | DType

        Defaut is "array". The type of the output array. E.g., 'uint8' or Uint8Array.

      Returns NdArray

      Array of undefined values with the given shape and dtype