MathGroup Archive 2013

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

Search the Archive

Expand Crashes Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg129552] Expand Crashes Mathematica
  • From: Ralf Hemmecke <hemmecke at gmail.com>
  • Date: Tue, 22 Jan 2013 23:17:47 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net

Hello,

It seems like the Expand command is seriously broken.
The hint of Daniel Lichtblau in
https://groups.google.com/forum/#!topic/comp.soft-sys.math.mathematica/PWToEFKNAs4
is a workaround also here.

Ralf

============ t.m ========================
Expand[(14 + 15*x + 22*x^2 + 18*x^3 + 21*x^4)/39916800, Modulus->mod]
Print["I survived"]
=============== END t.m ===========================


$ (echo "mod=32003"; cat t.m)|math
Mathematica 9.0 for Linux x86 (32-bit)
Copyright 1988-2012 Wolfram Research, Inc.

In[1]:= 
Out[1]= 32003

In[2]:= 
                                 2         3          4
Out[2]= 24987 + 19914 x + 16406 x  + 4695 x  + 21479 x

In[3]:= I survived

In[4]:= 

$ (echo "mod=23"; cat t.m)|math
Mathematica 9.0 for Linux x86 (32-bit)
Copyright 1988-2012 Wolfram Research, Inc.

In[1]:=
Out[1]= 23

In[2]:=



  • Prev by Date: Deriving Euler-Rodriguez Rotation from the three axis-based rotation matrices
  • Next by Date: How to use FourierCoefficient
  • Previous by thread: Deriving Euler-Rodriguez Rotation from the three axis-based rotation matrices
  • Next by thread: How to use FourierCoefficient