[sympy] Re: SymPy graph theory worksheet - comments requested

2010-08-05 Thread Simon
Hi Robin, Maybe a useful resource for you could be the graph theory work in sage: http://www.sagemath.org/doc/reference/graphs.html and the associated book being written http://code.google.com/p/graph-theory-algorithms-book/ Also, have you got a nice reference that talks about the Binet-Cauchy in

[sympy] Re: SymPy graph theory worksheet - comments requested

2010-08-05 Thread Robin Whitty
Thanks that's great! The pretty printing didn't seem to do much in my native Python shell. I should probably be using IPython and then isympy but I think I prefer to stick to the basics since a Windows-based worksheet is sure to skew things otherwise! Good idea about links to further work. Yes,

[sympy] Re: SymPy graph theory worksheet - comments requested

2010-08-05 Thread Robin Whitty
Thanks for this. A ref to sage is a good idea. There is a nice paper by Nicholas Harvey which deals with symbolic issues around Binet-Cauchy and matroids: http://people.csail.mit.edu/nickh/Publications/AlgebraicMatching/Algebraic-SIAM.pdf Maybe closer to your interests, Alan Sokal has done a lot o

[sympy] Prototype risch_integrate() function ready for testing

2010-08-05 Thread Aaron S. Meurer
(copied from issue 2010) I have ready in my integration3 branch a prototype risch_integrate() function, that is a user-level function for the full Risch Algorithm I have been implementing this summer. Pull from http://github.com/asmeurer/sympy/tree/integration3 . This is NOT ready to go in.

[sympy] Problems with Poly.div

2010-08-05 Thread Aaron S. Meurer
I didn't want to open an issue before asking here, because for all I know there could be a very good reason for this. In [1]: Poly(-5*x**3, x).div(Poly(3*x, x)) Out[1]: (Poly(0, x, domain='ZZ'), Poly(-5*x**3, x, domain='ZZ')) In [2]: Poly(-5*x**3, x, field=True).div(Poly(3*x, x, field=True)) Out

[sympy] Re: Problems with Poly.div

2010-08-05 Thread Aaron S. Meurer
By the way, this is what Maple does: > quo(5*x**3, 3*x, x); 5 2 - x 3 > rem(5*x**3, 3*x, x); 0 Now I realize that things might be different there

[sympy] Re: Problems with Poly.div

2010-08-05 Thread Mateusz Paprocki
Hi, On Thu, Aug 05, 2010 at 05:09:26PM -0600, Aaron S. Meurer wrote: > I didn't want to open an issue before asking here, because for all I know > there could be a very good reason for this. > > In [1]: Poly(-5*x**3, x).div(Poly(3*x, x)) > Out[1]: (Poly(0, x, domain='ZZ'), Poly(-5*x**3, x, domai

Re: [sympy] Re: Problems with Poly.div

2010-08-05 Thread Aaron S. Meurer
On Aug 5, 2010, at 5:45 PM, Mateusz Paprocki wrote: > Hi, > > On Thu, Aug 05, 2010 at 05:09:26PM -0600, Aaron S. Meurer wrote: >> I didn't want to open an issue before asking here, because for all I know >> there could be a very good reason for this. >> >> In [1]: Poly(-5*x**3, x).div(Poly(3*x

[sympy] Re: Problems with Poly.div

2010-08-05 Thread Mateusz Paprocki
Hi, On Thu, Aug 05, 2010 at 06:04:34PM -0600, Aaron S. Meurer wrote: > > On Aug 5, 2010, at 5:45 PM, Mateusz Paprocki wrote: > > > Hi, > > > > On Thu, Aug 05, 2010 at 05:09:26PM -0600, Aaron S. Meurer wrote: > >> I didn't want to open an issue before asking here, because for all I know > >> th