Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit 08089e8

Browse files
authored
Merge pull request #119 from SciML/ap/doc_fixes
Clean up some of the docs
2 parents 0b25978 + cdf653a commit 08089e8

File tree

5 files changed

+10
-28
lines changed

5 files changed

+10
-28
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "SimpleNonlinearSolve"
22
uuid = "727e6d20-b764-4bd8-a329-72de5adea6c7"
33
authors = ["SciML"]
4-
version = "1.3.0"
4+
version = "1.3.1"
55

66
[deps]
77
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"

src/nlsolve/broyden.jl

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,16 @@
11
"""
22
SimpleBroyden(; linesearch = Val(false), alpha = nothing)
33
4-
A low-overhead implementation of Broyden. This method is non-allocating on scalar
5-
and static array problems.
4+
A low-overhead implementation of Broyden. This method is non-allocating on scalar and static
5+
array problems.
66
77
### Keyword Arguments
88
99
- `linesearch`: If `linesearch` is `Val(true)`, then we use the `LiFukushimaLineSearch`
10-
[1] line search else no line search is used. For advanced customization of the line
11-
search, use the [`Broyden`](@ref) algorithm in `NonlinearSolve.jl`.
10+
[li2000derivative](@cite) line search else no line search is used. For advanced
11+
customization of the line search, use `Broyden` from `NonlinearSolve.jl`.
1212
- `alpha`: Scale the initial jacobian initialization with `alpha`. If it is `nothing`, we
1313
will compute the scaling using `2 * norm(fu) / max(norm(u), true)`.
14-
15-
### References
16-
17-
[1] Li, Dong-Hui, and Masao Fukushima. "A derivative-free line search and global convergence
18-
of Broyden-like method for nonlinear equations." Optimization methods and software 13.3
19-
(2000): 181-201.
2014
"""
2115
@concrete struct SimpleBroyden{linesearch} <: AbstractSimpleNonlinearSolveAlgorithm
2216
alpha

src/nlsolve/dfsane.jl

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
A low-overhead implementation of the df-sane method for solving large-scale nonlinear
77
systems of equations. For in depth information about all the parameters and the algorithm,
8-
see the paper [1].
8+
see [la2006spectral](@citet).
99
1010
### Keyword Arguments
1111
@@ -35,12 +35,6 @@ see the paper [1].
3535
``f_1=||F(x_1)||^{nexp}``, `k` is the iteration number, `x` is the current `x`-value and
3636
`F` the current residual. Should satisfy ``η_k > 0`` and ``∑ₖ ηₖ < ∞``. Defaults to
3737
``||F||^2 / k^2``.
38-
39-
### References
40-
41-
[1] W LaCruz, JM Martinez, and M Raydan (2006), Spectral residual mathod without gradient
42-
information for solving large-scale nonlinear systems of equations, Mathematics of
43-
Computation, 75, 1429-1448.
4438
"""
4539
@concrete struct SimpleDFSane{M} <: AbstractSimpleNonlinearSolveAlgorithm
4640
σ_min

src/nlsolve/klement.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
SimpleKlement()
33
4-
A low-overhead implementation of [Klement](https://jatm.com.br/jatm/article/view/373). This
4+
A low-overhead implementation of `Klement` [klement2014using](@citep). This
55
method is non-allocating on scalar and static array problems.
66
"""
77
struct SimpleKlement <: AbstractSimpleNonlinearSolveAlgorithm end

src/nlsolve/lbroyden.jl

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,12 @@ If the threshold is larger than the problem size, then this method will use `Sim
99
1010
### Keyword Arguments:
1111
12-
- `linesearch`: If `linesearch` is `Val(true)`, then we use the
13-
`LiFukushimaLineSearch` [1] line search else no line search is used. For advanced
14-
customization of the line search, use the [`LimitedMemoryBroyden`](@ref) algorithm in
12+
- `linesearch`: If `linesearch` is `Val(true)`, then we use the `LiFukushimaLineSearch`
13+
[li2000derivative](@cite) line search else no line search is used. For advanced
14+
customization of the line search, use the `LimitedMemoryBroyden` algorithm in
1515
`NonlinearSolve.jl`.
1616
- `alpha`: Scale the initial jacobian initialization with `alpha`. If it is `nothing`, we
1717
will compute the scaling using `2 * norm(fu) / max(norm(u), true)`.
18-
19-
### References
20-
21-
[1] Li, Dong-Hui, and Masao Fukushima. "A derivative-free line search and global convergence
22-
of Broyden-like method for nonlinear equations." Optimization methods and software 13.3
23-
(2000): 181-201.
2418
"""
2519
@concrete struct SimpleLimitedMemoryBroyden{threshold, linesearch} <:
2620
AbstractSimpleNonlinearSolveAlgorithm

0 commit comments

Comments
 (0)