Help for this page
Select Code to Download
Select
or
download this
use PDL; my $u = pdl [1,2,3,4]; ... { print $u->flat->index($i), "\n"; }