Skip to content

Commit

Permalink
Fix most of the docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
kellertuer committed Dec 25, 2023
1 parent deede80 commit 70f37a0
Show file tree
Hide file tree
Showing 23 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ CondaPkg = "0.2"
DiffEqCallbacks = "2"
Distributions = "0.22.6, 0.23, 0.24, 0.25"
Documenter = "1"
DocumenterCitations = "1.2.1"
DocumenterCitations = "1.3"
FiniteDifferences = "0.12"
Graphs = "1.4"
HybridArrays = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion docs/src/features/statistics.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ Order = [:type, :function]
## Literature

```@bibliography
Pages = ["features/statistics.md"]
Pages = ["statistics.md"]
Canonical=false
```
2 changes: 1 addition & 1 deletion docs/src/manifolds/fixedrankmatrices.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ Order = [:type, :function]
## Literature

```@bibliography
Pages = ["manifolds/fixedrankmatrices.md"]
Pages = ["fixedrankmatrices.md"]
Canonical=false
```
4 changes: 2 additions & 2 deletions docs/src/manifolds/grassmann.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Order = [:type,:function]

```@autodocs
Modules = [Manifolds]
Pages = ["manifolds/GrassmannStiefel.jl"]
Pages = ["GrassmannStiefel.jl"]
Order = [:type,:function]
```

Expand All @@ -26,6 +26,6 @@ Order = [:type,:function]
## Literature

```@bibliography
Pages = ["manifolds/grassmann.md"]
Pages = ["grassmann.md"]
Canonical=false
```
2 changes: 1 addition & 1 deletion docs/src/manifolds/hyperbolic.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,6 @@ plot!(scene, M, [pts[2], origin], geodesic_interpolation=100)
## Literature

```@bibliography
Pages = ["manifolds/hyperbolic.md"]
Pages = ["hyperbolic.md"]
Canonical=false
```
2 changes: 1 addition & 1 deletion docs/src/manifolds/probabilitysimplex.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ Public=false
## Literature

```@bibliography
Pages = ["manifolds/probabilitysimplex.md"]
Pages = ["probabilitysimplex.md"]
Canonical=false
```
2 changes: 1 addition & 1 deletion docs/src/manifolds/rotations.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ Order = [:type, :function]
## Literature

```@bibliography
Pages = ["manifolds/rotations.md"]
Pages = ["rotations.md"]
Canonical=false
```
2 changes: 1 addition & 1 deletion docs/src/manifolds/sphere.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ plot!(scene, M, pts2, vecs; wireframe = false, linewidth=1.5)
## Literature

```@bibliography
Pages = ["manifolds/sphere.md"]
Pages = ["sphere.md"]
Canonical=false
```
2 changes: 1 addition & 1 deletion docs/src/manifolds/stiefel.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ Private = true
## Literature

```@bibliography
Pages = ["manifolds/stiefel.md"]
Pages = ["stiefel.md"]
Canonical=false
```
2 changes: 1 addition & 1 deletion docs/src/manifolds/symplectic.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ Order = [:type, :function]
## Literature

```@bibliography
Pages = ["manifolds/symplectic.md"]
Pages = ["symplectic.md"]
Canonical=false
```
2 changes: 1 addition & 1 deletion docs/src/manifolds/symplecticstiefel.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ Order = [:type, :function]
## Literature

