flatIndexOf MethodStatic

Convert a (row,column) index pair to the single index within flattened array of 9 numbers in row-major-order

  • Note: Out of range row/column is interpreted cyclically.

flatIndexOf(row: number, column: number): number

Parameter Type Description
row number  
column number  

Returns - number

Defined in

Last Updated: 28 October, 2024