Skip to content
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

Compute Hilbert basis of cone #10023

Closed
vbraun opened this issue Sep 27, 2010 · 18 comments
Closed

Compute Hilbert basis of cone #10023

vbraun opened this issue Sep 27, 2010 · 18 comments

Comments

@vbraun
Copy link
Member

vbraun commented Sep 27, 2010

The Hilbert basis of a cone is useful for toric geometry since one needs to know the generators of "sigma-dual intersect M". This patch implements not necessarily reduced generators of a cone and the Hilbert basis.

This patch depends on #9918: triangulate point configurations. See tracker bug #9604 for the patch queue/dependencies.

The ray order of cones in doctests is written with for the PPL-based cones in #10140. Although the resulting Hilbert basis is, strictly speaking, correct, the doctests will not pass without #10140.

Apply

CC: @novoselt

Component: geometry

Author: Volker Braun

Reviewer: Andrey Novoseltsev

Merged: sage-4.7.1.alpha2

Issue created by migration from https://trac.sagemath.org/ticket/10023

@vbraun

This comment has been minimized.

@novoselt
Copy link
Member

comment:2

A couple little picks after glancing at it:

  • No date after the last "AUTHORS" entry.
  • Cone.generators() seems very confusing to me - I think of cones as generated by their rays. Maybe Cone.lattice_points_generators()? I know, it is quite long, but just lattice_generators or integral_generators are still misleading...

@vbraun
Copy link
Member Author

vbraun commented Sep 28, 2010

comment:3

How about Cone.semigroup_generators()? This is closer to the truth :-)

@novoselt
Copy link
Member

comment:4

Replying to @vbraun:

How about Cone.semigroup_generators()? This is closer to the truth :-)

Great!

@vbraun
Copy link
Member Author

vbraun commented Dec 28, 2010

comment:5

For the trac bot: Depends on #9918

@vbraun
Copy link
Member Author

vbraun commented Dec 31, 2010

comment:6

I've added a Hilbert_coefficients(point) method that will expand point into a non-negative integer linear combination of the Hilbert basis.

@novoselt
Copy link
Member

comment:7

There are doctest errors according to the buildbot, looks like sorting is changed in the new version.

@novoselt
Copy link
Member

Work Issues: doctest failures

@vbraun
Copy link
Member Author

vbraun commented Jan 19, 2011

comment:8

For the trac bot:
Depends on #9918, #10233, #10039, #10140.

@vbraun

This comment has been minimized.

@vbraun
Copy link
Member Author

vbraun commented May 5, 2011

Attachment: trac_10023_Hilbert_basis.patch.gz

Fixed doctest ray orders due to #10140

@vbraun vbraun modified the milestones: sage-5.0, sage-4.7.1 May 6, 2011
@novoselt
Copy link
Member

novoselt commented May 7, 2011

Reviewer: Andrey Novoseltsev

@novoselt
Copy link
Member

novoselt commented May 7, 2011

Changed work issues from doctest failures to none

@novoselt
Copy link
Member

novoselt commented May 7, 2011

comment:10

Hi Volker, I've formatted the documentation a little and adjusted conversion logic in the semigroup_generators (some conversions were unnecessary and for simplicial cones it was returning a list, rather than tuple).

If all changes look fine, please switch to positive review!

@novoselt
Copy link
Member

novoselt commented May 7, 2011

Attachment: trac_10023_reviewer.patch.gz

Added commit message.

@vbraun
Copy link
Member Author

vbraun commented May 7, 2011

comment:11

Looks good, thanks!

@vbraun

This comment has been minimized.

@jdemeyer
Copy link

jdemeyer commented Jun 7, 2011

Merged: sage-4.7.1.alpha2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants