MathGroup Archive 2001

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

Search the Archive

Re: Pattern matching "on the fly"

  • To: mathgroup at smc.vnet.net
  • Subject: [mg30251] Re: Pattern matching "on the fly"
  • From: "Stephen P Luttrell" <luttrell at signal.dra.hmg.gb>
  • Date: Sat, 4 Aug 2001 01:14:21 -0400 (EDT)
  • Organization: Defence Evaluation & Research Agency
  • References: <9jtk77$87r$1@smc.vnet.net> <9jvrbe$doi$1@smc.vnet.net> <9kdbfr$f2m$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Oops. The input was actually

(1+x)^1000000000000000000000 +O[x]^3//Normal//Timing

This took "zero" time to evaluate, so we can safely assume that Mathematica
drops the O[x]^3 terms as it goes along.

--
Stephen P Luttrell
QinetiQ, Malvern, U.K.

"Stephen P Luttrell" <luttrell at signal.dra.hmg.gb> wrote in message
news:9kdbfr$f2m$1 at smc.vnet.net...

> and I got this result using Mathematica 4.1 (Windows NT 4):
>
> (1+x)^1000000 +O[x]^3//Normal//Timing
>
> {0.Second, 1 + 1000000000000000000000 x +
>       499999999999999999999500000000000000000000 x^2}





  • Prev by Date: Translator Needed
  • Next by Date: Re: How to write a package?
  • Previous by thread: Re: Pattern matching "on the fly"
  • Next by thread: Re: Pattern matching "on the fly"