Skip to content

Commit 581ce29

Browse files
committed
Annotate demo chapter 21
1 parent 2779dbe commit 581ce29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

demos/book/21/airyeigmax.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#airyeigmax.jl
22
#Algorithm <21.1> of Random Eigenvalues by Alan Edelman
33

4-
#Experiment: Largets eigenvalue of a Stochastic Airy Operator
4+
#Experiment: Largest eigenvalue of a Stochastic Airy Operator
55
#Plot: Histogram of the largest eigenvalues
66
#Theory: The Tracy-Widom Law
77

@@ -20,6 +20,7 @@ function airyeigmax_experiment(t,n,beta,h) # wrap the experimental logic in a fu
2020
#Parallel experiment
2121
b = (1 / h^2) * ones(N-1)
2222
v = pmap(1:t) do i
23+
### The kernel is equivalent to evolve(AiryProcess(beta), h, 10)
2324
## discretize stochastic airy operator
2425
# discretize airy operator
2526
a = -(2 / h ^ 2) * ones(N); # differential operator: d^2 / dx^2

0 commit comments

Comments
 (0)