Manifolds.jl v0.10#732
Merged
mateuszbaran merged 90 commits intomasterfrom Aug 24, 2024
Merged
Conversation
what remains to be fixed is if it is wrapped in a `MetricManifold`, or a `ConnectionManifold`, for instance. In that case, the wrong `translate_diff` methods are called.
A vanilla group has no adjoint_action defined
`translate_diff` is now always computed from adjoint_action instead
adjoint action was previously not available since not all translate_diff methods were implemented
implement for LeftAction direction, the other direction is automatic
this ensures that all group methods are now defined
This is the `exp` and `log` associated to any of the Cartan–Schouten connections. It uses the left-invariant storage of tangent vectors and the specific exp_lie/log_lie implementations.
These implementations are the one from *group product*, so they are not invariant with respect to the semidirect product. One could put them back in the product_group layer instead. The proper way to invoke them is then `exp(base_manifold(G), ...)` instead of `exp(G, ...)`. Until this is fixed, `exp` now uses more allocations, even when calling it with `base_manifold`.
The failing tests come from using matrices instead of `ArrayPartition`. Using the `ArrayPartition` type (the one returned by `identity_element`) works normally.
The invariant log fails when points are too far apart.
more adjoint action methods for CircleGroup
- at Identity - remove some unused adjoint_action! implementations
…ds.jl into mbaran/lightfolds
Member
Author
|
I think this is more or less ready for review now. I don't see any more breaking changes worth making. |
kellertuer
reviewed
Aug 21, 2024
Member
kellertuer
left a comment
There was a problem hiding this comment.
Here are a few comments, mainly on the tutorial. Am I right that this is based on another PR this would close as well then?
Member
Author
The first part of the tutorial is copied from #355 with minor editing so we can close that PR after this is merged. |
kellertuer
approved these changes
Aug 22, 2024
Member
kellertuer
left a comment
There was a problem hiding this comment.
(Approved of course besides a bump in the version that is missing ;) )
This was referenced Aug 24, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
List of changes:
translate_diffandinv_difffor all groups (#679) #683 into here and finish it.With these weak dependencies, load time of Manifolds.jl is reduced to 0.72 s on my PC. To go lower we'd have to turn both Graphs.jl and StaticArrays.jl into weak dependencies but that seems to be too much work for too little gain, and basically everything else either has marginal impact on load time or is indispensable.