Addition and scalar multiplication of matrices.
rtavenner opened this issue · 2 comments
rtavenner commented
I notice that these impl
s are missing:
impl Add for MatN
(and probablyAddAssign
as well)impl Mul<f32> for MatN
Admittedly, these aren't the most common operations, but they do come up occasionally, and it seems weird that they're missing.
There is a workaround, but it's a bit annoying; split the matri(x/ces) into (its/their) component vectors, and apply the operation separately on each component.
fu5ha commented
Yep these are definitely good to have. They don't exist mostly cause myself nor anyone else using it has wanted it so far... Or at least hasnt reported wanting it :p