negate

fun negate(matrix: Matrix2, result: Matrix2): Matrix2(source)

Creates a negated copy of the provided matrix.

Return

The modified result parameter.

Parameters

matrix

The matrix to negate.

result

The object onto which to store the result.

See also