It's easy to get a span of array's elements in PDL, like:
use PDL qw (badflag);
my $v
= PDL->pdl ([0 .. 7]);
print ($v->mslice ([3, 5]), "\n");
# => [3 4 5]
Now, is there an easy way to get the original array /except/
that span? (I. e., [0, 1, 2, 6, 7], in the case above.)
TIA.
--
FSF associate member #7257
pgpASNbv9pZjh.pgp
Description: PGP signature
_______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
