setRow

fun setRow(matrix: Matrix3, index: Int, cartesian: Cartesian3, result: Matrix3): Matrix3(source)

Computes a new matrix that replaces the specified row in the provided matrix with the provided Cartesian3 instance.

Return

The modified result parameter.

Parameters

matrix

The matrix to use.

index

The zero-based index of the row to set.

cartesian

The Cartesian whose values will be assigned to the specified row.

result

The object onto which to store the result.

See also