Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: matrix multiplication

by trizen (Friar)
on Apr 21, 2012 at 18:58 UTC ( #966402=note: print w/ replies, xml ) Need Help??


in reply to matrix multiplication

1. Add return @AoA; at the end the readmatrix subroutine
2. Inside of the multiply sub, change return $product; into return @{$product}; - or use an array in the first place.


Comment on Re: matrix multiplication
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://966402]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2014-09-20 15:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (160 votes), past polls