On Wed, Apr 29, 2009 at 3:11 PM, Don Watson <[email protected]> wrote:
>    I see what you are saying. I assume you can't put constants in a tacit
> expression as follows:.
>
>    d1 =: ([: +/([ - ]) ^ 2) ^ 0.5
>
>    Why is this?

A sequence of verbs followed by a noun is a noun phrase,
not a verb phrase.

If you want a verb phrase, you need to tell the interpreter
that you meant for that noun to be a verb which produces
a constant result:

   d1 =: ([: +/([ - ]) ^ 2"_) ^ 0.5"_

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

Reply via email to