NestedSampling 0.1.3 → 0.1.4
raw patch · 2 files changed
+8/−2 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Statistics.MiniNest: NestedSamplingResult :: Double -> Double -> Double -> [a] -> NestedSamplingResult a
- Statistics.MiniNest: choice :: [a] -> IO a
- Statistics.MiniNest: floatRatio :: Int -> Int -> Float
- Statistics.MiniNest: getLogWidth :: Int -> Double
- Statistics.MiniNest: nsInfoNats :: NestedSamplingResult a -> Double
- Statistics.MiniNest: nsLogZ :: NestedSamplingResult a -> Double
- Statistics.MiniNest: nsLogZdelta :: NestedSamplingResult a -> Double
- Statistics.MiniNest: nsSamples :: NestedSamplingResult a -> [a]
- Statistics.MiniNest: plus :: Double -> Double -> Double
Files
- NestedSampling.cabal +1/−1
- lib/Statistics/MiniNest.hs +7/−1
NestedSampling.cabal view
@@ -1,5 +1,5 @@ Name: NestedSampling-Version: 0.1.3+Version: 0.1.4 Synopsis: A port of John Skilling's nested sampling C code to Haskell. Description: Nested Sampling is a numerical algorithm for approximate Bayesian
lib/Statistics/MiniNest.hs view
@@ -1,4 +1,10 @@-module Statistics.MiniNest where+-- NESTED SAMPLING MAIN PROGRAM+-- (GNU General Public License software, (C) Sivia and Skilling 2006, Trotts 2011)++module Statistics.MiniNest(+ NestedSamplingResult(nsLogZ, nsLogZdelta, nsInfoNats, nsSamples),+ SamplingObject(setLogWt, getLogWt, getLogL),+ nestedSampling) where import Control.Monad (forM) import Data.IORef