Would this feature be more adaptable if it were implemented as a !.
feature? I don't have any example in mind, but the thought occurs.


On Wed, Oct 23, 2013 at 4:28 PM, Roger Hui <[email protected]>wrote:

> Thought experiment:  What if i. does overtake on the arguments to ensure
> that the item shape of the left argument matches the cell shape of the
> right argument?
>
>    I=: 4 : '(s{."c x) i. (s{."c y) [ s=. (}.$x)>.(-c=. <:$$x){.$y'
>    x=: > ;:'zero one two five one'
>    y=: > ;:'three one four one five nine'
>
>    $x
> 5 4
>    $y
> 6 5
>
>    x i. y
> 5 5 5 5 5 5
>    x I y
> 5 1 5 1 3 5
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
(B=) <-----my sig
Brian Schott
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to