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

Polyhedron.affine_hull_manifold #31659

Closed
mkoeppe opened this issue Apr 11, 2021 · 42 comments
Closed

Polyhedron.affine_hull_manifold #31659

mkoeppe opened this issue Apr 11, 2021 · 42 comments

Comments

@mkoeppe
Copy link
Contributor

mkoeppe commented Apr 11, 2021

This new method will return the affine hull of the polyhedron as an embedded submanifold of the ambient space, with a default chart defining coordinates that are the same as those that affine_hull_projection gives.

CC: @mjungmath @kliem @yuan-zhou @jplab @tscrim @egourgoulhon

Component: manifolds

Author: Matthias Koeppe

Branch/Commit: 62390c9

Reviewer: Travis Scrimshaw

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

@mkoeppe mkoeppe added this to the sage-9.3 milestone Apr 11, 2021
@mkoeppe
Copy link
Contributor Author

mkoeppe commented Apr 11, 2021

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Apr 11, 2021

Commit: c2e6c55

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Apr 11, 2021

comment:2

Here's a beginning.

Unfortunately affine_hull_projection(as_affine_map=True) is a bit strange - it does not return everything what we need: The inverse affine map, from the projection back to the polyhedron. Maybe we should add more output options to this function (see also #27366)


New commits:

c2e6c55Polyhedron_base.affine_hull_manifold: New

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Apr 11, 2021

Author: Matthias Koeppe, ...

@mkoeppe mkoeppe modified the milestones: sage-9.3, sage-9.4 Apr 11, 2021
@mkoeppe
Copy link
Contributor Author

mkoeppe commented Apr 13, 2021

Dependencies: #27366

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 15, 2021

Branch pushed to git repo; I updated commit sha1. This was a forced push. Last 10 new commits:

b407987Merge tag '9.3.rc2' into t/27366/affine-hull-more
d25f7f3Fixup merge
7e0f31daffine_hull -> affine_hull_projection in doctests
58e6dccMerge tag '9.3.rc3' into t/27366/affine-hull-more
8414039Polyhedron_base.affine_hull_projection: Document a weaker guarantee of parametric_form
dba2763Polyhedron_base.affine_hull_projection: Replace 'affine_map' by 'projection_map', 'parametric_form'/'coordinate_images' by 'section_map'
d49c313Polyhedron_base.affine_hull_projection: section map for non-orthogonal case
d77181bAdd doctest
6f30843Polyhedron_base.affine_hull_manifold: New
0538280Polyhedron_base.affine_hull_manifold: Finish

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 15, 2021

Changed commit from c2e6c55 to 0538280

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Apr 15, 2021

Changed author from Matthias Koeppe, ... to Matthias Koeppe

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 15, 2021

Changed commit from 0538280 to f2bdbf2

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 15, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

f2bdbf2Add example

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 15, 2021

Changed commit from f2bdbf2 to eb88cfe

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 15, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

eb88cfealso plot the polyhedron

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Apr 15, 2021

comment:10

The plotting is best tested with #31600

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 15, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

3d5f3c4Put '# not tested' in the right place
de50778Polyhedron_base.affine_hull_manifold: Make it Riemannian

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 15, 2021

Changed commit from eb88cfe to de50778

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Apr 15, 2021

comment:12

It seems I need to make this a foliation so that I get access to a volume form

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 15, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

ab10ce2correct base_rings for projection and section map and test suite method
69ceebcbase extend in test; only run defined tests
e409f37Merge #27366

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 15, 2021

Changed commit from de50778 to e409f37

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 16, 2021

Changed commit from e409f37 to cd15496

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 16, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

ba62e66Polyhedron_base.affine_hull_projection: Fix for 0-dimensional case
934a33fPolyhedron_base.affine_hull_projection: Error for the empty polyhedron
9629620Polyhedron_base.affine_hull_projection: Fix up use of echelong form
cd15496Merge #27366

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 16, 2021

Changed commit from cd15496 to 931b5ca

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 16, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

8c24c5cPolyhedron_base.affine_hull_projection: Remove last occurrence of 'parametric_form'
9368947Merge #27366
931b5caPolyhedron_base.affine_hull_manifold: Use a foliation

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 19, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

9f5560ainitialize empty matrix after trivial multiplication
f9faa02minimal extension only avoid AA if the base ring is not already AA
397ae3asrc/sage/geometry/polyhedron/base.py: Update copyright according to git blame -w --date=format:%Y src/sage/geometry/polyhedron/base.py | sort -k2
2c1e2bdPolyhedron_base.affine_hull_projection: Return a dataclass instance, not a dictionary
57fd3e1Fixup doctest formatting
6e686a4Merge #27366
643392cUse new format of affine hull data
57dce72Polyhedron.affine_hull_manifold: Update doctests

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 19, 2021

Changed commit from 931b5ca to 57dce72

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 19, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

a47ea80Update doctest

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 19, 2021

Changed commit from 57dce72 to a47ea80

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 26, 2021

Changed commit from a47ea80 to 915389d

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 26, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

b17aa8cadd another doctest
eee1aadfix section map
915389dMerge #27366

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 16, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

87a2beaPolyhedron_base.affine_hull_manifold: In the full-dimensional case, do not create a submanifold
8af2c71Polyhedron_base._affine_hull_name_latex_name: Add docstring

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 16, 2021

Changed commit from 915389d to 8af2c71

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 16, 2021

Changed commit from 8af2c71 to 8c6759a

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 16, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

8c6759aMake docstrings raw

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 16, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

19a9cebPolyhedron_base.affine_hull_manifold: Add argument ambient_chart

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 16, 2021

Changed commit from 8c6759a to 19a9ceb

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 16, 2021

Changed commit from 19a9ceb to 62390c9

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 16, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

62390c9src/sage/geometry/polyhedron/base.py: Fix typo

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jun 2, 2021

Changed dependencies from #27366 to none

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jun 2, 2021

comment:25

Ready for review; the failure on one of the patchbots is unrelated (#28559)

@tscrim
Copy link
Collaborator

tscrim commented Jun 5, 2021

Reviewer: Travis Scrimshaw

@tscrim
Copy link
Collaborator

tscrim commented Jun 5, 2021

comment:26

LGTM.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jun 5, 2021

comment:27

Thanks!

@vbraun
Copy link
Member

vbraun commented Jun 21, 2021

Changed branch from u/mkoeppe/polyhedron_affine_hull_manifold to 62390c9

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