Skip to content

Commit 1f72265

Browse files
committed
Remove unused gradient function
1 parent bf829e0 commit 1f72265

File tree

2 files changed

+13
-17
lines changed

2 files changed

+13
-17
lines changed

src/densities/TracyWidom.jl

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
export TracyWidom
22

3-
include("gradient.jl")
4-
53
"""
64
Tracy-Widom distribution
75
86
The probability distribution of the normalized largest eigenvalue of a random
97
Hermitian matrix.
108
9+
The cdf of Tracy-Widom is given by
10+
11+
``
12+
F_2 (s) = lim_{n→∞} Pr(√2 n^{1/6} (λₙ - √(2n) ≤ s)
13+
``
14+
1115
References:
1216
1317
1. doi:10.1016/0370-2693(93)91114-3
@@ -24,6 +28,11 @@ Probability density function of the Tracy-Widom distribution
2428
2529
Computes the Tracy-Widom distribution by directly solving the
2630
Painlevé II equation using the ode23 numerical integrator
31+
32+
# Arguments
33+
* `d::TracyWidom` or `Type{TracyWidom}`: an instance of `TracyWidom` or the type itself
34+
* `t::Real`: The point at which to evaluate the pdf
35+
* `t0::Real = -8.0`: The point at which to start integrating
2736
"""
2837
function pdf{S<:Real}(d::TracyWidom, t::S, t0::S = convert(S, -8.0))
2938
tt0 && return 0.0
@@ -41,6 +50,8 @@ Cumulative density function of the Tracy-Widom distribution
4150
4251
Computes the Tracy-Widom distribution by directly solving the
4352
Painlevé II equation using the ode23 numerical integrator
53+
54+
See `pdf(::TracyWidom)` for a description of the arguments.
4455
"""
4556
function cdf{S<:Real}(d::TracyWidom, t::S, t0::S = convert(S, -8.0))
4657
tt0 && return 0.0

src/densities/gradient.jl

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)