unaryMinus

open operator fun unaryMinus(): DynamicMatrix(source)

Returns the matrix with all elements negated. This is equivalent to multiplying the matrix by -1.