Name : ghc-mighty-metropolis
| |
Version : 1.2.0
| Vendor : openSUSE
|
Release : bp150.2.6
| Date : 2018-07-30 21:18:50
|
Group : Development/Libraries/Haskell
| Source RPM : ghc-mighty-metropolis-1.2.0-bp150.2.6.src.rpm
|
Size : 0.03 MB
| |
Packager : https://bugs_opensuse_org
| |
Summary : The Metropolis algorithm
|
Description :
The classic Metropolis algorithm.
Wander around parameter space according to a simple spherical Gaussian distribution.
Exports a \'mcmc\' function that prints a trace to stdout, a \'chain\' function for collecting results in-memory, and a \'metropolis\' transition operator that can be used more generally.
> import Numeric.MCMC.Metropolis > > rosenbrock :: [Double] -> Double > rosenbrock [x0, x1] = negate (5 *(x1 - x0 ^ 2) ^ 2 + 0.05 * (1 - x0) ^ 2) > > main :: IO () > main = withSystemRandom . asGenIO $ mcmc 10000 1 [0, 0] rosenbrock.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/openSUSE:/Backports:/SLE-15/standard/x86_64 |