fu5ha/ultraviolet

Addition and scalar multiplication of matrices.

rtavenner opened this issue · 2 comments

I notice that these impls are missing:

  • impl Add for MatN (and probably AddAssign 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

fu5ha commented

Implemented in bfd9633 and released as 0.6.1