bugs?

2007-09-06 Thread Oyster
I am using Stand alone Python for Windows( http://arctrix.com/nas/python/standalone.html ), which is actually python 2.4.1 1. there is no readline lib for windows python release, so I think the lines that use readline in isympy should be in a try...except... block 2. what is the py lib in G:\pyt

Re: bugs?

2007-09-08 Thread Oyster
Thanks for your answer, now it seems to be bug in pyglet or ctypes, since I am using the latest pyglet ( I have deleted the pyglet directory under sympy) and ctypes, I will report to them since I am not sure very much. BTW, I am using Simplified Chinese win2k with sp4, I don't know whether that ca

Re: bugs?

2007-09-09 Thread Oyster
G:\Python24\python24\Lib\site-packages\sympy\examples>g: \python24\python plotting.py Traceback (most recent call last): File "plotting.py", line 14, in ? from sympy import sin, cos, Pi, sqrt, exp <---should be pi ImportError: cannot import name Pi --~--~-~--~~~--

[sympy] Where is print_pygame?

2008-09-25 Thread Oyster
Hi, all I am using sympy 0.6.2 on py24, and I have pygame module. But I met this error. Does that mean pygame is not supported by sympy anymore? If so, shall we remove examples\print_pygame.py out? Thanx Traceback (most recent call last): File "H:\pure_pylib\math\sympy-0.6.2\examples\print_py

[sympy] Re: Where is print_pygame?

2008-10-11 Thread Oyster
Mateusz Paprocki 写道: > Hi Oyster, > > > I am using sympy 0.6.2 on py24, and I have pygame module. But I met > > this error. Does that mean pygame is not supported by sympy anymore? > > We decided to remove support for pygame because the same functionality > can be ach

[sympy] Re: Where is print_pygame?

2008-10-14 Thread Oyster
Ondrej Certik 写道: > 2008/10/11 Oyster <[EMAIL PROTECTED]>: > > > > > > > > Mateusz Paprocki 写道: > >> Hi Oyster, > >> > >> > I am using sympy 0.6.2 on py24, and I have pygame module. But I met > >> > this error. Does

[sympy] 0.6.3 cannot import name Outcome on py24/25

2008-11-20 Thread Oyster
it is so strange, I have installed py lib 0.9.2, but [code] >>> from py.__.test.outcome import * >>> dir() ['EXIT_INTERNALERROR', 'EXIT_INTERRUPTED', 'EXIT_NOHOSTS', 'EXIT_OK', 'EXIT_TESTSFAILED', 'ExceptionFailure', 'Exit', 'Failed', 'OutcomeException', 'Passed', 'Skipped', '__builtins__', '__doc

[sympy] bugs in examples

2008-11-20 Thread Oyster
all of them is under examples directory gibbs_phenomenon.py py24 x-value of the maximum: -0.0314159265359 Traceback (most recent call last): File "H:\pure_pylib\math\sympy\examples \gibbs_phenomenon.py", line 126, in ? max = f.subs(x, x0).evalf()

[sympy] Re: 0.6.3 cannot import name Outcome on py24/25

2008-12-02 Thread Oyster
thanx, the git version works On 11月27日, 下午9时15分, "Ondrej Certik" <[EMAIL PROTECTED]> wrote: > Hi Oyster, > > could you please try our latest git versino? You can download a zip file here: > > http://git.sympy.org/?p=sympy.git;a=snapshot;h=HEAD;sf=zip >

[sympy] 0.6.4 bug on py24

2009-04-09 Thread Oyster
official py 2.4.4 for windows File "E:\prg\py\pure_pylib\math\sympy\sympy\mpmath\libmpf.py", line 930, in mpf_div quot, rem = divmod(sman

[sympy] Re: 0.6.4 bug on py24

2009-04-13 Thread Oyster
sorry, I found that is caused by my homemade portable-python-launcher at last. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com To unsubscribe

[sympy] how to conjugate only on I?

2009-05-22 Thread Oyster
is there a way to do so? thanx >>> from sympy import * >>> X,Y=symbols('XY') >>> z=conjugate(X+Y*I) >>> integrate(z,(X, -1, 1)) Integral(-I*conjugate(Y) + conjugate(X), (X, -1, 1)) >>> integrate(integrate(z,(X, -1, 1)), (Y, -1,1)) Traceback (most recent call last): File "", line 1, in ? File

[sympy] Re: how to conjugate only on I?

2009-05-22 Thread Oyster
I found it X,Y=symbols('XY', real=True) On May 22, 4:46 pm, Oyster wrote: > is there a way to do so? > thanx > > >>> from sympy import * > >>> X,Y=symbols('XY') > >>> z=conjugate(X+Y*I) > >>> integrate(z,(X, -1,

[sympy] sympy vs matlab integrate, get 'final' result?

2009-05-22 Thread Oyster
please note the dual-integrate result how can I get an advanced value in sympy? thanx [smypy] >>> from sympy import * >>> X,Y=symbols('XY', real=True) >>> integrate(2*X*X+2*Y*Y-1, (Y, -(1-X**2)**Rational(1,2), >>> (1-X**2)**Rational(1,2)) ) -2*(1 - X**2)**(1/2)*(1 - 2*X**2) + 4*(1 - X**2)**(3/2)

[sympy] Re: sympy vs matlab integrate, get 'final' result?

2009-05-23 Thread Oyster
oesn't like > it, as you pointed out.  I'm not sure why this would happen, it seems > like integrate should parse each additive term and try to integrate > it, if this were the case, the above example should work like > Matlab. > > Additionally, it doesn't seem that th

[sympy] simplify(sqrt((-2+sqrt(2)/2)**2+(2-sqrt(2)/2)**2))

2009-05-31 Thread Oyster
Traceback (most recent call last): File "", line 1, in ? File "h:\pure_pylib\math\sympy\sympy\simplify\simplify.py", line 1079, in simplify File "h:\pure_pylib\math\sympy\sympy\polys\polynomial.py", line 605, in cancel File "h:\pure_pylib\math\sympy\sympy\core\power.py", line 428, in as_nu

[sympy] Re: simplify(sqrt((-2+sqrt(2)/2)**2+(2-sqrt(2)/2)**2))

2009-05-31 Thread Oyster
the following is what I did. I don't have INSTALLed python, because I want to make portable development enviroment, and I hate to write to register. I am using winxp I dont' find the problem with py2.6.2, I hope it will not be a bug for py2.4.4. 1. download http://www.python.org/ftp/python/2.4.4

[sympy] Re: simplify(sqrt((-2+sqrt(2)/2)**2+(2-sqrt(2)/2)**2))

2009-06-02 Thread Oyster
no any comment? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.c

[sympy] hints to write such a problem?

2009-06-18 Thread Oyster
please look at http://att.newsmth.net/att.php?p.99.1458407.825.jpg and http://att.newsmth.net/att.php?s.99.1458407.56265.jpg the step 1 and 2 is clear step 3 says: to fold along a dash line, so that the left-up point meets the bottom line, and the up box line crosses the point we get in step 2

[sympy] Re: hints to write such a problem?

2009-06-18 Thread Oyster
or is there any other math lib that fits this question directly? On 6月18日, 下午7时09分, Oyster wrote: > please look athttp://att.newsmth.net/att.php?p.99.1458407.825.jpg > andhttp://att.newsmth.net/att.php?s.99.1458407.56265.jpg > > the step 1 and 2 is clear > step 3 says: to fo

[sympy] Re: who still uses python2.4

2009-06-26 Thread Oyster
sorry, I use py2.4 since I have installed too many libs on it over these years On 6月27日, 上午9时29分, Ondrej Certik wrote: > Hi, > > I just wanted to make a quick survey how many sympy users still use python2.4? > > Now even the stable version of Debian uses python2.5. Is there still a > major linux

[sympy] float/int operation on Matrix?

2015-12-07 Thread Oyster
If we do not use enumeration, can we do float/int on every Matrix element? I ask this because I want to show my result while round the float number to integer. Thanks currently >>> from sympy import * >>> X=Matrix([1.0, 2.0, 3.14]) >>> print X Matrix([[1.00], [2.00],