JuliaMath / JuliaMath/RandomMatrices.jl

TracyWidom beta=4 seems off by a constant

Open
#83 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
94
Forks
41
PR merge metrics
No merged PRs in 30d

Description

I compared with TracyWidomBeta.jl and also the following random airy operator at beta=4
and those two matched. The code in this package is off by 1.14 or something, if it were the sqrt(2)
(1.41 not 1.14) I might have understood why. Perhaps something in the normalization?
Happy to understand better.

```
function stochastic(β,n)
h=n^-(1/3)
x=h:h:10
N=length(x)
d=(-2/h^2 .- x) + sqrt(4/(h*β))*randn(N) # diagonal
e=fill(1/h^2,N-1) # subdiagonal
eigmax(SymTridiagonal(d,e))
end
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.