Matrix<common_type, typename std::allocator_traits<alloc_t>::template rebind_alloc<common_type>, void, policy_t> Chusov::Math::operator* | ( | const Matrix< val_t, alloc_t, der_t, policy_t > & | left, |
elem_t && | val | ||
) |
Multiplies a matrix and a scalar.
val_t | is a type of an element of the matrix. |
alloc_t | is a type of an allocator used by the matrix. |
der_t | is a derived type of the matrix. 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 a reference to the matrix. |
val | is the scalar multiplied to the matrix from the right. |