[sage-support] Polyhedron.radius() bug?

2012-02-10 Thread rickhg12hs
Return the maximal distance from the center to a vertex. Shouldn't this be translation invariant? Doesn't seem like any of these are answers right. sage: sq=polytopes.n_cube(2) sage: sq.vertices() [[1, 1], [-1, 1], [1, -1], [-1, -1]] sage: sq.radius() 2*sqrt(2) sage:

Re: [sage-support] Polyhedron.radius() bug?

2012-02-10 Thread Anton Sherwood
On 2012-2-10 05:27, rickhg12hs wrote: Return the maximal distance from the center to a vertex. Shouldn't this be translation invariant? Could 'center' here mean 'origin'? It's not obviously unreasonable to assume that a polyhedron is defined so that they coincide. -- Anton

Re: [sage-support] Polyhedron.radius() bug?

2012-02-10 Thread Keshav Kini
Seems unlikely to me. The output does not match this theory either. -keshav achtung: sent from phone, possibly unduly terse On Feb 11, 2012 1:06 AM, Anton Sherwood bro...@pobox.com wrote: On 2012-2-10 05:27, rickhg12hs wrote: Return the maximal distance from the center to a vertex.