setColumn

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

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