>
> 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
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
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
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
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
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
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
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
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:
>
>
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
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
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
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
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
14 matches
Mail list logo