Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    use PDL::Matrix;
    ...
             [4,5,6],
             [7,8,9]
    ];
    
  2. or download this
    my $m = pdl [
             [1,2,3],
    ...
    ];
    
    my $r = $m x $n;