get

operator fun get(row: Int, col: Int): Float

Gets the item with the row and column index from the Matrix3 instance.

Return

The value of Matrix3 instance in the specific row and column index.

Parameters

row

The row index of the Matrix3 instance.

col

The column index of the Matrix3 instance.

Throws

IndexOutOfBoundsException

If the passed row index or column index is invalid.