Issue 1381 in sympy: error with mpmath documentation

2009-04-16 Thread codesite-noreply
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 1381 by zorg724: error with mpmath documentation http://code.google.com/p/sympy/issues/detail?id=1381 Exemple: mp.dps = 15 print sumem(lambda n: 1/n**2, 1, inf) print sumem(lambda n: 1/n**2, 1, inf) Traceback (most recent

Issue 1382 in sympy: Documentation Error in Finding all roots of a polynomial

2009-04-16 Thread codesite-noreply
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 1382 by zorg724: Documentation Error in Finding all roots of a polynomial http://code.google.com/p/sympy/issues/detail?id=1382 we shall compute: compute the two real roots of 3x^2 - 7x + 2 but the code enter is

Issue 1382 in sympy: Documentation Error in Finding all roots of a polynomial

2009-04-16 Thread codesite-noreply
Comment #1 on issue 1382 by zorg724: Documentation Error in Finding all roots of a polynomial http://code.google.com/p/sympy/issues/detail?id=1382 import mpmath mpmath.__version__ '0.10' help(mpmath.polyroots) Help on function polyroots in module mpmath.calculus: polyroots(coeffs,

Issue 1384 in sympy: assumptions docs are wrong

2009-04-16 Thread codesite-noreply
Status: Accepted Owner: Labels: Type-Defect Priority-High WrongResult New issue 1384 by ondrej.certik: assumptions docs are wrong http://code.google.com/p/sympy/issues/detail?id=1384 In [1]: z = Symbol(z, real=False) In [2]: z? Type: Symbol Base Class: class

Issue 1385 in sympy: Integral.midpoint() implemented

2009-04-16 Thread codesite-noreply
Status: Accepted Owner: ondrej.certik Labels: Type-Defect Priority-Medium Milestone-Release0.6.5 NeedsReview New issue 1385 by ondrej.certik: Integral.midpoint() implemented http://code.google.com/p/sympy/issues/detail?id=1385 In [1]: e = Integral(sqrt(x**3+1), (x, 2, 10)) In [2]: e.midpoint(4)

Issue 1385 in sympy: Integral.midpoint() implemented

2009-04-16 Thread codesite-noreply
Comment #1 on issue 1385 by ondrej.certik: Integral.midpoint() implemented http://code.google.com/p/sympy/issues/detail?id=1385 Maple calls this: middlesum(). It also has leftsum and rightsum, but imho it's confusing what the rightsum should do. A better name is maybe uppersum and lowersum.

Issue 1386 in sympy: data/IPython/ipythonrc-sympy doesn't seem to work:

2009-04-16 Thread codesite-noreply
Updates: Labels: Milestone-Release0.6.5 Comment #1 on issue 1386 by ondrej.certik: data/IPython/ipythonrc-sympy doesn't seem to work: http://code.google.com/p/sympy/issues/detail?id=1386 (No comment was entered for this change.) -- You received this message because you are listed in

[sympy] problem with Symbol constructor

2009-04-16 Thread Neal Becker
In [14]: z = Symbol ('z') In [15]: z Out[15]: z In [16]: z? Type: Symbol Base Class: class 'sympy.core.symbol.Symbol' String Form:z Namespace: Interactive File: /usr/lib/python2.5/site-packages/sympy-0.6.4- py2.5.egg/sympy/core/symbol.py Docstring:

[sympy] Re: problem with Symbol constructor

2009-04-16 Thread Ondrej Certik
Hi Neal! On Thu, Apr 16, 2009 at 10:13 AM, Neal Becker ndbeck...@gmail.com wrote: In [14]: z = Symbol ('z') In [15]: z Out[15]: z In [16]: z? Type:           Symbol Base Class:     class 'sympy.core.symbol.Symbol' String Form:    z Namespace:      Interactive File:          

[sympy] Re: problem with Symbol constructor

2009-04-16 Thread Neal Becker
On Thursday 16 April 2009, Ondrej Certik wrote: It's just a docstring and it's wrong. However, Fabian will be working on assumptions stuff for the whole summer, so this should get fixed once and for all. Thanks! (The only thing worse than no doc is wrong doc :)

[sympy] Re: problem with Symbol constructor

2009-04-16 Thread Ondrej Certik
On Thu, Apr 16, 2009 at 12:27 PM, Neal Becker ndbeck...@gmail.com wrote: On Thursday 16 April 2009, Ondrej Certik wrote: It's just a docstring and it's wrong. However, Fabian will be working on assumptions stuff for the whole summer, so this should get fixed once and for all. Thanks!  

[sympy] Re: problem with Symbol constructor

2009-04-16 Thread Akshay Srinivasan
How come there are two data descriptors: x.is_Real and x.is_real for the same thing ?? On Apr 17, 12:31 am, Ondrej Certik ond...@certik.cz wrote: On Thu, Apr 16, 2009 at 12:27 PM, Neal Becker ndbeck...@gmail.com wrote: On Thursday 16 April 2009, Ondrej Certik wrote: It's just a docstring

[sympy] problem with Symbol constructor

2009-04-16 Thread Mateusz Paprocki
Hi, On Thu, Apr 16, 2009 at 04:39:22PM -0700, Akshay Srinivasan wrote: How come there are two data descriptors: x.is_Real and x.is_real for the same thing ?? x.is_Real - is x an instance of Real class x.is_real - does x belong to a real field Those are surely different concepts, but it

[sympy] Fwd: Confused about something

2009-04-16 Thread Luke
I'm working on equality comparisons for a class I call 'Vector'. Really this class is to represent Vectors in R^3, but in a way that allows for both symbolic and numeric evaluation, and to allow for Vectors to be defined as linear combinations of UnitVectors (another class) that a fixed in