Skip to content

Commit 1c416ba

Browse files
Merge pull request #283 from vaerksted/master
fix typos
2 parents fb2f19a + 84fe015 commit 1c416ba

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

docs/src/solvers/NonlinearSystemSolvers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Solves for ``f(u)=0`` in the problem defined by `prob` using the algorithm
1010
The default method `FastShortcutNonlinearPolyalg` is a good choice for most
1111
problems. It is a polyalgorithm that attempts to use a fast algorithm
1212
(Klement, Broyden) and if that fails it falls back to a more robust
13-
algorithm (`NewtonRaphson`) before falling back the most robust varient of
13+
algorithm (`NewtonRaphson`) before falling back the most robust variant of
1414
`TrustRegion`. For basic problems this will be very fast, for harder problems
1515
it will make sure to work.
1616

docs/src/tutorials/getting_started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ There are three types of nonlinear systems:
1111

1212
1. The "standard nonlinear system", i.e. the `NonlinearProblem`. This is a
1313
system of equations with an initial condition where you want to satisfy
14-
all equations simultaniously.
14+
all equations simultaneously.
1515
2. The "interval rootfinding problem", i.e. the `IntervalNonlinearProblem`.
1616
This is the case where you're given an interval `[a,b]` and need to find
1717
where `f(u) = 0` for `u` inside the bounds.
1818
3. The "steady state problem", i.e. find the `u` such that `u' = f(u) = 0`.
1919
While related to (1), it's not entirely the same because there's a uniquely
20-
defined privledged root.
20+
defined privileged root.
2121
4. The nonlinear least squares problem, which is an overconstrained nonlinear
2222
system (i.e. more equations than states) which might not be satisfiable, i.e.
2323
there may be no `u` such that `f(u) = 0`, and thus we find the `u` which
@@ -77,7 +77,7 @@ There are multiple return codes which can mean the solve was successful, and thu
7777
general command `SciMLBase.successful_retcode` to check whether the solution process exited as
7878
intended:
7979

80-
```@exmaple
80+
```@example
8181
SciMLBase.successful_retcode(sol)
8282
```
8383

src/dfsane.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
77
A low-overhead and allocation-free implementation of the df-sane method for solving large-scale nonlinear
88
systems of equations. For in depth information about all the parameters and the algorithm,
9-
see the paper: [W LaCruz, JM Martinez, and M Raydan (2006), Spectral residual mathod without
10-
gradient information for solving large-scale nonlinear systems of equations, Mathematics of
9+
see the paper: [W LaCruz, JM Martinez, and M Raydan (2006), Spectral Residual Method without
10+
Gradient Information for Solving Large-Scale Nonlinear Systems of Equations, Mathematics of
1111
Computation, 75, 1429-1448.](https://www.researchgate.net/publication/220576479_Spectral_Residual_Method_without_Gradient_Information_for_Solving_Large-Scale_Nonlinear_Systems_of_Equations)
1212
1313
### Keyword Arguments

src/trustRegion.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ function dogleg!(cache::TrustRegionCache{true})
600600
return
601601
end
602602

603-
# Take the intersection of dogled with trust region if Cauchy point lies inside the trust region
603+
# Take the intersection of dogleg with trust region if Cauchy point lies inside the trust region
604604
@. u_cauchy = -(d_cauchy / l_grad) * cache.g # compute Cauchy point
605605
@. u_tmp = u_gauss_newton - u_cauchy # calf of the dogleg -- use u_tmp to avoid allocation
606606

@@ -630,7 +630,7 @@ function dogleg!(cache::TrustRegionCache{false})
630630
return
631631
end
632632

633-
# Take the intersection of dogled with trust region if Cauchy point lies inside the trust region
633+
# Take the intersection of dogleg with trust region if Cauchy point lies inside the trust region
634634
u_cauchy = -(d_cauchy / l_grad) * cache.g # compute Cauchy point
635635
u_tmp = u_gauss_newton - u_cauchy # calf of the dogleg
636636
a = dot(u_tmp, u_tmp)

0 commit comments

Comments
 (0)