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
In Section
Seekers of Perl Wisdom