(32&+^:100) 100

x m&v y ↔ m&v^:x y

2008/5/5 Patrick van Beek <[EMAIL PROTECTED]>:

> Hi, this is my first post to the list.  I would appreciate some help
> understanding how J evaluates the following:
>
> 100 (32&+) 100
>
>
>
> The answer is 3300.  Since no multiplication symbol appears I am somewhat
> lost how this phrase is being interpreted. I understand (32&+) to be a
> monad
> so I presume there is a definition in the dictionary which sets out how
> such
> phrases are used dyadically which I have yet to come across.  Any pointers
> would be appreciated.
>
>
>
> Thanks,
>
>
>
> Patrick
>
>
>
> PS The background to this question:
>
>
>
> I recently discovered J and have worked my way through the primer.  One
> thing I am having a bit of trouble with is atop @.
>
>
>
> My thinking was that if I leave it out and I understand what J does
> without
> it I can then understand why atop is needed.  Using the centigrade
> Fahrenheit example:
>
> 32&+@(1.8&*)
>
> Compared with:
>
> 32&+(1.8&*)
>
> I was scratching my head trying to understand what was happening when the
> atop was left out, eventually tracing it to a phrase similar to the one in
> the question.
>
>
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Björn Helgason, Verkfræðingur
Fugl&Fiskur ehf,
Fornustekkum II, 781 Hornafirði
Po Box 127,801 Selfoss ,
t-póst: [EMAIL PROTECTED]
gsm: +3546985532
Landslags og skrúðgarðagerð, gröfuþjónusta
http://groups.google.com/group/J-Programming


Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans

góður kennari getur stigið á tær án þess að glansinn fari af skónum
/|_ .-----------------------------------.
,' .\ / | Með léttri lund verður |
,--' _,' | Dagurinn í dag |
/ / | Enn betri en gærdagurinn |
( -. | `-----------------------------------'
| ) | (\_ _/)
(`-. '--.) (='.'=)
`. )----' (")_(")
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to