in reply to Perly way of handling coordinates?

Hi loris,

PDL treats coordinates in the intuitive way you are seeking.

#!/usr/bin/perl use strict; use warnings; use PDL; my $origin = pdl (2,3); my $offset = pdl (4,5); my $interesting_cell = $origin + $offset; print $interesting_cell; # [6 8]