The function I showed to elucidate data routing gave different results
for x f^:3 y and (f&y)^:3 x .  Division works too:

   2 %^:(3) 7
0.285714

   (%&7)^:(3) 2
0.0058309

On Sat, 2010-03-20 at 22:37 +0800, [email protected]
wrote:
> Message: 9
> Date: Sat, 20 Mar 2010 10:36:45 -0400
> From: Raul Miller <[email protected]>
> Subject: Re: [Jprogramming] recursive composition
> To: Programming forum <[email protected]>
> Message-ID:
>         <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> On Fri, Mar 19, 2010 at 1:43 PM, David Ward Lambert
> <[email protected]> wrote:
> > ? NB. j programmers MUST understand data flow.
> > ? NB. x f^:3 y ?differs from ?(f&y)^:3 x
> 
> To illustrate this we should find an operation which
> is not associative and which produces a plausible result
> for one of those two cases.
> 
> I can not think of one off the top of my head,
> but I know that they exist.
> 
> -- 
> Raul
> 

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

Reply via email to