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).
T
T[R][C]
R
C
utility functions for 2d arrays.
a 2d array of type
T
is defined asT[R][C]
, whereR
is the major-axis (axis=0), andC
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).