Re: [Jprogramming] Verb display in function tables

2012-02-18 Thread Dan Bron
For another thing, there are special rules about how the u and v are stacked in the context of an explicit operator. There is a big difference between - 1 : ('u=.+';' u`'''' ') and - 1 : ('f=.+';' f`'''' ') -Dan ---

Re: [Jprogramming] Verb display in function tables

2012-02-18 Thread Henry Rich
; > 2 ^^:([`('"' atomic_rep)`]) 0 1 2 > 2 4 16 > > So I'd prefer to agree that gerund means "array of atomic representations". > > -Dan > > -Original Message- > From: programming-boun...@jsoftware.com > [mailto:progra

Re: [Jprogramming] Verb display in function tables

2012-02-18 Thread Dan Bron
e attempted to capture the meaning of >> "gerund" >> >> Sidebar in NuVoc definition of ` : >> http://jsoftware.com/jwiki/Vocabulary/backtick#sidebar.3Agerunds >> >> As a necessary premise in the definition of a modifier utility: >> www.jsoftware.com/jwiki

Re: [Jprogramming] Verb display in function tables

2012-02-18 Thread Raul Miller
Subject: Re: [Jprogramming] Verb display in function tables >>>> >>>> Ok... >>>> >>>> ...except that gerunds are defined as vectors. >>>> >>>> Conceptually speaking, if it's a scalar, or a matrix, it's something >&g

Re: [Jprogramming] Verb display in function tables

2012-02-18 Thread Raul Miller
livers exactly >>> what was asked for is rarely the hero of folklore. >>> >>> -Dan >>> >>> PS:  If we wish to continue the digression, it might be better to start >>> with the links below,  better starting point would be wh >>> >>

Re: [Jprogramming] Verb display in function tables

2012-02-18 Thread Raul Miller
ide-effect of the method used to remove the trailing atom >>> (select-all-but-last as opposed to select-first). >>> >>> The proposed scalar should be a transparent replacement for the original >>> vector, whose shape wasn't serving a specific purpose (no

Re: [Jprogramming] Verb display in function tables

2012-02-18 Thread Raul Miller
DOOG#definition > > Please excuse typos; composed on a handheld device. > > -Original Message- > From: Raul Miller > Sender: programming-boun...@jsoftware.com > Date: Sat, 18 Feb 2012 11:52:13 > To: Programming forum > Reply-To: Programming forum > Subject:

Re: [Jprogramming] Verb display in function tables

2012-02-18 Thread Dan Bron
n Please excuse typos; composed on a handheld device. -Original Message- From: Henry Rich Sender: programming-boun...@jsoftware.com Date: Sat, 18 Feb 2012 13:19:45 To: Programming forum Reply-To: Programming forum Subject: Re: [Jprogramming] Verb display in function tables I think Dan has it

Re: [Jprogramming] Verb display in function tables

2012-02-18 Thread Henry Rich
.com/jwiki/Vocabulary/backtick#sidebar.3Agerunds > > As a necessary premise in the definition of a modifier utility: > www.jsoftware.com/jwiki/DanBron/Snippets/DOOG#definition > > Please excuse typos; composed on a handheld device. > > -Original Message- > From: Raul Miller

Re: [Jprogramming] Verb display in function tables

2012-02-18 Thread Dan Bron
sary premise in the definition of a modifier utility: www.jsoftware.com/jwiki/DanBron/Snippets/DOOG#definition Please excuse typos; composed on a handheld device. -Original Message- From: Raul Miller Sender: programming-boun...@jsoftware.com Date: Sat, 18 Feb 2012 11:52:13 To: Programming fo

Re: [Jprogramming] Verb display in function tables

2012-02-18 Thread Raul Miller
uperfluous, > but often pernicious). > >  -Dan > > > Please excuse typos; composed on a handheld device. > > -Original Message- > From: Raul Miller > Sender: programming-boun...@jsoftware.com > Date: Sat, 18 Feb 2012 10:41:56 > To: Programming forum > Repl

Re: [Jprogramming] Verb display in function tables

2012-02-18 Thread Dan Bron
rogramming-boun...@jsoftware.com Date: Sat, 18 Feb 2012 10:41:56 To: Programming forum Reply-To: Programming forum Subject: Re: [Jprogramming] Verb display in function tables I often do that myself, but in this case, the original phrase was also generating a 1 element vector, so I decided that a

Re: [Jprogramming] Verb display in function tables

2012-02-18 Thread Raul Miller
I often do that myself, but in this case, the original phrase was also generating a 1 element vector, so I decided that a 1-element vector was an appropriate result. -- Raul On Sat, Feb 18, 2012 at 9:48 AM, Dan Bron wrote: > Because in many contexts, a scalar is more convenient than a 1-element

Re: [Jprogramming] Verb display in function tables

2012-02-18 Thread Dan Bron
Because in many contexts, a scalar is more convenient than a 1-element vector, I make a habit of tacking on a {. as in {.u`'' . -Dan On Feb 18, 2012, at 9:32 AM, Raul Miller wrote: > I would use u`'' > > avg 1 :'u`' > +---+ > |avg| > +---+ > avg > |value error: avg > > -- > R

Re: [Jprogramming] Verb display in function tables

2012-02-18 Thread Raul Miller
I would use u`'' avg 1 :'u`' +---+ |avg| +---+ avg |value error: avg -- Raul On Fri, Feb 17, 2012 at 1:57 PM, Edward Mokurai Cherlin wrote: > I had thought that I would not be able to get a program to show the > definition of a function given its name, but I found a kludge for the >

Re: [Jprogramming] Verb display in function tables

2012-02-17 Thread Skip Cave
Edward, Are you using J in your OLPC project? Skip On Fri, Feb 17, 2012 at 12:57 PM, Edward Mokurai Cherlin < moku...@sugarlabs.org> wrote: > I had thought that I would not be able to get a program to show the > definition of a function given its name, but I found a kludge for the > purpose usi

Re: [Jprogramming] Verb display in function tables

2012-02-17 Thread Kip Murray
Here is verb table from the z locale. Does it help? table 1 : (':'; '(((#~LF-.@e.])5!:5<''u'');,.y),.({.;}.)":x,y u/x')~ +table i.5 ┌─┬─┐ │+│0 1 2 3 4│ ├─┼─┤ │0│0 1 2 3 4│ │1│1 2 3 4 5│ │2│2 3 4 5 6│ │3│3 4 5 6 7│ │4│4 5 6 7 8│ └─┴─┘ On 2/17

Re: [Jprogramming] Verb display in function tables

2012-02-17 Thread Marshall Lochbaum
show =: 1 : '5!:5<''u''' should serve your purposes. Execute as an adverb, i.e. (+/%#) show +/ % # There are other formats, which you can find in the help section on foreigns under 5!: . Marshall On Fri, Feb 17, 2012 at 1:57 PM, Edward Mokurai Cherlin < moku...@sugarlabs.org> wrote: > I had

[Jprogramming] Verb display in function tables

2012-02-17 Thread Edward Mokurai Cherlin
I had thought that I would not be able to get a program to show the definition of a function given its name, but I found a kludge for the purpose using tie. Now I would like to know whether somebody has a direct solution. My application for this capability is a defined adverb for producing function