I have an equality test.  If a=b then b=a .  (In my case "find overlapping
spheres", in other words the equality test may be non-trivial.)  The new
adverb would compute only the upper triangular set of cases and thereby
save about half the time.

   NB. assuming the main diagonal could be interesting
   NB. the new adverb would compute these cases
   <:/~ i.7
1 1 1 1 1 1 1
0 1 1 1 1 1 1
0 0 1 1 1 1 1
0 0 0 1 1 1 1
0 0 0 0 1 1 1
0 0 0 0 0 1 1
0 0 0 0 0 0 1
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to