perldl> $x = pdl(1,2,0); perldl> $y = pdl(1,3,0);
perldl> print setops($x, 'XOR', $y) [2 3] which correct perldl> $y = pdl(1,3,0,0,0); perldl> $x = pdl(1,2,0,0,0); perldl> print setops($x, 'XOR', $y) [0 0 0 0 2 3] while I was expecting [2 3] I guess if I really want to know what is the diff between two sequences I need to uniq() them first perldl> print setops(uniq($x), 'XOR', uniq($y)) [2 3] Gabor ps. This is PDL 2.4.3 that comes with Ubuntu 9.04 _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
