unaryMinus

operator fun unaryMinus(): Matrix3

Overloads the unary minus operator (-) to perform element-wise negation of this matrix.

Each component of the resulting matrix is the negation of the corresponding component of this matrix.

Return

A new Matrix3 representing the negation of this matrix.