Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

RE: Matrix Multiplier

by BlaisePascal (Monk)
on Sep 10, 2000 at 08:49 UTC ( [id://31784]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub getmatrix {
      my $what = shift;
    ...
      }
      return @matrix;
    }
    
  2. or download this
    sub checkmatrix {
      my $rowlength = @$_[0];
    ...
        $rowlength == @$_ or die "Number of columns was not consistant!\n"
    +;
      }
    }
    
  3. or download this
    sub getdimen {
      my $rows = @_;      # get number of rows
      my $cols = @$_[0];  # get number of elems in first row
      return ($rows,$columns);
    }
    
  4. or download this
    sub getproduct {
      my ($aref, $bref) = @_;
    ...
      }
      return @product;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2024-04-23 16:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found