setColumn

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

Computes a new matrix that replaces the specified column 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 column to set.

cartesian

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

result

The object onto which to store the result.

See also