-
-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.volume() of polyhedron does not handle unbounded polyhedron properly #22558
Comments
comment:1
Or zero depending on whether it is full-dimensional or not? |
comment:2
This is related to #16045, the user may want a different output in this case: the volume in the euclidean sense, or the "area" relative to the affine space, or even relative to the lattice index... |
Branch: u/jipilab/22558 |
New commits:
|
Commit: |
Author: Jean-Philippe Labbé |
comment:5
What should be the expected behavior for non-compact non-fulldimensional polyhedra? From reading #16045 it seems that currently
Your version give |
Changed branch from u/jipilab/22558 to u/moritz/22558 |
Dependencies: #16045 |
Changed keywords from days84, volume to days84, volume, days88 |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Changed author from Jean-Philippe Labbé to Moritz Firsching |
comment:11
What about:
Sage should return directly |
comment:12
Further, in the docstring, I would change:
for
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:14
I did as you suggested, JP! |
comment:15
There is a line in a doctest that is not needed; please delete:
Otherwise, this looks good to me! |
Changed branch from u/moritz/22558 to u/saliola/22558 |
comment:17
I made the change myself and pushed it. JP says that the last thing to do is the run the optional tests. New commits:
|
Work Issues: run optional doctests |
Reviewer: Jean-Philippe Labbé, Franco Saliola |
Changed work issues from run optional doctests to none |
comment:18
Ok!
Looks good to go! The bot seems to get unrelated errors. The one done at 2017-08-27 22:33:58 seems to be fine. I set this as positive review. |
Changed branch from u/saliola/22558 to |
Currently, the method
.volume()
of the polyhedron class (see .volume()) does not handle unbounded polyhedron internally and lets.triangulate()
return an error:One possibility would be to return infinity
oo
in this case.Depends on #16045
CC: @fchapoton @videlec @mkoeppe @mo271 @jplab
Component: geometry
Keywords: days84, volume, days88
Author: Moritz Firsching
Branch/Commit:
3e0ada5
Reviewer: Jean-Philippe Labbé, Franco Saliola
Issue created by migration from https://trac.sagemath.org/ticket/22558
The text was updated successfully, but these errors were encountered: