MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

RE: simple bug about Sum/Product function?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg46730] RE: [mg46709] simple bug about Sum/Product function?
  • From: "David Park" <djmp at earthlink.net>
  • Date: Wed, 3 Mar 2004 02:30:39 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Yuko,

It may have worked in Version 4.2, but it is not a documented form of the
expression. The proper expression would be

Sum[1, {i,1000001}]

Sometimes undocumented features will work but you can't count on them in
future versions. I think that is what happened in this case.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/

From: MATUDA Yuko [mailto:matsuda.yuko at acm.org]
To: mathgroup at smc.vnet.net

Hello there,

Try the following simple expressions in Mathematica(ver5)

Sum[1, {1000001}]
Product[1, {1000001}]

There are no problems in ver 4.2.

Yuko MATSUDA




  • Prev by Date: Mathematica to Word
  • Next by Date: RE: simple bug about Sum/Product function?
  • Previous by thread: simple bug about Sum/Product function?
  • Next by thread: RE: simple bug about Sum/Product function?