In J6.02, you can get the plot you want with

    load 'plot'
    plot _5 5;'y^2'

I'm not sure how to answer your questions.  A gerund is a boxed noun 
that contains a verb or list of verbs, created by using `

gerund =: +`-`multiply`divide

Henry Rich

On 8/15/2011 5:08 AM, Kim Kuen Tang wrote:
>
> Hi everyone,
>
> here are some newbie questions regarding the differences between j and kdb.
>
> Are verbs ( dyad or monad)  first-class citizen in j?
> Is it possible to forward a verb to another verb?
> Is it possible to box a verb into list ?
> Is it possible to have a dictionary like the case in kdb?  Something
> like : (`a`b`c)!(1 2 3)
>
> What i want to do in j is to program a verb (i will call it p) that will
> accept a monad and output a plot of this monad.
>
> For example:
>
> f=. 3: 0 'y^2'
> p=. (implementation)
>
> p f will output the plot of f between -5 and 5.
>
>
> Thanks for any comments and answers.
>
> Reagrds,
>
> Kim
> ----------------------------------------------------------------------
> 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