JuliaMath / JuliaMath/RandomMatrices.jl

TracyWidom beta=4 seems off by a constant

Offen
#83 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Julia
Sterne
94
Forks
41
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.