Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13248

Expand Crashes Mathematica

From Ralf Hemmecke <hemmecke@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Expand Crashes Mathematica
Date 2013-01-23 04:18 +0000
Message-ID <kdnoa4$71q$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


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]:=

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Expand Crashes Mathematica Ralf Hemmecke <hemmecke@gmail.com> - 2013-01-23 04:18 +0000

csiph-web