---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.

Not sure if this can be classed as non-trivial or not but something similar to 
this might serve as a simple yet practically useful example:

"Add(/or multiply?) the vectors a and b where a is greater than b"
   'a b'=. 2 5 ?...@$ 0
   a (> # +) b
0.98808035 0.89555374 0.6082647

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

Reply via email to