This implements MulAssign and DivAssign for matrices and vectors.
The MulAssign could be expressed as scale, but it's nice to have multiple options. DivAssign might be less efficient than doing inversion of rhs then scaling, altough some cases migh benefit from direct division.
The impls are quite broad, but this should not be a problem as sparse inplace vector-vector multiplication is probably not very efficient.
This implements
MulAssign
andDivAssign
for matrices and vectors.The
MulAssign
could be expressed asscale
, but it's nice to have multiple options.DivAssign
might be less efficient than doing inversion ofrhs
then scaling, altough some cases migh benefit from direct division.The
impl
s are quite broad, but this should not be a problem as sparse inplace vector-vector multiplication is probably not very efficient.(The first commit removes a deprecated type)