You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that if we provide AddAssign for Scaled, we'd probably better implement all operators for Scaled, and that quickly grows out of proportion..
Two reasons:
axpy
, so it can be optimized (note: axpy is for vectors, not strided matrix)This operation is already _available efficiently_ using
.zip_mut_with
:a1.zip_mut_with(&a2, |x, &y| *x += k * y)
The question is if this is so common and the
zip_mut_with
so ugly that it warrants its own method.The text was updated successfully, but these errors were encountered: