On Mar 9, 2011, at 7:33 AM, Ivan Shmakov wrote:

>       FWIW, it was the ->dice_axis () method that I was searching for.
> 
>       However, it makes me wonder, why there isn't a method, let me
>       call it ->where_axis (), which relates to ->where () roughly as
>       ->dice_axis () relates to ->dice ()?  IOW, a ->where () limited
>       to a single dimension?

probably because nobody has written it yet!  You can probably figure out how to 
cook up whatever you need with a judicious use of dummy().  For example:

$a = sequence(10,4);
$m1 = sequence(4) % 2;
$m2 = sequence(10) % 3;
print $a->where($m1->dummy(0,10));
print $b->where($m2->dummy(1,4));

Derek


> 
> -- 
> FSF associate member #7257
> _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to