Creates a GridArray1d instance given the dimensions of the grid. Use createArray if you just want to create an array sized for a grid.
Behind the scenes, it runs:
const arr = createArray(initialValue, rows, cols);return wrapMutable(arr, cols); Copy
const arr = createArray(initialValue, rows, cols);return wrapMutable(arr, cols);
Optional
Creates a GridArray1d instance given the dimensions of the grid. Use createArray if you just want to create an array sized for a grid.
Behind the scenes, it runs: