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

Add codim() method for convex cones #18701

Closed
orlitzky opened this issue Jun 14, 2015 · 21 comments
Closed

Add codim() method for convex cones #18701

orlitzky opened this issue Jun 14, 2015 · 21 comments

Comments

@orlitzky
Copy link
Contributor

The dimension of a cone is defined to be the dimension of the span of its generators. It then makes sense to define the codimension as the dimension of the orthogonal complement of that span. This number is equal to the lineality (see trac #18696) of the dual cone.

Depends on #18696

Component: geometry

Author: Michael Orlitzky

Branch/Commit: 0fdb077

Reviewer: Andrey Novoseltsev

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

@orlitzky orlitzky added this to the sage-6.8 milestone Jun 14, 2015
@orlitzky
Copy link
Contributor Author

Commit: 2d1a511

@orlitzky
Copy link
Contributor Author

Author: Michael Orlitzky

@orlitzky
Copy link
Contributor Author

Last 10 new commits:

f6faa2bTrac #18454: Allow random_cone() to be (non-)strictly-convex.
f8e1eb0Trac #18454: Remove an unnecessary exception in random_cone().
52c148aTrac #18454: Set max_dim on a random_cone() test that could run forever.
63f92c4Trac #18454: Add a "solid" parameter to random_cone().
cb7cd15Trac #18454: Fix warning block formatting in random_cone().
b86adc1Trac #18454: Catch another infinite loop condition.
3d2151bTrac #18454: Call set_random_seed() before all random doctests.
1683fd8Trac #18454: Speed up random_cone() doctests.
227228fTrac #18696: Add lineality() method for convex cones.
2d1a511Trac #18701: Add a codim() method for convex cones.

@orlitzky
Copy link
Contributor Author

Branch: u/mjo/ticket/18701

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 14, 2015

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

d673000Trac #18701: Add a codim() method for convex cones.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 14, 2015

Changed commit from 2d1a511 to d673000

@orlitzky
Copy link
Contributor Author

comment:3

That force-push moved the method into the IntegralRayCollection superclass, where I believe it belongs.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 12, 2015

Changed commit from d673000 to 1bb8936

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 12, 2015

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

deeb2ecTrac #18454: Allow random_cone() to be (non-)strictly-convex.
44ac645Trac #18454: Remove an unnecessary exception in random_cone().
909997aTrac #18454: Set max_dim on a random_cone() test that could run forever.
bd24822Trac #18454: Add a "solid" parameter to random_cone().
ba66027Trac #18454: Fix warning block formatting in random_cone().
8b2ff99Trac #18454: Catch another infinite loop condition.
78c206fTrac #18454: Call set_random_seed() before all random doctests.
7bdaf1cTrac #18454: Speed up random_cone() doctests.
473de25Trac #18696: Add lineality() method for convex cones.
1bb8936Trac #18701: Add a codim() method for convex cones.

@orlitzky
Copy link
Contributor Author

comment:5

Testing the new trac server's ability to send email...

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 3, 2015

Changed commit from 1bb8936 to 1307fb6

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 3, 2015

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

52a1e4bTrac #18454: Rename min/max_dim to min/max_ambient_dim in random_cone().
a0235dcTrac #18454: Fix two confusing random_cone() examples.
5b1eccbTrac #18454: Remove some excessive doctests for random_cone().
5bf86a6Trac #18454: Clean up long random_cone() tests.
3e9fd77Trac #18696: Add lineality() method for convex cones.
1307fb6Trac #18701: Add a codim() method for convex cones.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 14, 2015

Changed commit from 1307fb6 to 4dbe641

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 14, 2015

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

e6e7a80Merge branch 't/18613/errors_with_is_isomorphic___for_trivial_cones' into t/18454/ticket/18454
a07efa9Reviewer's tweaks to random cones.
8c962e1Trac #18454: Remove more redundant (long) tests.
ed422e3Trac #18696: Add lineality() method for convex cones.
4dbe641Trac #18701: Add a codim() method for convex cones.

@novoselt
Copy link
Member

Reviewer: Andrey Novoseltsev

@novoselt
Copy link
Member

comment:8

Same comments as for #18696 and:

  • I'd prefer using "self" to "this collection of rays" in the documentation. That class seemed natural to me as a base of both cones and rays, yet by itself it seems not particularly useful and all doctest examples actually rely on cones. So I think users of cone.codim? will be confused by the mention of a ray collection. If you prefer to avoid "self", perhaps "cone/fan" combination can be used instead?

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 16, 2015

Changed commit from 4dbe641 to 0fdb077

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 16, 2015

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

d3eb1c9Trac #18696: Fix reviewer's suggestions.
6eb8bbdTrac #18701: Add a codim() method for convex cones.
0fdb077Trac #18701: Fix reviewer's suggestions.

@orlitzky
Copy link
Contributor Author

comment:10

Thanks again for your help with these. I had to force-push that last one, not sure why.

@novoselt
Copy link
Member

comment:11

Because you had a commit from the previous ticket here: when you rebased on top of it, the current branch here had commits that are now thrown away.

@vbraun
Copy link
Member

vbraun commented Aug 19, 2015

Changed branch from u/mjo/ticket/18701 to 0fdb077

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