- or download this
my @product = matrix_multiply(@matrix1, @matrix2);
- or download this
my @product = @{ matrix_multiply(\@matrix1, \@matrix2) };
- or download this
my @product = matrix_multiply(
$matrix1[0],
...
);
# @product has only one element.
# $product[0] is a ref to the resulting matrix