julia> using Distributions, LandauDistribution
julia> L = Landau(1.0)
Landau{Float64}(μ=1.0, θ=1.0)
julia> pdf(L, 4)
0.07424765455676448
julia> cdf(L, 4)
0.6642059976988449
julia> L = Landau(1.5, 2)
Landau{Float64}(μ=1.5, θ=2.0)
julia> rand(L)
-0.8439427644712922
-
Notifications
You must be signed in to change notification settings - Fork 3
Extending `Distributions.jl` to include Landau Distribution based on CERN ROOT's implementation.
License
JuliaHEP/LandauDistribution.jl
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Extending `Distributions.jl` to include Landau Distribution based on CERN ROOT's implementation.
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published