-
Notifications
You must be signed in to change notification settings - Fork 130
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
Documentation: vertices_and_rays
and maximal_polyhedra
(tropical variety)
#3918
Documentation: vertices_and_rays
and maximal_polyhedra
(tropical variety)
#3918
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3918 +/- ##
==========================================
+ Coverage 83.96% 84.56% +0.60%
==========================================
Files 591 612 +21
Lines 81380 83034 +1654
==========================================
+ Hits 68329 70218 +1889
+ Misses 13051 12816 -235 |
Currently this just adds a line stating an intent to add documentation, but does nothing else. Is the plan to change that? Do you already know when roughly you'll have time to do it? |
@fingolfin Sorry that I just left that hanging! I have been busy with other commitments. My intention was to start looking more at it next week (and finish it in August). Is that alright? |
Added example
Changed "Examples" to "Example"
Changed code-environments to jldoctest
Can you put
at the top of this file? This is necessary to make the doc tests work. (I'm not sure whether this is written down somewhere and I hope I'm not saying anything wrong here.) |
Added meta setup for doctest and labels for codeblocks
I am unsure what it means that doctest (1.11-nightly, ubuntu-latest) fails? Can anyone help with this? Maybe @joschmitt? |
You can ignore it (it is reported as #4047). |
@MarieKaltoft once you are done here, please mark the pull request as "ready for review". |
Moved the meta setup to top of document to match structure of other documents.
Comment for reviewer: I have now added an example of a tropical hypersurface. The example is rather rudimentary and quite spelled out, and I am of course willing to correct/change things, if it should not be as spelled out in the documentation. However, as a Master's student, who only recently got into tropical geometry, this is what I believe would have helped me, when I was learning to use these tools. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for the wonderful addition to the documentation! Just a couple of nitpicky things (sorry!):
(a) For the sake of consistence with the rest of the tropical documentation, could you please rename TRing
to T
and THg
to TropH
?
(b) Before showing off vertices.(maxPolTg)
and rays.(maxPolTg)
, could you please add a short code block showing off IncidenceMatrix(maxPolTg)
? I personally find it incredibly useful and I recommend it to anybody who wants to know more about the maximal polyhedra of a polyhedral complex.
Changed TRing to T and THg to TropH for consistency.
Added IncidenceMatrix and rewrote text to fit.
Hi @YueRen Thanks for the feedback! I have changed the example accordingly. It was actually Sorry that I took so long to get back - I don't seem to be getting all the notifications from GitHub that I should... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, more than happy for this to be merged!
Thank you @MarieKaltoft! |
See discussion.
I am working on adding some examples to the online documentation in the tropical geometry section. These examples aim to make the commands
vertices_and_rays
andmaximal_polyhedra
easier to understand, as well as the relation between them.Following was added as a comment, when sent to review:
Comment for reviewer: I have now added an example of a tropical hypersurface. The example is rather rudimentary and quite spelled out, and I am of course willing to correct/change things, if it should not be as spelled out in the documentation. However, as a Master's student, who only recently got into tropical geometry, this is what I believe would have helped me, when I was learning to use these tools.