Scythe-1.0.3
template<typename T_type , matrix_order R_ORDER, matrix_style R_STYLE, matrix_order ORDER, matrix_style STYLE>
Matrix<T_type, R_ORDER, R_STYLE> scythe::operator- ( const Matrix< T_type, ORDER, STYLE > &  M) [inline]

Negate a Matrix.

This unary operator returns the negation of M. This version of the operator is a general template and can provide a Matrix with any matrix_order or matrix_style as its return value.

We also provide an overloaded default template that returns a concrete matrix with the same matrix_order as M.

Parameters:
MThe Matrix to negate.
Exceptions:
scythe_alloc_error(Level 1)