Another beginner question . I'm trying to understand how atop (@) works.I've 
read this http://www.jsoftware.com/help/dictionary/d620.htm
But I made my own example and the results are not as I expected.I made a tacit 
dyadic verb:
func =: <./ @ +
Here + is dyadic and  <./ is monadic.
If I do 
 1 2 func 3 4
The result is
4 6
But from the above link: x u@v y ↔ u x v y

So this verb is equivalent to adding the two vectors x and y and then finding 
the min element of the resulting vector. So I think the result should just be 
4.In other words, why is my result 4 6?
Indeed, if I break up the verb and do:
1 2 + 3 4
result: 4 6   <./ 4 6
result: 4
This is as I think it should be. Any help appreciated.
Thanks,Jon                                        
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to