#16045: Polytope volume function engines produce different results
------------------------+------------------------------------------------
Reporter: wishcow | Owner:
Type: defect | Status: new
Priority: minor | Milestone:
Component: geometry | Keywords: polytope, volume, lrs_volume
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
------------------------+------------------------------------------------
The lrs engine for polytope volume calculates volume respective to the
dimension of the polytope,
while the auto engine calculates volume respective to the dimension of the
ambient space.
Example:
{{{
m3 = matrix(ZZ, [[0,0,0],[0,0,1]])
p = Polyhedron(m3)
p.volume(engine="lrs")
p.volume()
1.0
0
}}}
(Note: The lrs behavior actually has some benefits, since it allows
calculation of volumes of facets without reducing the dimension of the
ambient space.)
--
Ticket URL: <http://trac.sagemath.org/ticket/16045>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.