|
Loading...
|
sage-support@googlegroups.com
[Prev] Thread [Next] | [Prev] Date [Next]
[sage-support] scipy+sympy=? dabu Fri Mar 26 01:00:06 2010
In sage if we use,
from sympy import *
f=Function("f")
x=Symbol('x')
eqn=diff(f(x),x)
things work fine.
However same thing with :
from sympy import *
from scipy import *
f=Function("f")
x=Symbol('x')
eqn=diff(f(x),x)
gives following stack trace:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_118.py", line 9, in <module>
open("___code___.py","w").write("# -*- coding: utf-8 -*-\n" +
_support_.preparse_worksheet_cell(base64.b64decode("ZXFuPWRpZmYocCh4KSx4KQ=="),globals())
+"\n"); execfile(os.path.abspath("___code___.py"))
File "", line 1, in <module>
File "/tmp/tmpSyvbFD/___code___.py", line 2, in <module>
eqn=diff(p(x),x)
File "", line 1, in <module>
File "/home/pallab/sage/sage-4.3.3-linux-32bit-ubuntu_9.10-i686-
Linux/local/lib/python2.6/site-packages/numpy/lib/function_base.py",
line 1066, in diff
slice1[axis] = slice(1, None)
IndexError: list assignment index out of range
Is it possible to use these two packages simultaneous ?
--
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
To unsubscribe from this group, send email to
sage-support+unsubscribegooglegroups.com or reply to this email with the words
"REMOVE ME" as the subject.
- [sage-support] scipy+sympy=? dabu 2010/03/26 <=
- Re: [sage-support] scipy+sympy=? Minh Nguyen 2010/03/26
- Re: [sage-support] scipy+sympy=? Tobias Katz 2010/03/26
- [sage-support] Re: scipy+sympy=? dabu 2010/03/26
- Re: [sage-support] Re: scipy+sympy=? Minh Nguyen 2010/03/26
- [sage-support] Re: scipy+sympy=? dabu 2010/03/26
- [sage-support] Re: scipy+sympy=? Jason Grout 2010/03/27
- [sage-support] Re: scipy+sympy=? dabu 2010/03/27
- Re: [sage-support] Re: scipy+sympy=? William Stein 2010/03/27