Issue 1518 in sympy: spelling and grammar pass 2

2009-07-05 Thread codesite-noreply
Status: Accepted Owner: smichr Labels: Type-Defect Priority-Medium NeedsReview New issue 1518 by smichr: spelling and grammar pass 2 http://code.google.com/p/sympy/issues/detail?id=1518 misc changes to docstrings. /c Attachments: 0001-spell_grammar_2.patch 3.7 KB -- You received this

[sympy] Re: How to build a new printer

2009-07-05 Thread Christophe
Luke a écrit : Christophe, I just made an example of how to create a new printer. It isn't on docs.sympy.org yet, but it should when the next release happens. In the mean time, you can look at the code in the git repository:

[sympy] MathML

2009-07-05 Thread Christophe
Hello, I know that sympy can export formulas for MathML but I do not concrete usse of this. I know that Amaya works with MathML : http://www.w3.org/Amaya/ . But is there a way to use in in a web browsne r ? Is the new Firefox which seems to works with SVG is able to read MathML ? Best

[sympy] Re: python 3 support update

2009-07-05 Thread Ondrej Certik
update, I got this to work, just needed to use the classmethod strip() instead of the one in the string module. Did some other fixes (it's in my repo), but now I am blocked on this:   import sympy Traceback (most recent call last):   File sympy/core/decorators.py, line 73, in

[sympy] Re: MathML

2009-07-05 Thread Freddie Witherden
Hi, I know that sympy can export formulas for MathML but I do not concrete usse of this. I know that Amaya works with MathML : http://www.w3.org/Amaya/ . But is there a way to use in in a web browsne r ? Is the new Firefox which seems to works with SVG is able to read MathML ? There is a

[sympy] Re: python 3 support update

2009-07-05 Thread Ondrej Certik
Ok, I kind of fixed the rest, see my py3-3 branch at github. Now: $ SYMPY_USE_CACHE=no python3.1 -c import sympy $ so sympy at least imports. However, to give you some taste of what is still in front of us: = test process starts ==

[sympy] Re: python 3 support update

2009-07-05 Thread Ondrej Certik
On Sun, Jul 5, 2009 at 3:00 PM, Ondrej Certikond...@certik.cz wrote: In general there are dozens of those little things that just don't work. I will start by reporting the bugs to the 2to3 tool, so that we don't have to edit stuff by hand so much at least. I reported bugs that I can easily

[sympy] Re: Data for Testing Computer Algebra Software

2009-07-05 Thread Fabian Pedregosa
Vinzent Steinberg wrote: I found a project for testing CAS with different problems defined in XML files [1]. The maintainer is a professor of computer science from Leipzig, my home town, this is why I stumbled upon this. It might be useful for sympy, if you want to have a look, checkout the

[sympy] Re: Using sympty in jhepwork

2009-07-05 Thread Aaron S. Meurer
Hi, I'm not completely clear on what you are doing, as I don't use jython, but couldn't you just use str(), as in a = str(diff(2*exp(-x*x/50)+sin(pi*x)/x, x)) type(a) type 'str' F1D(a) # probably works now Also, you can use sympify() or just S() to convert from a string to a SymPy

[sympy] Re: MathML

2009-07-05 Thread Fabian Pedregosa
Freddie Witherden wrote: Hi, I know that sympy can export formulas for MathML but I do not concrete usse of this. I know that Amaya works with MathML : http://www.w3.org/Amaya/ . But is there a way to use in in a web browsne r ? Is the new Firefox which seems to works with SVG is able to

[sympy] Autodocs for simplify

2009-07-05 Thread Aaron S. Meurer
I tried creating an autodoc file for the functions in simplify.py, but I couldn't get it to work. I followed the example of other files like doc/src/modules/solvers.txt and created a file called simplify.txt with this text: Simplify .. currentmodule:: sympy.simplify Simplify

[sympy] Re: Using sympty in jhepwork

2009-07-05 Thread Sergei Chekanov
Ok, thanks. This seems works well. The only thing which had to be change is to replace ** (power) with the usual ^ The code below works well in jhepwork (shows the function and its differential on the same plot) * from java.awt

[sympy] Re: Autodocs for simplify

2009-07-05 Thread Aaron S. Meurer
OK, that patch worked for simplify(). However, I had some problems getting some of the other functions to work. You can pull again from the same branch to see what I mean. I had to change autofunction to function for a handful of functions because sphinx wouldn't compile otherwise.

[sympy] Re: Working with sets

2009-07-05 Thread smichr
On Jul 4, 7:50 pm, Christophe projet...@gmail.com wrote: Python has a builtin set data type. For example: x= [1,2,3,5,2,1] set(x) set(1, 2, 3, 5) Sympy has an Interval class, but it seems at the moment it doesn't have things like the intersection / union operators, nor whether