[sage-support] Re: Polyhedron bug

2011-01-01 Thread mb
Thanks, with field=RDF it works. I am running sage 4.6, and p.plot() doesn't work. On Jan 1, 8:13 am, Volker Braun wrote: > Polyhedron(ieqs = [[RDF(2/3), RDF(1/3), RDF(-1/3*sqrt(3))]], field=RDF) > > And other fields are hard to implement since there is no implementation of > the double descript

[sage-support] Happy New Year 2011!!!

2011-01-01 Thread A. Jorge Garcia
Happy New Year all! Please enjoy my YouTubes and BlogSpots! HTH, A. Jorge Garcia Applied Math and CompSci http://shadowfaxrant.blogspot.com http://www.youtube.com/calcpage2009 -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sag

[sage-support] Re: Polyhedron bug

2011-01-01 Thread Volker Braun
Polyhedron(ieqs = [[RDF(2/3), RDF(1/3), RDF(-1/3*sqrt(3))]], field=RDF) And other fields are hard to implement since there is no implementation of the double description method for arbitrary fields. Feel free to send a patch... I don't remember when I implemented plot() but that was a while ag

[sage-support] Re: Polyhedron bug

2011-01-01 Thread mb
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 wrote: > On Jan 1, 3:51 am, Volker Braun wrote: > > > The recommended way of plotting polyhedra is via p.plot(). The > > render_solid() method only giv

[sage-support] Re: Polyhedron bug

2011-01-01 Thread mb
On Jan 1, 3:51 am, Volker Braun 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()

[sage-support] Re: Polyhedron bug

2011-01-01 Thread Volker Braun
The recommended way of plotting polyhedra is via p.plot(). The render_solid() method only gives you the "solid" part of the plot. Polyhedron instances can only be defined over QQ (arbitrary precision rational) and RDF (floating point) fields. Input checking apparently needs to be improved... -