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: 14 November, 2024