F=: dyad define
  round ( x * sqrt (x*y))
)

A dyad is a function which takes two arguments.

See also:
http://www.jsoftware.com/help/primer/dyad.htm
http://www.jsoftware.com/help/primer/monad_dyad_def.htm
http://www.jsoftware.com/help/jforc/verb-definition_revisited.htm
http://www.jsoftware.com/help/dictionary/intro03.htm

And of course, you can inspect the definitions for the words 'dyad' and
'define' (their definitions are shorter than their names, but hopefully the
above references will be enough to explain what's going on here).

-- 
Raul

On Sat, Nov 26, 2011 at 4:29 AM, m l <[email protected]> wrote:

>
> I`m a beginner in J programming.
> I need writing a simple function:
>
> round ( x * sqrt (x*y))
>
> Thanks in advance.
>
> Matxin
>
> ----------------------------------------------------------------------
> 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