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
Multiplying by a diagonal matrix is faster than a general matrix, because it is equivalent to scaling rows if mat * diag, or columns if diag * mat. Should there be a DiagonalMatrix stored as a vector that implements matrix mult like this to be faster?
An application, for example, is scaling in a rotation/scale/translation transformation.
The text was updated successfully, but these errors were encountered:
Yeah, originally I was thinking this would be a nice optimization! I don't currently do it though. It's also a handy invariant to know in some cases, but again, I haven't taken advantage of it. Lots of unfinished business on cgmath - if you want to chat further I'm on Gitter!
Multiplying by a diagonal matrix is faster than a general matrix, because it is equivalent to scaling rows if mat * diag, or columns if diag * mat. Should there be a DiagonalMatrix stored as a vector that implements matrix mult like this to be faster?
An application, for example, is scaling in a rotation/scale/translation transformation.
The text was updated successfully, but these errors were encountered: