Skip to content

jamesthompson/levy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lévy

Lévy distribution functions.

Requirements

This package builds on MonadRandom and random.

Example usage

import System.Random (newStdGen)
import Control.Monad.Random

test :: IO ()
test = do
  gen <- newStdGen
  let x = evalRandT (sampleLevy 0.0 0.5) gen :: Maybe Double
  putStrLn $ show x

Building

This package is built with nix, a default.nix file is included for your convenience.

Releases

No releases published

Packages

No packages published