I was trying to draw a contrast between the domains of i. and i: Also, my use of !. (fit) was not meant to be ! (out of). I was talking about potential language enhancements (which should focus on taking error cases and re-using them for something that makes sense) and not about using the language as it is now. Perhaps I should have used the chat forum, given the subject matter?
Thanks, -- Raul On Fri, Mar 21, 2014 at 5:09 AM, Linda Alvord <[email protected]>wrote: > Perhaps you meant: > > i:2!10 > _45 _44 _43 _42 _41 _40 _39 _38 _37 _36 _35 _34 _33 _32 _31 _30 _29 _28 _27 > _26 _25 _24 _23 _22 _21 _20 _19 _18 _17 _16 _15 _14 _13 _12 _11 _10 _9 _8 > _7 > _6 _5 _4 _3 _2 _1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 > 22 > 23 24 25 26 27 28 29 30 31... > > Linda > -- > ---Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Raul Miller > Sent: Friday, March 21, 2014 2:22 AM > To: Programming forum > Subject: [Jprogramming] A curious omission > > i: 10j2 > _10 0 10 > i. 10j2 > |domain error > > Not quite sure why we can use complex numbers with i: but not i. > > Of course it might also be useful to specify the step size instead of the > number of steps. But !. could be used for that: > > i.!.2]10 > > |domain error > > > Curious... > > > -- > > Raul > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
