Dear list,
The page for i: (http://www.jsoftware.com/help/dictionary/dico.htm) lists:

in general, i: a j. b produces the list of numbers from -a to a in b equal
steps (or in 1+2*a steps if b is 0).

Shouldn't it be 1+2*|a? For e.g., consider the second example listed on the
page:

   i: _2  yields _2 _1 0 1 2

whereas according to the definition it should yield only 3 elements. Also
there is no mention of reversal.

IMO, the definition of i. does a similar description more precisely. It
also states that using negative number causes reversal.

Have I missed something here? If so, please point me in the right direction.
Thanks,
Vijay.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to