MathGroup Archive 2001

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

Search the Archive

Re: Pattern matching "on the fly"


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"