std::enable_if< is_rng<val_t>::value && std::is_convertible<elem_t, val_t>::value , typename Matrix<val_t, alloc_t, der_t, policy_t>::derived_type& >::type Chusov::Math::operator*= | ( | Matrix< val_t, alloc_t, der_t, policy_t > & | left, |
elem_t && | val | ||
) |
Multiplies a matrix and a scalar and assigns the product to the matrix.
val_t | is a type of an element of the matrix. |
alloc_t | is a type of an allocator used by the left matrix. |
der_t | is a derived type of the first operand. See Matrix::derived_type. |
policy_t | is an execution policy of the matrix. |
elem_t | is a type of the scalar multiplied to the matrix. |
left | is an lvalue reference to the matrix to which the right operand is multiplied and to which the product is assigned. |
val | is a universal reference to the scalar to be multiplied to the matrix from the right. |
left
cast to theelem_t
type are convertible to val1_t
.