[sage-devel] Re: factoring questions

2009-08-18 Thread Ondrej Certik
On Tue, Aug 18, 2009 at 11:17 PM, rjf wrote: > > Plotting algebraic curves == an application to pure math? Is that what > sympy is about? we accept all reasonable patches to sympy, but my own need is in physics and engineering. I don't need any algebraic curves at all, but I also don't need facto

[sage-devel] Re: factoring questions

2009-08-18 Thread rjf
Plotting algebraic curves == an application to pure math? Is that what sympy is about? factoring is used in simplifying expressions in an attempt to reformat them for easier comprehension. Factoring is used by "solve" in the obvious way to separate solutions exactly. Factoring is sometimes used

[sage-devel] Re: factoring questions

2009-08-18 Thread William Stein
On Tue, Aug 18, 2009 at 5:58 PM, Ondrej Certik wrote: > > On Tue, Aug 18, 2009 at 5:48 PM, William Stein wrote: >> >> On Tue, Aug 18, 2009 at 5:08 PM, Ondrej Certik wrote: >>> >>> On Tue, Aug 18, 2009 at 4:56 PM, rjf wrote: At the risk of providing some information about what is pro

[sage-devel] Re: factoring questions

2009-08-18 Thread Ondrej Certik
On Tue, Aug 18, 2009 at 5:48 PM, William Stein wrote: > > On Tue, Aug 18, 2009 at 5:08 PM, Ondrej Certik wrote: >> >> On Tue, Aug 18, 2009 at 4:56 PM, rjf wrote: >>> >>> >>> At the risk of providing some information about what is probably going >>> on, >>> let me suggest the following. >>> >>> 1.

[sage-devel] Re: factoring questions

2009-08-18 Thread William Stein
On Tue, Aug 18, 2009 at 5:08 PM, Ondrej Certik wrote: > > On Tue, Aug 18, 2009 at 4:56 PM, rjf wrote: >> >> >> At the risk of providing some information about what is probably going >> on, >> let me suggest the following. >> >> 1. The expand() command in Maxima is almost always the wrong thing to

[sage-devel] Re: factoring questions

2009-08-18 Thread Ondrej Certik
On Tue, Aug 18, 2009 at 4:56 PM, rjf wrote: > > > At the risk of providing some information about what is probably going > on, > let me suggest the following. > > 1. The expand() command in Maxima is almost always the wrong thing to > do if the argument is a polynomial. > ratexpand() or ratsimp()

[sage-devel] Re: factoring questions

2009-08-18 Thread William Stein
On Tue, Aug 18, 2009 at 4:56 PM, rjf wrote: > > > At the risk of providing some information about what is probably going > on, > let me suggest the following. > > 1. The expand() command in Maxima is almost always the wrong thing to > do if the argument is a polynomial. > ratexpand() or ratsimp()

[sage-devel] Re: factoring questions

2009-08-18 Thread rjf
At the risk of providing some information about what is probably going on, let me suggest the following. 1. The expand() command in Maxima is almost always the wrong thing to do if the argument is a polynomial. ratexpand() or ratsimp() or rat() will be much faster. I suspect that in your timin

[sage-devel] Re: factoring questions

2009-08-18 Thread Ondrej Certik
> > Huh?  I don't understand what is wrong with the above output?  Isn't > it the unique correct factorization?  Or is your point that factorization of It's a correct factorization. > elements of R[x,y,z] doesn't solve the problem you are really interested in? Yes, I wanted to get exactly this

[sage-devel] Re: factoring questions

2009-08-18 Thread William Stein
On Tue, Aug 18, 2009 at 9:13 AM, Ondrej Certik wrote: > > On Mon, Aug 17, 2009 at 9:41 PM, Ondrej Certik wrote: >> On Mon, Aug 17, 2009 at 5:31 AM, William Stein wrote: >>> >>> On Mon, Aug 17, 2009 at 3:20 AM, Ondrej Certik wrote: On Mon, Aug 17, 2009 at 4:09 AM, Ondrej Certik wrote: >>>

[sage-devel] Re: factoring questions

