Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -l
    
    ...
    print Dumper ndim @$_ for [1,3], [2,2], [2,3], [3,3];
    
    __END__
    
  2. or download this
    sub _ndim {
        my ($n,$m) = @_;
    ...
    }
    
    sub ndim { [_ndim @_] }