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 | ||
) |
Calculates a product 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 to which the second operand is multiplied and to which the result is assigned. |
right | is a reference to the right matrix. |
left
after the multiplication has been performed. Chusov::Exceptions::InvalidParameterException | Dimensions of the matrices do not match. |