There is nothing to be fixed: it's a feature, not a bug. linrep 100 110 120 130 140 150 160 170 100+10*i.8
----- Original Message ----- From: Randy MacDonald <[EMAIL PROTECTED]> Date: Friday, October 3, 2008 11:42 Subject: Re: [Jprogramming] Difference between 5^100x and x: 5^100 To: Programming forum <[email protected]> > Hello Roger; > > I guess some things can get under the radar (or is it below the > event > horizon?): > > > linrep 100 110 120 130 NB. misses > the rank 1 case > 100 110 120 130 > linrep ,: 100 110 120 130 > 100+10*i. 1 4 > (looking forward to the fix.) > > Non integral multipliers seem to be handled. > > Also the part of linrep that results in a <;._1 seems to use, > in order, > ' ' '|' '/' ',' and ':' as delimiters. > > Roger Hui wrote: > > Watch this: > > > > linrep=: 3 : '5!:5 <''y''' > > > > linrep 12345 + 67890 * i.10 20 > > 12345+67890*i.10 20 > > linrep o. i.2 3 4 > > 3.1415926535897931*i.2 3 4 > > linrep 'Cogito';'ergo';'sum' > > <;._1 ' Cogito ergo sum' > > > > > > > > ----- Original Message ----- > > From: Brian Schott <[EMAIL PROTECTED]> > > Date: Friday, September 26, 2008 17:37 > > Subject: Re: [Jprogramming] Difference between 5^100x and x: 5^100 > > To: Programming forum <[email protected]> > > > > > >> This feature may be obvious to all, but it wasn't to me. > >> > >> A =: ,5 > >> 5!:5 <'A' > >> ,5 > >> A =: 5 > >> 5!:5 <'A' > >> 5 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
