Hello, I'm trying to find a method to concatenate two 1D-piddles into a new one containing all the values (unique) of the input piddles. Example
$a = pdl( 0,2,4,6 ) $b = pdl( 1,2,3,4,5 ) $result [ 0 1 2 3 4 5 6 ] setops($a,'OR',$b) should do it, but blows me away if $a and $b don't have the same # of elements. ---------------------- PDL: PDL::Ops::assgn(a,b): Parameter 'b' PDL: Mismatched implicit thread dimension 0: should be 5, is 4 ---------------------- Suggestions? /Anders Hartman _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
