Hola!
This is the todays' version of sympy from git, updated a few hours ago.
Below I give details for a symbolic integration problem, which I
stopped after running for about two hours
on my laptop with 4GB ram, the process increased at max to somewhat
more than 3GB memory+ a lot of swapping.
(This is debian linux, amd64)
Here is the input:
kjetil@kjetil:~/py/sympy/sympy/sympy$ isympy
IPython console for SymPy 0.7.1.rc1 (Python 2.7.3-64-bit) (ground types: python)
These commands were executed:
>>> from __future__ import division
>>> from sympy import *
>>> x, y, z, t = symbols('x y z t')
>>> k, m, n = symbols('k m n', integer=True)
>>> f, g, h = symbols('f g h', cls=Function)
Documentation can be found at http://www.sympy.org
In [1]: r = symbols(' r' , real=True)
In [2]: a1,a2,a12 = symbols(' a1 a2 a12' ,real=True)
In [9]: E = exp(-(a1+a2-2*r*a12)/(2*(1-r**2))) * (a1*a2-a12**2)**((n-m-1)/2)
In [10]: E
Out[10]:
m n 1 -a₁ + 2⋅a₁₂⋅r - a₂
- ─ + ─ - ─ ──────────────────
2 2 2 2
⎛ 2⎞ - 2⋅r + 2
⎝a₁⋅a₂ - a₁₂ ⎠ ⋅ℯ
In [11]: integrate(E, (a2,a12**2/a1,oo), (a1,0,oo))
.... and still, after two hours, no output, when I killed the process.
Kjetil
--
"If you want a picture of the future - imagine a boot stamping on the
human face - forever."
George Orwell (1984)
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
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/sympy?hl=en.