Raul, just wanted to add that your c7 might afford a good time to
introduce forks (train of 3 verbs)...
c7=:(%~!)@+
as this could be written using a fork (perhaps more explicit division
here) as ...
c8=:(! % ])@+ NB. reads for Ian as ... "factorial-sum
dividedby sum" (where sum is the result of x+y)
This corresponds quite closely to Ian's first verb, and may clarify
how the fork arises...
c=: 4 : '(!(x+y)) % (x+y)'
.../Rob Hodgkinson
On 07/08/2008, at 5:49 AM, Raul Miller wrote:
c7=: (%~!)@+
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm