On 27/03/2011 02:32, Marshall Hampton wrote:
If p is your Polyhedron, you can use p.lrs_volume() to get the volume,
but this requires the optional lrs package to be installed. It should
be very easy to install lrs, just do "sage -i lrs" (or "path/to/sage/
sage -i lrs" if sage is not in your path). I have been hoping to make
lrs a standard package for a long time - if you have any problems
installing it please post them.
Thank you, that works fine. Shouldn't the function just be called
p.volume? Surely the user shouldn't need to know that lrs is being used?
Alastair
--
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