I am also having trouble with RDF:

Polyhedron(ieqs = [[RDF(2/3), RDF(1/3), RDF(-1/3*sqrt(3))]])

produces the same error.

On Jan 1, 7:27 am, mb <[email protected]> wrote:
> On Jan 1, 3:51 am, Volker Braun <[email protected]> wrote:
>
> > The recommended way of plotting polyhedra is via p.plot(). The
> > render_solid() method only gives you the "solid" part of the plot.
>
> p.plot() doesn't seem to work.
>
> In [1]: p=Polyhedron(ieqs = [[0,1,0],[0,0,1],[1,-1,-1]])
> In [2]: p.plot()
> ---------------------------------------------------------------------------
> AttributeError                            Traceback (most recent call
> last)
>
> /home/mb/projects/bianchi/sage/<ipython console> in <module>()
>
> AttributeError: 'Polyhedron' object has no attribute 'plot'
>
>
>
> > Polyhedron instances can only be defined over QQ (arbitrary precision
> > rational) and RDF (floating point) fields. Input checking apparently needs
> > to be improved...
>
> How hard would it be to allow (quadratic) number fields? Not
> necessarily for plotting, but for computing the vertices of a polygon
> expressed as the intersection of half planes?
>
> Mladen

-- 
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-support
URL: http://www.sagemath.org

Reply via email to