-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adapt Tutorial to ManifoldsBase 1.0 (#222)
* fix tutorial
- Loading branch information
1 parent
a3e8f42
commit 0debf3e
Showing
2 changed files
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
0debf3e
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.
@JuliaRegistrator register
Release notes:
Changed
LieGroups.jl
,the “fusing” variant
exp(M, p, X, t)
has been moved to its own nameexp_fused(M, p, X, t)
and similarly
exp!(M, q, p, X, t)
has been moved to its own nameexp_fused!(M, q, p, X, t)
.Note that the new
exp_fused!
method is not exported and by default falls back to callingexp!
witht*X
.Actions to take
exp(M, p, X)
orexp!(M, q, p, X)
everything works as before.exp!(M, q, p, X, t)
you have to adapt two thingsManifoldsBase.exp_fused!(M, q, p, X, t)
exp!(M, q, p, X) = ManifoldBase.exp_fused!(M, q, p, one(eltype(p)), X)
,or an own specific implementation for the non-fused variant.
exp
, the “fusing” variantretract(M, p, X, t, m)
has been moved toits own name
retract_fused(M, p, X, t, m)
and similarlyretract!(M, q, p, X, t, m)
has been moved to its own name
retract_fused!(M, q, p, X, t, m)
.Note that the new
retract_fused!
method is not exported and by default falls back to callingretract!
witht*X
.Actions to take
retract(M, p, X, m)
orretract!(M, q, p, X, m)
everything works as before.retract!(M, q, p, X, t)
you have to adapt two thingsManifoldsBase.retract_fused!(M, q, p, X, t, m)
retract!(M, q, p, X, m) = ManifoldBase.retract_fused!(M, q, p, one(eltype(p)), X)
, or an own specific implementation for the non-fused variant.TVector
type has been renamed toAbstractTangentVector
CoTVector
type has been renamed toAbstractCotangentVector
Removed
parallel_transport_along(M, p, X, c)
,vector_transport_along(M, p, X, c, m)
as well astheir mutating variants are removed from the API for now.
It was never specified how to actually specify a curve
c
and the method was onlyimplemented for
Euclidean
inManifolds.jl
, where it is the identity.0debf3e
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.
Registration pull request created: JuliaRegistries/General/124360
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
0debf3e
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.
@JuliaRegistrator register
Release notes:
Changed
We implemented the following breaking changes.
LieGroups.jl
,the “fusing” variant
exp(M, p, X, t)
has been moved to its own nameexp_fused(M, p, X, t)
and similarly
exp!(M, q, p, X, t)
has been moved to its own nameexp_fused!(M, q, p, X, t)
.Note that the new
exp_fused!
method is not exported and by default falls back to callingexp!
witht*X
.Actions to take
exp(M, p, X)
orexp!(M, q, p, X)
everything works as before.exp!(M, q, p, X, t)
you have to adapt two thingsManifoldsBase.exp_fused!(M, q, p, X, t)
exp!(M, q, p, X) = ManifoldBase.exp_fused!(M, q, p, one(eltype(p)), X)
,or an own specific implementation for the non-fused variant.
exp
, the “fusing” variantretract(M, p, X, t, m)
has been moved toits own name
retract_fused(M, p, X, t, m)
and similarlyretract!(M, q, p, X, t, m)
has been moved to its own name
retract_fused!(M, q, p, X, t, m)
.Note that the new
retract_fused!
method is not exported and by default falls back to callingretract!
witht*X
.Actions to take
retract(M, p, X, m)
orretract!(M, q, p, X, m)
everything works as before.retract!(M, q, p, X, t)
you have to adapt two thingsManifoldsBase.retract_fused!(M, q, p, X, t, m)
retract!(M, q, p, X, m) = ManifoldBase.retract_fused!(M, q, p, one(eltype(p)), X)
, or an own specific implementation for the non-fused variant.TVector
type has been renamed toAbstractTangentVector
CoTVector
type has been renamed toAbstractCotangentVector
Removed
parallel_transport_along(M, p, X, c)
,vector_transport_along(M, p, X, c, m)
as well astheir mutating variants are removed from the API for now.
It was never specified how to actually specify a curve
c
and the method was onlyimplemented for
Euclidean
inManifolds.jl
, where it is the identity.0debf3e
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.
Registration pull request updated: JuliaRegistries/General/124360
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
0debf3e
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.
@JuliaRegistrator register
Release notes:
Changed
We implemented the following breaking changes.
LieGroups.jl
,the “fusing” variant
exp(M, p, X, t)
has been moved to its own nameexp_fused(M, p, X, t)
and similarly
exp!(M, q, p, X, t)
has been moved to its own nameexp_fused!(M, q, p, X, t)
.Note that the new
exp_fused!
method is not exported and by default falls back to callingexp!
witht*X
.Actions to take
exp(M, p, X)
orexp!(M, q, p, X)
everything works as before.exp!(M, q, p, X, t)
you have to adapt two thingsManifoldsBase.exp_fused!(M, q, p, X, t)
exp!(M, q, p, X) = ManifoldBase.exp_fused!(M, q, p, one(eltype(p)), X)
,or an own specific implementation for the non-fused variant.
exp
, the “fusing” variantretract(M, p, X, t, m)
has been moved toits own name
retract_fused(M, p, X, t, m)
and similarlyretract!(M, q, p, X, t, m)
has been moved to its own name
retract_fused!(M, q, p, X, t, m)
.Note that the new
retract_fused!
method is not exported and by default falls back to callingretract!
witht*X
.Actions to take
retract(M, p, X, m)
orretract!(M, q, p, X, m)
everything works as before.retract!(M, q, p, X, t)
you have to adapt two thingsManifoldsBase.retract_fused!(M, q, p, X, t, m)
retract!(M, q, p, X, m) = ManifoldBase.retract_fused!(M, q, p, one(eltype(p)), X)
, or an own specific implementation for the non-fused variant.TVector
type has been renamed toAbstractTangentVector
CoTVector
type has been renamed toAbstractCotangentVector
Removed
parallel_transport_along(M, p, X, c)
,vector_transport_along(M, p, X, c, m)
as well astheir mutating variants are removed from the API for now.
It was never specified how to actually specify a curve
c
and the method was onlyimplemented for
Euclidean
inManifolds.jl
, where it is the identity.0debf3e
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.
Registration pull request updated: JuliaRegistries/General/124360
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
0debf3e
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.
(the first one did not contain any of the necessary magic words, the second contained a typo. – We'll see how many of these we need then)