Thanks.. It's solve the problem Regards, Matteo
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of smichr Sent: 01 June 2010 14:05 To: sympy Subject: [sympy] Re: Error in the intersection I would recommend using Rationals rather than Reals. It's much more difficult to rigorously check for intersection when using floating point numbers. >>> l1=Line(Point(2, 2), Point(0, 10)) >>> l2=Line(Point(0, 1), Point(8, 3)) >>> l1.intersection(l2) [Point(Rational(36, 17), Rational(26, 17))] -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en. -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
