Y
100000000000000000000

(same thing you are using).

-- 
Raul

On Mon, Jul 9, 2012 at 2:03 AM, Linda Alvord <lindaalv...@verizon.net> wrote:
> What are you using for  Y ? This is J7.
>
>   o=:@:
>   Y=: 10x&^20
>   A=: (#: o (<. o o.))  Y
>   f=:#:
>   g=:<.
>   h=:o.
>   B=: ((f o g) o h) Y
>   (A=B) i. 0
> 52
>    3 23$A
> 1 0 0 0 1 0 0 0 0 0 1 1 1 1 1 0 1 0 1 0 1 1 1
> 1 0 1 0 1 1 0 1 0 1 1 0 1 1 0 1 0 1 1 0 1 1 1
> 0 1 0 0 1 0 0 1 1 0 1 0 1 1 1 1 1 0 0 0 1 1 0
>    3 23$B
> 1 0 0 0 1 0 0 0 0 0 1 1 1 1 1 0 1 0 1 0 1 1 1
> 1 0 1 0 1 1 0 1 0 1 1 0 1 1 0 1 0 1 1 0 1 1 1
> 0 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
>
> Linda
>
> -----Original Message-----
> From: programming-boun...@jsoftware.com
> [mailto:programming-boun...@jsoftware.com] On Behalf Of Raul Miller
> Sent: Sunday, July 08, 2012 10:58 PM
> To: Programming forum
> Subject: Re: [Jprogramming] Composition associativity
>
> On Sat, Jul 7, 2012 at 7:55 PM, Linda Alvord <lindaalv...@verizon.net>
> wrote:
>>    A=:((#: o <.) o o.) Y
>>    B=:#: o (<. o o.) Y
>>    (A=B) i. 0
>> 52
>
> I am getting a different result from you, in j602.  You are using j7?
>
>
>    A=: (#: o (<. o o.))  Y
>    B=: ((f o g) o h) Y
>    (A=B) i. 0
> 42
>    f
> #:
>    g
> <.
>    h
> o.
>    3 23$A
> 1 0 0 0 1 0 0 0 0 0 1 1 1 1 1 0 1 0 1 0 1 1 1
> 1 0 1 0 1 1 0 1 0 1 1 0 1 1 0 1 0 1 1 0 1 1 1
> 0 1 0 0 1 0 0 1 1 0 1 0 1 1 1 1 1 0 0 0 1 1 0
>    3 23$B
> 1 0 0 0 1 0 0 0 0 0 1 1 1 1 1 0 1 0 1        0 1 1 1
> 1 0 1 0 1 1 0 1 0 1 1 0 1 1 0 1 0 1 1 0.911133 0 0 0
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0        0 0 0 0
>
> --
> Raul
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
> ----------------------------------------------------------------------
> 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