I think that his presentation was addressing the general problem of parallelizing the addition of a list of numbers. Not the special case of summing >:i.10 .
On Thu, Jun 4, 2009 at 7:19 AM, Raul Miller <[email protected]> wrote: > On Thu, Jun 4, 2009 at 4:28 AM, June Kim <[email protected]> wrote: > > > http://groups.csail.mit.edu/mac/users/gjs/6.945/readings/MITApril2009Steele.pdf > > Here's a J expression to sum the first n counting numbers: > > sumn=: -:@* >: > > +/ 1+i.10 > 55 > sumn 10 > 55 > > I am disappointed that Guy Steele's paper did not even have a > footnote mentioning this technique. > > -- > 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
