utility functions for 2d arrays.

a 2d array of type T is defined as T[R][C], where R is the major-axis (axis=0), and C is the minor-axis (axis=1). internally, we call the major-axis the row-axis, and the minor-axis the column-axis (or col-axis).

Type Aliases

Array2D
Array2DRowMajor
Array2DColMajor

Functions

shapeOfArray2D
Array2DShape
newArray2D
transposeArray2D
spliceArray2DMajor
spliceArray2DMinor
rotateArray2DMajor
rotateArray2DMinor
meshGrid
meshMap