@oazmi/kitchensink - v0.9.13
    Preparing search index...

    Function newArray2D

    • create a new row-major 2d array, with provided value or fill function.

      Type Parameters

      • T

      Parameters

      • rows: number
      • cols: number
      • Optionalfill_fn:
            | T
            | (
                (
                    value?: undefined,
                    column_index?: number,
                    column_array?: (undefined | T)[],
                ) => T
            )

      Returns Array2DRowMajor<T>