Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Matrix Multiplication Problem

by ikegami (Patriarch)
on Sep 02, 2004 at 17:58 UTC ( [id://388023]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-20 00:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found