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

Reply via email to