Skip to content

Commit

Permalink
Rephrase docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
kellertuer committed Oct 19, 2024
1 parent 47ad4d3 commit aed8ed4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/PowerManifold.jl
Original file line number Diff line number Diff line change
Expand Up @@ -536,11 +536,13 @@ _doc_distance_pow = """
Compute the distance between `q` and `p` on an [`AbstractPowerManifold`](@ref).
First, the componentwise distances are computed. These can be approximated using the
First, the componentwise distances are computed using the Riemannian distance function
on `M.manifold`. These can be approximated using the
`norm` of an [`AbstractInverseRetractionMethod`](@ref) `m`.
Then, the `r`-norm of these elements is computed.
This yields an array of distance values.
Note that the `r` argument is *not* passed recursively to components when the distance is computed.
Second, we compute the `r`-norm on this array of distances.
This is also the only place, there the `r` is used.
"""

function distance(M::AbstractPowerManifold, p, q)
Expand Down

0 comments on commit aed8ed4

Please sign in to comment.