Comment #2 on issue 2352 by [email protected]: Remove
Ellipse.distance_to_center()
http://code.google.com/p/sympy/issues/detail?id=2352
Here is a direct comparison:
h[4] >>> e
Ellipse(Point(1, 2), 3, 4)
>>> t = Symbol('t')
>>> Point.distance(e.center,e.arbitrary_point(t.name)).subs(t, 1)
(9*cos(1)**2 + 16*sin(1)**2)**(1/2)
>>> e.distance_to_center(1)
(9*cos(1)**2 + 16*sin(1)**2)**(1/2)
I think it's enough of a nuisance to warrant the method. -1 for removing it.
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" 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-issues?hl=en.