setRow

fun setRow(matrix: Matrix2, index: Int, cartesian: Cartesian2, result: Matrix2): Matrix2(source)

Computes a new matrix that replaces the specified row in the provided matrix with the provided Cartesian2 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