Lately, I find myself repeatedly comparing pairs in arrays. I usually do something like:
d =: 3 : '-/"1 }. y ,. 0 , }: y' d i. 5 1 1 1 1 It feels like I'm reinventing the wheel but I couldn't find a simpler way (and more efficient for large arrays) to apply u over each pair of v. Is there a better way? Yoel ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
