Skip to content

Commit 8ded8ed

Browse files
Merge pull request #115 from SciML/ChrisRackauckas-patch-1
Update solver recommendations and add KrylovKit
2 parents cfcfe1e + be083c4 commit 8ded8ed

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

docs/src/solvers/solvers.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@ Pardiso.jl's methods are also known to be very efficient sparse linear solvers.
1919

2020
As sparse matrices get larger, iterative solvers tend to get more efficient than
2121
factorization methods if a lower tolerance of the solution is required.
22-
IterativeSolvers.jl uses a low-rank Q update in its GMRES so it tends to be
23-
faster than Krylov.jl for CPU-based arrays, but it's only compatible with
24-
CPU-based arrays whilc Krylov.jl is more general and will support accelerators
25-
like CUDA.
22+
Krylov.jl works with CPUs and GPUs and tends to be more efficient than other
23+
Krylov-based methods.
2624

2725
## Full List of Methods
2826

@@ -157,3 +155,16 @@ KrylovJL(args...; KrylovAlg = Krylov.gmres!,
157155
gmres_restart=0, window=0,
158156
kwargs...)
159157
```
158+
159+
### KrylovKit.jl
160+
161+
- `KrylovKitJL_CG(args...;kwargs...)`: A generic CG implementation
162+
- `KrylovKitJL_GMRES(args...;kwargs...)`: A generic GMRES implementation
163+
164+
The general algorithm is:
165+
166+
```julia
167+
function KrylovKitJL(args...;
168+
KrylovAlg = KrylovKit.GMRES, gmres_restart = 0,
169+
kwargs...)
170+
```

0 commit comments

Comments
 (0)