On 15 October 2012 06:37, Linda Alvord <[email protected]> wrote:

>    Sometimes you get the double of the reciprocal and other times the
> reciprocal of the double.
>

Erm, not quite, Linda.

You will see that the hook (%+:)  will always return 0.5, no matter what
the input.
Remember, (fg)y  means y f gy   when you are using a hook.

In other words the first verb of the hook is a dyad, so in our example
represents division, not inversion.
To give an example, I would "translate" this hook mentally thus:
"The y argument divided by its double"  (hence always 0.5)

Similarly (+!) would mean the argument added to its factorial,
while (!>:) would mean choose y from y+1  (! is dyadic here) so the answer
will always be y+1
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to