Skip to content

Commit a55b6ff

Browse files
committed
Fix more typos.
1 parent 1a581dc commit a55b6ff

39 files changed

Lines changed: 73 additions & 770 deletions

Changelog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2121
* Removed `atol` from `DebugFeasibility` and instead use the one newly added `atol` from the `ConstrainedManifoldObjective`. (#546)
2222
* Move from CompatHelper to dependabot to keep track of dependency updates in Julia packages. (#547)
2323
* moved the `ManoptTestSuite` module to a sub module `Manopt.Test` within `Manopt.jl`,
24-
so it can be easier resused by others as well (#550)
24+
so it can be easier reused by others as well (#550)
2525
* moved to using a `Project.toml` for tests and an overall `[Workspace]`.
2626
This also allows finally to run single test files without installing all packages manually, but instead just switching to and instantiating the test environment. (#550)
2727
* for compatibility, state also `[source]` entries consistently in the sub `Project.toml` files. (#550)
@@ -246,7 +246,7 @@ present; they were changed to `retact_fused!`.
246246
* A scaling error that appeared only when calling `get_cost_function` on the new `ScaledManifoldObjective`.
247247
* Documentation issues for quasi-Newton solvers.
248248
* fixes a scaling error in quasi newton
249-
* Fixes printing of JuMP models containg Manopt solver.
249+
* Fixes printing of JuMP models containing Manopt solver.
250250

251251
## [0.5.12] April 13, 2025
252252

_typos.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
11
[default.extend-words]
2-
# <typo> = "<correction>"
2+
# <typo> = "<correction>"
3+
4+
[files]
5+
extend-exclude = [
6+
"tutorials/*.html",
7+
"docs/src/tutorials/*.md", # rendered from tutorials/*.qmd -Z we do not want typos twice
8+
"joss/paper.md",
9+
]

docs/src/plans/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The following symbols are used.
4141
| `:TrustRegionRadius` | [`TrustRegionsState`](@ref) | the trust region radius, equivalent to `` |
4242
| ``, `:u` | [`ExactPenaltyCost`](@ref), [`ExactPenaltyGrad`](@ref) | Parameters within the exact penalty objective |
4343
| ``, ``, `` | [`AugmentedLagrangianCost`](@ref), [`AugmentedLagrangianGrad`](@ref) | Parameters of the Lagrangian function |
44-
| `:p`, `:X` | [`LinearizedDCCost`](@ref), [`LinearizedDCGrad`](@ref) | Parameters withing the linearized functional used for the sub problem of the [difference of convex algorithm](@ref solver-difference-of-convex) |
44+
| `:p`, `:X` | [`LinearizedDCCost`](@ref), [`LinearizedDCGrad`](@ref) | Parameters within the linearized functional used for the sub problem of the [difference of convex algorithm](@ref solver-difference-of-convex) |
4545

4646
Any other lower case name or letter as well as single upper case letters access fields of the corresponding first argument.
4747
for example `:p` could be used to access the field `s.p` of a state.

docs/src/plans/stepsize.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ ArmijoInitialGuess
4141
HagerZhangInitialGuess
4242
```
4343

44-
Onw implementations can also (just) be functions.
44+
Own implementations can also (just) be functions.
4545

4646
Some step sizes use [`max_stepsize`](@ref) function as a rough upper estimate for the trust region size.
4747
It is by default equal to injectivity radius of the exponential map but in some cases a different value is used.

docs/src/references.bib

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ @article{DoddSharrockNemeth:2024
365365
@techreport{Dreisigmeyer:2007,
366366
AUTHOR = {Dreisigmeyer, David W.},
367367
INSTITUTION = {Optimization Online},
368-
TITLE = {Direct Search Alogirthms over Riemannian Manifolds},
368+
TITLE = {Direct Search Algorithms over Riemannian Manifolds},
369369
URL = {https://optimization-online.org/?p=9134},
370370
YEAR = {2007}
371371
}
@@ -807,7 +807,7 @@ @article{SouzaOliveira:2015
807807
PAGES = {797--810},
808808
PUBLISHER = {Springer Science and Business Media LLC},
809809
VOLUME = {63},
810-
TITLE = {A proximal point algorithm for DC fuctions on Hadamard manifolds},
810+
TITLE = {A proximal point algorithm for DC functions on Hadamard manifolds},
811811
YEAR = {2015},
812812
}
813813
% --- T

joss/bibliography.bib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ @booklet{Boumal:2020:1
4747
TITLE = {An Introduction to Optimization on Smooth Manifolds}
4848
}
4949

50-
@inproceedings{GousenbourgerMassartMusolasAbsilJaquesHendrickxMarzouk:2017,
50+
@inproceedings{GousenbourgerMassartMusolasAbsilJacquesHendrickxMarzouk:2017,
5151
AUTHOR = {Gousenbourger, Pierre-Yves and Massart, Estelle and Musolas, Antoni and Absil, P.-A. and Jacques, Laurent and Hendrickx, Julien M and Marzouk, Youssef},
5252
BOOKTITLE = {ESANN2017},
5353
PAGES = {305--310},

joss/paper.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Based on a generic optimization framework, together with the interface [`Manifol
2525
# Statement of Need
2626

2727
In many applications and optimization tasks, non-linear data appears naturally.
28-
For example, when data on the sphere is measured [@GousenbourgerMassartMusolasAbsilJaquesHendrickxMarzouk:2017], diffusion data can be captured as a signal or even multivariate data of symmetric positive definite matrices [@ValkonenBrediesKnoll2013], and orientations like they appear for electron backscattered diffraction (EBSD) data [@BachmannHielscherSchaeben2011]. Another example are fixed rank matrices, appearing in matrix completion [@Vandereycken:2013:1].
28+
For example, when data on the sphere is measured [@GousenbourgerMassartMusolasAbsilJacquesHendrickxMarzouk:2017], diffusion data can be captured as a signal or even multivariate data of symmetric positive definite matrices [@ValkonenBrediesKnoll2013], and orientations like they appear for electron backscattered diffraction (EBSD) data [@BachmannHielscherSchaeben2011]. Another example are fixed rank matrices, appearing in matrix completion [@Vandereycken:2013:1].
2929
Working on these data, for example doing data interpolation and approximation [@BergmannGousenbourger:2018:2], denoising [@LellmannStrekalovskiyKoetterCremers:2013:1; @BergmannFitschenPerschSteidl:2018], inpainting [@BergmannChanHielscherPerschSteidl:2016], or performing matrix completion [@GaoAbsil:2021], can usually be phrased as an optimization problem
3030

3131
$$ \text{Minimize}\quad f(x) \quad \text{where } x\in\mathcal M, $$
@@ -82,7 +82,7 @@ In the current version 0.3.17 of `Manopt.jl` the following algorithms are availa
8282
Given the [`Sphere`](https://juliamanifolds.github.io/Manifolds.jl/v0.7/manifolds/sphere.html) from `Manifolds.jl` and a set of unit vectors $p_1,...,p_N\in\mathbb R^3$, where $N$ is the number of data points,
8383
we can compute the generalization of the mean, called the Riemannian Center of Mass [@Karcher:1977:1], defined as the minimizer of the squared distances to the given data – a property that the mean in vector spaces fulfills:
8484

85-
$$ \operatorname*{arg\,min}_{x\in\mathcal M}\quad \displaystyle\sum_{k=1}^Nd_{\mathcal M}(x, p_k)^2, $$
85+
$$ \operatorname*{arg\,min}_{x\in\mathcal M}\quad \displaystyle\sum_{k=1}^N d_{\mathcal M}(x, p_k)^2, $$
8686

8787
where $d_{\mathcal M}$ denotes the length of a shortest geodesic connecting the points specified by its two arguments;
8888
this is called the Riemannian distance. For the sphere this [`distance`](https://juliamanifolds.github.io/Manifolds.jl/v0.7/manifolds/sphere.html#ManifoldsBase.distance-Tuple{AbstractSphere,%20Any,%20Any}) is given by the length of the shorter great arc connecting the two points.

src/documentation_glossary.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#
1212
# to keep naming, notation, and formatting
1313

14-
# In general every dictionary here can be either :Symbol-> String or :Symbol -> Dictionary enrties
14+
# In general every dictionary here can be either :Symbol-> String or :Symbol -> Dictionary entries
1515

1616
_MANOPT_DOC_TYPE = Dict{Symbol, Union{String, Dict, Function}}
1717

@@ -130,7 +130,7 @@ _tex(args...; kwargs...) = glossary(:LaTeX, args...; kwargs...)
130130
define!(:Math, :distance, raw"\mathrm{d}")
131131
define!(:Math, :M, (; M = "M") -> _math(:Manifold, :symbol; M = M))
132132
define!(:Math, :Manifold, :symbol, (; M = "M") -> _tex(:Cal, M))
133-
define!(:Math, :Manifold, :descrption, "the Riemannian manifold")
133+
define!(:Math, :Manifold, :description, "the Riemannian manifold")
134134
define!(:Math, :M, (; M = "M") -> _math(:Manifold, :symbol; M = M))
135135
define!(:Math, :Iterate, (; p = "p", k = "k") -> "$(p)^{($(k))}")
136136
define!(

src/plans/bundle_plan.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Common files for bunlde-based solvers
2+
# Common files for bundle-based solvers
33
#
44

55
function convex_bundle_method_subsolver end

src/plans/conjugate_gradient_plan.jl

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ function get_gradient(cgs::ConjugateGradientDescentState)
164164
return cgs.X
165165
end
166166

167-
_doc_CG_notaion = """
167+
_doc_CG_notation = """
168168
Denote the last iterate and gradient by ``p_k,X_k``,
169169
the current iterate and gradient by ``p_{k+1}, X_{k+1}``, respectively,
170170
as well as the last update direction by ``δ_k``.
@@ -195,7 +195,7 @@ struct ConjugateDescentCoefficientRule <: DirectionUpdateRule end
195195
196196
Compute the (classical) conjugate gradient coefficient based on [Fletcher:1987](@cite) adapted to manifolds
197197
198-
$(_doc_CG_notaion)
198+
$(_doc_CG_notation)
199199
200200
Then the coefficient reads
201201
```math
@@ -315,7 +315,7 @@ end
315315
Computes an update coefficient for the [`conjugate_gradient_descent`](@ref) algorithm based on [DaiYuan:1999](@cite) adapted to
316316
Riemannian manifolds.
317317
318-
$(_doc_CG_notaion)
318+
$(_doc_CG_notation)
319319
Let ``ν_k = X_{k+1} - $(_math(:vector_transport, :symbol, "p_{k+1}", "p_k"))X_k``,
320320
where ``$(_math(:vector_transport, :symbol))`` denotes a vector transport.
321321
@@ -394,7 +394,7 @@ end
394394
395395
Computes an update coefficient for the [`conjugate_gradient_descent`](@ref) algorithm based on [FletcherReeves:1964](@cite) adapted to manifolds
396396
397-
$(_doc_CG_notaion)
397+
$(_doc_CG_notation)
398398
399399
Then the coefficient reads
400400
```math
@@ -493,7 +493,7 @@ end
493493
494494
Computes an update coefficient for the [`conjugate_gradient_descent`](@ref) algorithm based on [FletcherReeves:1964](@cite) adapted to manifolds
495495
496-
$(_doc_CG_notaion)
496+
$(_doc_CG_notation)
497497
Let ``ν_k = X_{k+1} - $(_math(:vector_transport, :symbol, "p_{k+1}", "p_k"))X_k``,
498498
where ``$(_math(:vector_transport, :symbol))`` denotes a vector transport.
499499
@@ -602,7 +602,7 @@ end
602602
Computes an update coefficient for the [`conjugate_gradient_descent`](@ref) algorithm based on [HestenesStiefel:1952](@cite) adapted to manifolds
603603
604604
605-
$(_doc_CG_notaion)
605+
$(_doc_CG_notation)
606606
Let ``ν_k = X_{k+1} - $(_math(:vector_transport, :symbol, "p_{k+1}", "p_k"))X_k``,
607607
where ``$(_math(:vector_transport, :symbol))`` denotes a vector transport.
608608
@@ -722,7 +722,7 @@ end
722722
723723
Computes an update coefficient for the [`conjugate_gradient_descent`](@ref) algorithm based on [LiuStorey:1991](@cite) adapted to manifolds
724724
725-
$(_doc_CG_notaion)
725+
$(_doc_CG_notation)
726726
Let ``ν_k = X_{k+1} - $(_math(:vector_transport, :symbol, "p_{k+1}", "p_k"))X_k``,
727727
where ``$(_math(:vector_transport, :symbol))`` denotes a vector transport.
728728
@@ -819,7 +819,7 @@ end
819819
Computes an update coefficient for the [`conjugate_gradient_descent`](@ref) algorithm based
820820
on [PolakRibiere:1969](@cite) adapted to Riemannian manifolds.
821821
822-
$(_doc_CG_notaion)
822+
$(_doc_CG_notation)
823823
Let ``ν_k = X_{k+1} - $(_math(:vector_transport, :symbol, "p_{k+1}", "p_k"))X_k``,
824824
where ``$(_math(:vector_transport, :symbol))`` denotes a vector transport.
825825
@@ -1002,7 +1002,7 @@ nearly orthogonal. See [HagerZhang:2006:1; page 12](@cite) (in the preprint, pag
10021002
This method is named after E. Beale from his proceedings paper in 1972 [Beale:1972](@cite).
10031003
This method acts as a _decorator_ to any existing [`DirectionUpdateRule`](@ref) `direction_update`.
10041004
1005-
$(_doc_CG_notaion)
1005+
$(_doc_CG_notation)
10061006
10071007
Then a restart is performed, hence ``β_k = 0`` returned if
10081008

0 commit comments

Comments
 (0)