#12492: Polyhedron().radius() is nonsensical
------------------------+---------------------------------------------------
   Reporter:  kini      |          Owner:  mhampton   
       Type:  defect    |         Status:  new        
   Priority:  major     |      Milestone:  sage-5.0   
  Component:  geometry  |       Keywords:             
Work_issues:            |       Upstream:  N/A        
   Reviewer:            |         Author:  Keshav Kini
     Merged:            |   Dependencies:             
------------------------+---------------------------------------------------
 See [https://groups.google.com/d/topic/sage-support/rj6ZjjPPDSk/discussion
 this sage-support thread].

 {{{
 sage: sq=polytopes.n_cube(2)
 sage: sq.vertices()
 [[1, 1], [-1, 1], [1, -1], [-1, -1]]
 sage: sq.radius()
 2*sqrt(2)
 sage: Polyhedron([[p0+1,p1] for p0,p1 in sq.vertices()]).radius()
 2*sqrt(3)
 sage: Polyhedron([[p0+10,p1] for p0,p1 in sq.vertices()]).radius()
 2*sqrt(102)
 }}}

 The radius of the unit square is of course `sqrt(2)`. I have no idea what
 the current code is trying to do, so I'm rewriting it.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12492>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" 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/sage-trac?hl=en.

Reply via email to