getElementIndex
Computes the array index of the element at the provided row and column.
const myMatrix = new Matrix2();
const column1Row0Index = Matrix2.getElementIndex(1, 0);
const column1Row0 = myMatrix[column1Row0Index]
myMatrix[column1Row0Index] = 10.0;
Content copied to clipboard
Return
The index of the element at the provided row and column.
Parameters
row
The zero-based index of the row.
column
The zero-based index of the column.