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

CombinatorialPolyhedron: length_* to n_* #28614

Closed
kliem opened this issue Oct 16, 2019 · 34 comments
Closed

CombinatorialPolyhedron: length_* to n_* #28614

kliem opened this issue Oct 16, 2019 · 34 comments

Comments

@kliem
Copy link
Contributor

kliem commented Oct 16, 2019

To make CombinatorialPolyhedron more consistent with Polyhedron we change the following names.

  • length_Hrepr -> n_Hrepresentation
  • length_Vrepr -> n_Vrepresentation

In FaceIterator:

In CombinatorialFace:

  • length_Vrepr -> n_ambient_Vrepresentation
  • length_Hrepr -> n_ambient_Hrepresentation
    As both methods are public we keep the old methods with deprecation warnings.

As a follow up in #28615 we need to fix the alignment in src/sage/geometry/polyhedron/combinatorial_polyhedron/base.pxd. Fixing it in this ticket would lead to merge conflicts and as its trivial, we can easily do it later.

CC: @jplab @LaisRast

Component: geometry

Keywords: polytopes, combinatorial polyhedron

Author: Jonathan Kliem

Branch/Commit: 2ad0ec0

Reviewer: Frédéric Chapoton

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

@kliem kliem added this to the sage-9.0 milestone Oct 16, 2019
@kliem

This comment has been minimized.

@kliem

This comment has been minimized.

@kliem

This comment has been minimized.

@kliem
Copy link
Contributor Author

kliem commented Oct 16, 2019

Commit: 2bddb97

@kliem
Copy link
Contributor Author

kliem commented Oct 16, 2019

New commits:

d597ed3replace attributes by methods
2fc4fe0removed empty folder being created in source
37592f9replace attributes by methods; remove empty folder from source
e865f9dremoved attribute Vinv, as its not being used
84ef31badded docstrings to the new methods
588afa4removed method for Vinv
2bddb97length_* -> n_

@kliem
Copy link
Contributor Author

kliem commented Oct 16, 2019

Branch: public/28614

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Oct 16, 2019

Changed commit from 2bddb97 to c030651

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Oct 16, 2019

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

c030651deprecation warnings; n_Vrepresentation -> n_ambient_Vrepresentation in CombinatorialFace

@kliem
Copy link
Contributor Author

kliem commented Oct 16, 2019

New commits:

c030651deprecation warnings; n_Vrepresentation -> n_ambient_Vrepresentation in CombinatorialFace

@kliem
Copy link
Contributor Author

kliem commented Oct 16, 2019

Changed keywords from none to polytopes, combinatorial polyhedron

@kliem

This comment has been minimized.

@kliem

This comment has been minimized.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Oct 16, 2019

Changed commit from c030651 to c0c5262

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Oct 16, 2019

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

c0c5262altered the deprecation message to be the correct one for methods

@kliem
Copy link
Contributor Author

kliem commented Oct 18, 2019

comment:9

Actually due to merge conflict, this ticket depends on #28606 as well.

@kliem
Copy link
Contributor Author

kliem commented Oct 18, 2019

Changed dependencies from #28605 to #28605, #28606

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Oct 18, 2019

Changed commit from c0c5262 to e6c672e

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Oct 18, 2019

Branch pushed to git repo; I updated commit sha1. Last 10 new commits:

dfbe2adMerge branch 'public/28607' of git://trac.sagemath.org/sage into public/28621
ed5518bused CombinatorialPolyhedron to compute f_vector
9bdd005give an error message for polytopes in some cases; removed incorrect example
acd671dnow we get a precice error message for inexact truncated dodecahedron
bf85a62subsequent calls for f_vector fail if first attempt fails
dc99ea4Merge branch 'public/28625' of git://trac.sagemath.org/sage into public/28605
9b5bcaaapplied changes of 28605 to new code from 28625
6fb97dcMerge branch 'public/28605' of git://trac.sagemath.org/sage into public/28606
846f216small fix in doc
e6c672emerged in #28606; applied changes to new code from #28625

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Oct 18, 2019

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

2c039cclength_* -> n_
a22010cdeprecation warnings; n_Vrepresentation -> n_ambient_Vrepresentation in CombinatorialFace
6b37686altered the deprecation message to be the correct one for methods

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Oct 18, 2019

Changed commit from e6c672e to 6b37686

@kliem
Copy link
Contributor Author

kliem commented Oct 18, 2019

comment:12

I rebased to #28606.

@kliem
Copy link
Contributor Author

kliem commented Oct 25, 2019

comment:13

Waiting on #28606.

@kliem
Copy link
Contributor Author

kliem commented Nov 18, 2019

Changed commit from 6b37686 to 39cc098

@kliem
Copy link
Contributor Author

kliem commented Nov 18, 2019

Changed dependencies from #28605, #28606 to none

@kliem
Copy link
Contributor Author

kliem commented Nov 18, 2019

New commits:

7acef4clength_* -> n_
ade3dcadeprecation warnings; n_Vrepresentation -> n_ambient_Vrepresentation in CombinatorialFace
39cc098altered the deprecation message to be the correct one for methods

@kliem
Copy link
Contributor Author

kliem commented Nov 18, 2019

Changed branch from public/28614 to public/28614-reb

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Nov 18, 2019

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

f14e75bmissed a replacement

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Nov 18, 2019

Changed commit from 39cc098 to f14e75b

@fchapoton
Copy link
Contributor

comment:17

do not import anything from __future__ in pyx files

otherwise, looks good

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Nov 23, 2019

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

2ad0ec0removed `from __future__` import in pyx files

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Nov 23, 2019

Changed commit from f14e75b to 2ad0ec0

@fchapoton
Copy link
Contributor

Reviewer: Frédéric Chapoton

@fchapoton
Copy link
Contributor

comment:19

ok

@vbraun
Copy link
Member

vbraun commented Nov 28, 2019

Changed branch from public/28614-reb to 2ad0ec0

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