stevenmiller888 / matrix

A tiny matrix library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

matrix order in multipy

stellanhaglund opened this issue · comments

Hi I think you might have the order of the matrices in Matrix.multiply reversed.

Shouldn't it be the columns of the first matrix should be equal to the number of rows in the second?
If I do it that way the multiplication gets wrong, but if I switch it over it gives me the right result.

@stellanhaglund Thanks for raising. Are you down to open a PR with the fix?

This issue also hit me. See #3 for a fix.