```@bibliography
Pages = ["manifolds/symplecticstiefel.md"]
Pages = ["symplecticstiefel.md"]
Canonical=false
```
8 changes: 4 additions & 4 deletions docs/src/references.bib
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
@book{AbsilMahonySepulchre:2008,
AUTHOR = {Absil, P.-A. and Mahony, R. and Sepulchre, R.},
DOI = {10.1515/9781400830244},
NOTE = {available online at [press.princeton.edu/chapters/absil/](http://press.princeton.edu/chapters/absil/)},
NOTE = {available online at \href{http://press.princeton.edu/chapters/absil/}{press.princeton.edu/chapters/absil/}},
PUBLISHER = {Princeton University Press},
TITLE = {Optimization Algorithms on Matrix Manifolds},
YEAR = {2008},
Expand Down Expand Up @@ -108,7 +108,6 @@ @article{Bacak:2014
EPRINT = {1210.2145},
EPRINTTYPE = {arXiv},
JOURNAL = {SIAM Journal on Optimization},
NOTE = {arXiv: [1210.2145](https://arxiv.org/abs/1210.2145)},
NUMBER = {3},
PAGES = {1542--1566},
TITLE = {Computing medians and means in Hadamard spaces},
Expand All @@ -117,9 +116,10 @@ @article{Bacak:2014
}
@article{BendokatZimmermann:2021,
AUTHOR = {Bendokat, Thomas and Zimmermann, Ralf},
EPRINT = {2108.12447},
EPRINTTYPE = {arXiv},
Journal = {arXiv Preprint, 2108.12447},
TITLE = {The real symplectic Stiefel and Grassmann manifolds: metrics, geodesics and applications},
URL = {https://arxiv.org/abs/2108.12447},
YEAR = {2021}
}
@article{BendokatZimmermannAbsil:2020,
Expand Down Expand Up @@ -588,7 +588,7 @@ @article{MassartAbsil:2020
DOI = {10.1137/18m1231389},
YEAR = {2020},
VOLUME = {41},
NOTE = {Preprint: [sites.uclouvain.be/absil/2018.06](https://sites.uclouvain.be/absil/2018.06)},
NOTE = {Preprint: \href{https://sites.uclouvain.be/absil/2018.06}{sites.uclouvain.be/absil/2018.06}},
NUMBER = {1},
PAGES = {171--198},
AUTHOR = {Estelle Massart and P.-A. Absil},
Expand Down
2 changes: 1 addition & 1 deletion src/manifolds/GeneralUnitaryMatrices.jl
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ end
)
Compute the Riemannian [`mean`](@ref mean(M::AbstractManifold, args...)) of `x` using
[`GeodesicInterpolationWithinRadius`](@ref).
[`GeodesicInterpolationWithinRadius`](https://juliamanifolds.github.io/ManifoldsBase.jl/stable/functions/#ManifoldsBase.GeodesicInterpolationWithinRadius).
"""
mean(::GeneralUnitaryMatrices{<:Any,ℝ}, ::Any)

Expand Down
2 changes: 1 addition & 1 deletion src/manifolds/GeneralizedGrassmann.jl
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ end
)
Compute the Riemannian [`mean`](@ref mean(M::AbstractManifold, args...)) of `x` using
[`GeodesicInterpolationWithinRadius`](@ref).
[`GeodesicInterpolationWithinRadius`](https://juliamanifolds.github.io/ManifoldsBase.jl/stable/functions/#ManifoldsBase.GeodesicInterpolationWithinRadius).
"""
mean(::GeneralizedGrassmann, ::Any...)

Expand Down
2 changes: 1 addition & 1 deletion src/manifolds/Grassmann.jl
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ end
)
Compute the Riemannian [`mean`](@ref mean(M::AbstractManifold, args...)) of `x` using
[`GeodesicInterpolationWithinRadius`](@ref).
[`GeodesicInterpolationWithinRadius`](https://juliamanifolds.github.io/ManifoldsBase.jl/stable/functions/#ManifoldsBase.GeodesicInterpolationWithinRadius).
"""
mean(::Grassmann, ::Any...)

Expand Down
2 changes: 1 addition & 1 deletion src/manifolds/Hyperbolic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ manifold_volume(::Hyperbolic) = Inf
)
Compute the Riemannian [`mean`](@ref mean(M::AbstractManifold, args...)) of `x` on the
[`Hyperbolic`](@ref) space using [`CyclicProximalPointEstimation`](@ref).
[`Hyperbolic`](@ref) space using [`CyclicProximalPointEstimation`](https://juliamanifolds.github.io/ManifoldsBase.jl/stable/functions/#ManifoldsBase.CyclicProximalPointEstimation).
"""
mean(::Hyperbolic, ::Any...)

Expand Down
2 changes: 1 addition & 1 deletion src/manifolds/ProbabilitySimplex.jl
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ end
)
Compute the Riemannian [`mean`](@ref mean(M::AbstractManifold, args...)) of `x` using
[`GeodesicInterpolation`](@ref).
[`GeodesicInterpolation`](https://juliamanifolds.github.io/ManifoldsBase.jl/stable/functions/#ManifoldsBase.GeodesicInterpolation).
"""
mean(::ProbabilitySimplex, ::Any...)

Expand Down
2 changes: 1 addition & 1 deletion src/manifolds/ProjectiveSpace.jl
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ end
)
Compute the Riemannian [`mean`](@ref mean(M::AbstractManifold, args...)) of points in vector `x`
using [`GeodesicInterpolationWithinRadius`](@ref).
using [`GeodesicInterpolationWithinRadius`](https://juliamanifolds.github.io/ManifoldsBase.jl/stable/functions/#ManifoldsBase.GeodesicInterpolationWithinRadius).
"""
mean(::AbstractProjectiveSpace, ::Any...)

Expand Down
2 changes: 1 addition & 1 deletion src/manifolds/Sphere.jl
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ end
)
Compute the Riemannian [`mean`](@ref mean(M::AbstractManifold, args...)) of `x` using
[`GeodesicInterpolationWithinRadius`](@ref).
[`GeodesicInterpolationWithinRadius`](https://juliamanifolds.github.io/ManifoldsBase.jl/stable/functions/#ManifoldsBase.GeodesicInterpolationWithinRadius).
"""
mean(::AbstractSphere, ::Any...)

Expand Down
2 changes: 1 addition & 1 deletion src/manifolds/SymmetricPositiveDefinite.jl
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ end
)
Compute the Riemannian [`mean`](@ref mean(M::AbstractManifold, args...)) of `x` using
[`GeodesicInterpolation`](@ref).
[`GeodesicInterpolation`](https://juliamanifolds.github.io/ManifoldsBase.jl/stable/functions/#ManifoldsBase.GeodesicInterpolation).
"""
mean(::SymmetricPositiveDefinite, ::Any)

Expand Down
22 changes: 11 additions & 11 deletions src/statistics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ as the point that satisfies the minimizer
````
where $\mathrm{d}_{\mathcal M}$ denotes the Riemannian [`distance`](@ref).
In the general case, the [`GradientDescentEstimation`](@ref) is used to compute the mean.
In the general case, the [`GradientDescentEstimation`](https://juliamanifolds.github.io/ManifoldsBase.jl/stable/functions/#ManifoldsBase.GradientDescentEstimation) is used to compute the mean.
mean(
M::AbstractManifold,
x::AbstractVector,
Expand All @@ -110,7 +110,7 @@ Compute the mean using the specified `method`.
kwargs...,
)
Compute the mean using the gradient descent scheme [`GradientDescentEstimation`](@ref).
Compute the mean using the gradient descent scheme [`GradientDescentEstimation`](https://juliamanifolds.github.io/ManifoldsBase.jl/stable/functions/#ManifoldsBase.GradientDescentEstimation).
Optionally, provide `p0`, the starting point (by default set to the first data
point). `stop_iter` denotes the maximal number of iterations to perform and the
Expand Down Expand Up @@ -243,7 +243,7 @@ end
Estimate the Riemannian center of mass of `x` in an online fashion using
repeated weighted geodesic interpolation. See
[`GeodesicInterpolation`](@ref) for details.
[`GeodesicInterpolation`](https://juliamanifolds.github.io/ManifoldsBase.jl/stable/functions/#ManifoldsBase.GeodesicInterpolation) for details.
If `shuffle_rng` is provided, it is used to shuffle the order in which the
points are considered for computing the mean.
Expand Down Expand Up @@ -305,7 +305,7 @@ end
)
Estimate the Riemannian center of mass of `x` using
[`GeodesicInterpolationWithinRadius`](@ref).
[`GeodesicInterpolationWithinRadius`](https://juliamanifolds.github.io/ManifoldsBase.jl/stable/functions/#ManifoldsBase.GeodesicInterpolationWithinRadius).
See [`mean`](@ref mean(::AbstractManifold, ::AbstractVector, ::AbstractVector, ::GeodesicInterpolation))
for a description of `kwargs`.
Expand Down Expand Up @@ -388,7 +388,7 @@ end
)
Estimate the Riemannian center of mass of `x` using
[`ExtrinsicEstimation`](@ref), i.e. by computing the mean in the embedding and projecting
[`ExtrinsicEstimation`](https://juliamanifolds.github.io/ManifoldsBase.jl/stable/functions/#ManifoldsBase.ExtrinsicEstimation), i.e. by computing the mean in the embedding and projecting
the result back.
See [`mean`](@ref mean(::AbstractManifold, ::AbstractVector, ::AbstractVector, ::GeodesicInterpolation))
Expand Down Expand Up @@ -448,7 +448,7 @@ Compute the (optionally weighted) Riemannian median of the vector `x` of points
where $\mathrm{d}_{\mathcal M}$ denotes the Riemannian [`distance`](@ref).
This function is nonsmooth (i.e nondifferentiable).
In the general case, the [`CyclicProximalPointEstimation`](@ref) is used to compute the
In the general case, the [`CyclicProximalPointEstimation`](https://juliamanifolds.github.io/ManifoldsBase.jl/stable/functions/#ManifoldsBase.CyclicProximalPointEstimation) is used to compute the
median. However, this default may be overloaded for specific manifolds.
Compute the median using the specified `method`.
Expand Down Expand Up @@ -479,7 +479,7 @@ end
kwargs...,
)
Compute the median using [`CyclicProximalPointEstimation`](@ref).
Compute the median using [`CyclicProximalPointEstimation`](https://juliamanifolds.github.io/ManifoldsBase.jl/stable/functions/#ManifoldsBase.CyclicProximalPointEstimation).
Optionally, provide `p0`, the starting point (by default set to the first
data point). `stop_iter` denotes the maximal number of iterations to perform
Expand Down Expand Up @@ -510,7 +510,7 @@ Statistics.median(
kwargs...,
)
Estimate the median of `x` using [`ExtrinsicEstimation`](@ref), i.e. by computing the median
Estimate the median of `x` using [`ExtrinsicEstimation`](https://juliamanifolds.github.io/ManifoldsBase.jl/stable/functions/#ManifoldsBase.ExtrinsicEstimation), i.e. by computing the median
in the embedding and projecting the result back.
See [`median`](@ref median(::AbstractManifold, ::AbstractVector, ::AbstractVector, ::CyclicProximalPointEstimation))
Expand All @@ -537,7 +537,7 @@ Statistics.median(
kwargs...,
)
Compute the median using [`WeiszfeldEstimation`](@ref).
Compute the median using [`WeiszfeldEstimation`](https://juliamanifolds.github.io/ManifoldsBase.jl/stable/functions/#ManifoldsBase.WeiszfeldEstimation).
Optionally, provide `p0`, the starting point (by default set to the first
data point). `stop_iter` denotes the maximal number of iterations to perform
Expand Down Expand Up @@ -888,7 +888,7 @@ If `shuffle_rng` is provided, it is used to shuffle the order in which the
points are considered. Optionally, pass `retraction` and `inverse_retraction`
method types to specify the (inverse) retraction.
See [`GeodesicInterpolation`](@ref) for details on the geodesic
See [`GeodesicInterpolation`](https://juliamanifolds.github.io/ManifoldsBase.jl/stable/functions/#ManifoldsBase.GeodesicInterpolation) for details on the geodesic
interpolation method.
!!! note
Expand Down Expand Up @@ -954,7 +954,7 @@ end
Use repeated weighted geodesic interpolation to estimate the mean.
Simultaneously, use a Welford-like recursion to estimate the variance.
See [`GeodesicInterpolationWithinRadius`](@ref) and
See [`GeodesicInterpolationWithinRadius`](https://juliamanifolds.github.io/ManifoldsBase.jl/stable/functions/#ManifoldsBase.GeodesicInterpolationWithinRadius) and
[`mean_and_var`](@ref mean_and_var(::AbstractManifold, ::AbstractVector, ::AbstractWeights, ::GeodesicInterpolation))
for more information.
"""
Expand Down
2 changes: 1 addition & 1 deletion tutorials/getstarted.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ Again, for all of these, the concrete types only have to be used if you want to

````{=commonmark}
```@bibliography
Pages = ["tutorials/getstarted.md"]
Pages = ["getstarted.md"]
Canonical=false
```
````
2 changes: 1 addition & 1 deletion tutorials/integration.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,6 @@ See [BoyaSudarshanTilma:2003](@cite) for some considerations on symmetric spaces
## Literature

```@bibliography
Pages = ["tutorials/integration.md"]
Pages = ["integration.md"]
Canonical=false
```

0 comments on commit 70f37a0

Please sign in to comment.