Skip to content

Commit 93d89e0

Browse files
committed
add time
1 parent f88fac8 commit 93d89e0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,15 @@ julia> J[1000] - besselj(999,z) # matches besselj to high (relative) accuracy
6363
julia> J[11_000] - besselj(11_000-1, z)
6464
3.3730094946097293e-143
6565
```
66+
We're even faster than SpecialFunctions.jl for constructing a range of Bessel functions:
67+
```julia
68+
julia> @time [besselj(k-1, z) for k=0:11_000-1];
69+
0.188690 seconds (77.20 k allocations: 3.295 MiB)
70+
71+
julia> @time J = A \ Vcat([besselj(1,z)], Zeros(∞));
72+
0.036701 seconds (406.40 k allocations: 46.552 MiB, 24.43% gc time)
73+
```
74+
6675

6776
## Infinite-dimensional QL factorization
6877

0 commit comments

Comments
 (0)