MathGroup Archive 2013

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

Search the Archive

Expand Crashes Mathematica


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