-
Notifications
You must be signed in to change notification settings - Fork 9
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
Refine documentation #69
Conversation
Codecov Report
@@ Coverage Diff @@
## master #69 +/- ##
=======================================
Coverage 99.70% 99.70%
=======================================
Files 11 14 +3
Lines 1348 1351 +3
=======================================
+ Hits 1344 1347 +3
Misses 4 4
Continue to review full report at Codecov.
|
Since we already work on this, maybe it would be nice to also point out the difference between a geodesic and a curve that minimizes distance? |
Good idea, that could best be done in |
I added more details on the geodesic. Since we are at it, we could also add ApproximateInverseRetraction (and by the way an approximate log would also be neat), and solve JuliaManifold/Manifolds.jl#343 as well by adding the |
Sure, I think a general section about retractions, inverse retractions and projections (with some figures as discussed in JuliaNLSolvers/Optim.jl#920 ) would be helpful. |
That sounds great. The optim.jl documentation gave me the wrong idea that |
Well, Optim.jl uses the retraction as it is defined for topological spaces for a retraction on a manifold, where it has a different meaning usually, for that we can‘t do anything. For the figure I have to take a look what would be a suitable illustration. Currently thinking of maybe even using just the Circle. |
I drew it in my notebook as Circles, I have about 6 of them :-) |
Hm, I somehow broke something (ExponentialRetraction is not found anymore) though I just copied (carefully) things around. Will take a look later. edit: just after positing I noticed, it is the usual |
I did a minor bump, since we reorganised files here (and Manifolds.jl has to adapt to that), but it is non-breaking though I also moved two types here (which breaks nothing here and when upgrading manifolds will also break nothing there). |
Just as a remark, the last commit puts the implementation of the retraction with NLsolve back into Manifolds.jl, since it would introduce a dependency on |
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.
I haven't reviewed everything yet but here are some small points.
Co-authored-by: Mateusz Baran <mateuszbaran89@gmail.com>
Co-authored-by: Mateusz Baran <mateuszbaran89@gmail.com>
…aManifolds/ManifoldsBase.jl into kellertuer/documentation-refinement
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.
A few more comments 🙂 .
Co-authored-by: Mateusz Baran <mateuszbaran89@gmail.com>
# Conflicts: # Project.toml # src/DefaultManifold.jl # src/ManifoldsBase.jl
Oh, this was the first time I actually had to carefully do a merge conflict resolution, since we edited the same areas. I hope though that I did not miss anything and we might face something similar in Manifolds.jl then, though there it might be less severe, since I mainly edited docs. edit: A I might have to rethink my section on main types, which covered Manifold, MPoint, TVector and CoTVector, but maybe the last two are now moved to a vector space section anyways? |
I'll review the changes again 🙂 .
Yes, the |
Ah, sure, that makes more sense. I will wait for your manifolds branch to be merged and then also there adapt the docs in my rewrite. |
Thanks for all the effort, these documentation refinements really help a lot! |
…t over to retract.
I think this one is also good to be merged. I have locally checke both this and the manifolds branch with the new (0.11/0.5) versions and locally all looks good. |
The failure on nightly is probably caused by JuliaLang/julia#33697 . |
That is a very neat notation they came up with, I just do net yet see why that breaks our |
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.
These changes look nice 👍
Co-authored-by: Mateusz Baran <mateuszbaran89@gmail.com>
This small PR extends the documentation especially of exp and retract. Maybe this is a good PR to also improve other docstrings, so feel free to propose further changes.