Re: [sympy] geometry modifications

2011-05-04 Thread Chris Smith
> > Is the area for non convex polygon implemented ? > > > Yes. Polgons have a signed area, ccw is positive: >>> Polygon(*[Point(w) for w in [(0,0),(2,0),(2,1),(1,0),(0,1)]]).area 1 >>> Polygon(*[Point(w) for w in [(0,0),(1,0),(1,1),(0,1),(S.Half/2,S.Half),(S.Ha lf,S.Half),(S.Half,S.H

Re: [sympy] geometry modifications

2011-05-04 Thread Christophe BAL
Thanks. Christophe. -- 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.com. For more options, visit this group at

Re: [sympy] Re: Assumptions

2011-05-04 Thread Tom Bachmann
On 02.05.2011 19:57, Aaron S. Meurer wrote: I agree that Frederik's idea is an interesting one, but we would need to have other people who understand it well if we were to attempt to implement it. If you could write something up on the wiki, it would go a long way towards this. I wrote up my vi

[sympy] Re: taylor (it was: faster groebner algorithm)

2011-05-04 Thread mario
On May 3, 8:27 pm, Tom Bachmann wrote: > >> The example mentioned above [exp(x)/loggamma(1/x)] is typical for the > >> kind of expansion we do in limits, in this case we need two terms. This > >> takes about 0.5 seconds currently. > > > This seems to me can be done with a bivariate series > > in

Re: [sympy] Re: Assumptions

2011-05-04 Thread Ronan Lamy
Le mercredi 04 mai 2011 à 10:37 +0100, Tom Bachmann a écrit : > On 02.05.2011 19:57, Aaron S. Meurer wrote: > > I agree that Frederik's idea is an interesting one, but we would need to > > have other people who understand it well if we were to attempt to > > implement it. If you could write somethi

Re: [sympy] Re: Assumptions

2011-05-04 Thread Fredrik Johansson
On Tue, May 3, 2011 at 11:24 PM, Ronan Lamy wrote: > Le mardi 03 mai 2011 à 22:02 +0100, Tom Bachmann a écrit : >> On 03.05.2011 21:47, Ondrej Certik wrote: >> > On Tue, May 3, 2011 at 8:44 AM, Fredrik Johansson >> >  wrote: >> >> On Tue, May 3, 2011 at 3:00 PM, Tom Bachmann  wrote: >> >>> Actual

Re: [sympy] Re: Assumptions

2011-05-04 Thread Fredrik Johansson
On Wed, May 4, 2011 at 7:53 PM, Ronan Lamy wrote: > Le mercredi 04 mai 2011 à 10:37 +0100, Tom Bachmann a écrit : >> On 02.05.2011 19:57, Aaron S. Meurer wrote: >> > I agree that Frederik's idea is an interesting one, but we would need to >> > have other people who understand it well if we were to

Re: [sympy] Re: Assumptions

2011-05-04 Thread Ondrej Certik
On Wed, May 4, 2011 at 11:09 AM, Fredrik Johansson wrote: [...] > > I don't see how this is "more functional than object-oriented". On the > contrary, using a class to encapsulate the notion of an algebra is > more object-oriented than spreading the equivalent code across various > methods in an a

Re: [sympy] Re: Assumptions

2011-05-04 Thread Aaron S. Meurer
On May 3, 2011, at 6:30 PM, Ondrej Certik wrote: > On Tue, May 3, 2011 at 2:02 PM, Tom Bachmann wrote: >> On 03.05.2011 21:47, Ondrej Certik wrote: >>> >>> On Tue, May 3, 2011 at 8:44 AM, Fredrik Johansson >>> wrote: On Tue, May 3, 2011 at 3:00 PM, Tom Bachmann wrote: > >

Re: [sympy] Re: Assumptions

2011-05-04 Thread Ronan Lamy
Le mercredi 04 mai 2011 à 20:09 +0200, Fredrik Johansson a écrit : > On Tue, May 3, 2011 at 11:24 PM, Ronan Lamy wrote: > > Le mardi 03 mai 2011 à 22:02 +0100, Tom Bachmann a écrit : > >> On 03.05.2011 21:47, Ondrej Certik wrote: > >> > On Tue, May 3, 2011 at 8:44 AM, Fredrik Johansson > >> > wr

Re: [sympy] Re: Assumptions

2011-05-04 Thread Aaron S. Meurer
On May 4, 2011, at 2:06 PM, Ronan Lamy wrote: > Le mercredi 04 mai 2011 à 20:09 +0200, Fredrik Johansson a écrit : >> On Tue, May 3, 2011 at 11:24 PM, Ronan Lamy wrote: >>> Le mardi 03 mai 2011 à 22:02 +0100, Tom Bachmann a écrit : On 03.05.2011 21:47, Ondrej Certik wrote: > On Tue, May

Re: [sympy] Re: Assumptions

2011-05-04 Thread Ronan Lamy
Le mercredi 04 mai 2011 à 13:51 -0600, Aaron S. Meurer a écrit : > On May 3, 2011, at 6:30 PM, Ondrej Certik wrote: > > > On Tue, May 3, 2011 at 2:02 PM, Tom Bachmann wrote: > >> On 03.05.2011 21:47, Ondrej Certik wrote: > >>> > >>> On Tue, May 3, 2011 at 8:44 AM, Fredrik Johansson > >>> wrote

Re: [sympy] Re: Assumptions

2011-05-04 Thread Tom Bachmann
Singleton objects are useful for more important things than optimising '==' with 'is'. They represent 'sui generis' objects that have specific behaviour. But that wasn't my point (not that you could have known it, given that I forgot half the words in my final parenthesis). I meant that having I

Re: [sympy] Re: Assumptions

2011-05-04 Thread Aaron S. Meurer
On May 4, 2011, at 4:52 PM, Tom Bachmann wrote: > >>> Singleton objects are useful for more important things than optimising >>> '==' with 'is'. They represent 'sui generis' objects that have specific >>> behaviour. But that wasn't my point (not that you could have known it, >>> given that I for