rowOffset

fun rowOffset(row: Int): Int

Returns the row-major base offset for row in flattened cell planes.

Return

the flat index pointing to the start of the row.

Parameters

row

zero-based row index.