Skip to content

Commit da97265

Browse files
committed
simplify docs
1 parent 4e3b722 commit da97265

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

docs/src/index.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
pkg> add LinearMaps
1111
```
1212

13-
in package mode, to be entered by typing `]` in the Julia REPL.
13+
in package mode, which can be entered by typing `]` in the Julia REPL.
1414

1515
## Examples
1616

@@ -100,16 +100,10 @@ KrylovKit.eigsolve(-A, size(A, 1), 3, :SR)
100100

101101
Arpack.eigs(Δ; nev=3, which=:LR)
102102
ArnoldiMethod.partialeigen(ArnoldiMethod.partialschur(Δ; nev=3, which=ArnoldiMethod.LR())[1])
103-
KrylovKit.eigsolve(x -> Δ*x, size(Δ, 1), 3, :LR)
104-
```
105-
106-
In Julia v1.3 and above, the last line can be simplified to
107-
108-
```julia
109103
KrylovKit.eigsolve(Δ, size(Δ, 1), 3, :LR)
110104
```
111105

112-
leveraging the fact that objects of type `L <: LinearMap` are callable.
106+
In the last line above we leverage the fact that objects of type `L <: LinearMap` are callable.
113107

114108
### Inverse map with conjugate gradient
115109

@@ -156,7 +150,6 @@ result = C * tmp2
156150
i.e. inside the CG solver for solving `Sx = b` we use CG to solve another inner linear
157151
system.
158152

159-
160153
## Philosophy
161154

162155
Several iterative linear algebra methods such as linear solvers or eigensolvers

0 commit comments

Comments
 (0)