How about

   qr
| ,~"0 [: <. %~

   3 qr i.10
0 0
0 1
0 2
1 0
1 1
1 2
2 0
2 1
2 2
3 0

(quotient and remainder on dividing x into y)

Kip Murray


John Randall wrote:
Does anyone have a good example of a dyadic fork?  By this I mean one
of the form fgh where f and g both use x and y, there are no [ or ],
no constant functions, and no @ or @: .  I am having trouble coming up
with nontrivial examples.

Best wishes,

John


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to