good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: matrix multiplicationby JavaFan (Canon) |
on Apr 21, 2012 at 19:14 UTC ( [id://966403]=note: print w/replies, xml ) | Need Help?? |
You are assigning the return value of close to to @mat1 and @mat2.
Really, before asking a question here, some basic debugging would be good. At least you could have tested whether multiply got the parameters you expected -- and then you could have realized that the bug is nowhere near you think it was.
In Section
Seekers of Perl Wisdom
|
|