| derived_type& Chusov::Math::operator-= | ( | Matrix< val1_t, alloc1_t, der1_t, policy1_t > & | left, |
| const Matrix< val2_t, alloc2_t, der2_t, policy2_t > & | right | ||
| ) |
Performs a subtraction of two matrices with an assignment of the result to the first operand.
| val1_t | is a type of an element of the left matrix. |
| alloc1_t | is a type of an allocator used by the left matrix. |
| der1_t | is a derived type of the first operand. See Matrix::derived_type. |
| policy1_t | is an execution policy of the first operand. |
| val2_t | is a type of an element of the right matrix. |
| alloc2_t | is a type of an allocator used by the right matrix. |
| der2_t | is a derived type of the second operand. See Matrix::derived_type. |
| policy2_t | is an execution policy of the second operand. |
| left | is an lvalue reference to the left matrix from which the second operand is subtracted and to which the result is assigned. |
| right | is a reference to the right matrix. |
left cast to the| Chusov::Exceptions::InvalidParameterException | Dimensions of the matrices do not match. |