2009-08-18 Thread Ondrej Certik
On Tue, Aug 18, 2009 at 9:13 AM, Ondrej Certik wrote: > On Mon, Aug 17, 2009 at 9:41 PM, Ondrej Certik wrote: >> On Mon, Aug 17, 2009 at 5:31 AM, William Stein wrote: >>> >>> On Mon, Aug 17, 2009 at 3:20 AM, Ondrej Certik wrote: On Mon, Aug 17, 2009 at 4:09 AM, Ondrej Certik wrote: >

[sage-devel] Re: factoring questions

2009-08-18 Thread Ondrej Certik
On Mon, Aug 17, 2009 at 9:41 PM, Ondrej Certik wrote: > On Mon, Aug 17, 2009 at 5:31 AM, William Stein wrote: >> >> On Mon, Aug 17, 2009 at 3:20 AM, Ondrej Certik wrote: >>> >>> On Mon, Aug 17, 2009 at 4:09 AM, Ondrej Certik wrote: On Mon, Aug 17, 2009 at 3:51 AM, William Stein wrote: > >

[sage-devel] Re: factoring questions

2009-08-17 Thread Ondrej Certik
On Mon, Aug 17, 2009 at 5:31 AM, William Stein wrote: > > On Mon, Aug 17, 2009 at 3:20 AM, Ondrej Certik wrote: >> >> On Mon, Aug 17, 2009 at 4:09 AM, Ondrej Certik wrote: >>> On Mon, Aug 17, 2009 at 3:51 AM, William Stein wrote: On Mon, Aug 17, 2009 at 2:40 AM, Ondrej Certik wrote:

[sage-devel] Re: factoring questions

2009-08-17 Thread William Stein
On Mon, Aug 17, 2009 at 3:20 AM, Ondrej Certik wrote: > > On Mon, Aug 17, 2009 at 4:09 AM, Ondrej Certik wrote: >> On Mon, Aug 17, 2009 at 3:51 AM, William Stein wrote: >>> >>> On Mon, Aug 17, 2009 at 2:40 AM, Ondrej Certik wrote: On Mon, Aug 17, 2009 at 2:26 AM, William Stein wrote: >>>

[sage-devel] Re: factoring questions

2009-08-17 Thread Ondrej Certik
On Mon, Aug 17, 2009 at 4:09 AM, Ondrej Certik wrote: > On Mon, Aug 17, 2009 at 3:51 AM, William Stein wrote: >> >> On Mon, Aug 17, 2009 at 2:40 AM, Ondrej Certik wrote: >>> >>> On Mon, Aug 17, 2009 at 2:26 AM, William Stein wrote: On Mon, Aug 17, 2009 at 1:14 AM, Ondrej Certik wrote: >>

[sage-devel] Re: factoring questions

2009-08-17 Thread Ondrej Certik
On Mon, Aug 17, 2009 at 3:51 AM, William Stein wrote: > > On Mon, Aug 17, 2009 at 2:40 AM, Ondrej Certik wrote: >> >> On Mon, Aug 17, 2009 at 2:26 AM, William Stein wrote: >>> >>> On Mon, Aug 17, 2009 at 1:14 AM, Ondrej Certik wrote: Hi, at the scipy 09 conference I am going to

[sage-devel] Re: factoring questions

2009-08-17 Thread William Stein
On Mon, Aug 17, 2009 at 2:40 AM, Ondrej Certik wrote: > > On Mon, Aug 17, 2009 at 2:26 AM, William Stein wrote: >> >> On Mon, Aug 17, 2009 at 1:14 AM, Ondrej Certik wrote: >>> >>> Hi, >>> >>> at the scipy 09 conference I am going to compare Sage and sympy >>> approaches to factoring (and timings)

[sage-devel] Re: factoring questions

2009-08-17 Thread Ondrej Certik
On Mon, Aug 17, 2009 at 2:26 AM, William Stein wrote: > > On Mon, Aug 17, 2009 at 1:14 AM, Ondrej Certik wrote: >> >> Hi, >> >> at the scipy 09 conference I am going to compare Sage and sympy >> approaches to factoring (and timings) and longer term approaches, so I >> have a few questions about it

[sage-devel] Re: factoring questions

2009-08-17 Thread William Stein
On Mon, Aug 17, 2009 at 1:14 AM, Ondrej Certik wrote: > > Hi, > > at the scipy 09 conference I am going to compare Sage and sympy > approaches to factoring (and timings) and longer term approaches, so I > have a few questions about it, so that I understand things correctly. > If I do: > > sage: va