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 caller gets back a multiplication result, zero padded to a square matrix. I believe this is done intentionally in embed, see comment here. It's unclear why the returned result wouldn't be trimmed to the correct dimensions (perhaps it made the recursion easier to implement?).
While this may not be unintentional, I think it's misleading at best; it's not documented anywhere I could find.
The text was updated successfully, but these errors were encountered:
mmulStrassen was implemented as an experiment to see if we could optimize the multiplication. It's not well tested and documented because of that.
We should check if any time can still be gained from that implementation. If not, I would suggest to deprecate it in the documentation and keep it as it is (to avoid a breaking change in the API).
mmulStrassen
does not compute a matrix multiplication, as its name implies.The caller gets back a multiplication result, zero padded to a square matrix. I believe this is done intentionally in
embed
, see comment here. It's unclear why the returned result wouldn't be trimmed to the correct dimensions (perhaps it made the recursion easier to implement?).While this may not be unintentional, I think it's misleading at best; it's not documented anywhere I could find.
The text was updated successfully, but these errors were encountered: