flat-mcmc

Painless, efficient, general-purpose sampling from continuous distributions.
Log | Files | Refs | README | LICENSE

commit f820f3347723d2fca5266a49d446a65db656f5bd
parent f530ba6e4dcd78e8ba7bbabfe46fe4ebb5b732e8
Author: Jared Tobin <jared@jtobin.ca>
Date:   Sat, 17 Oct 2015 15:59:03 +1300

Several updates.

Diffstat:
MLICENSE | 42++++++++++++++++--------------------------
Mflat-mcmc.cabal | 48+++++++++++++++---------------------------------
Mstack.yaml | 1+
3 files changed, 32 insertions(+), 59 deletions(-)

diff --git a/LICENSE b/LICENSE @@ -1,29 +1,19 @@ -Copyright (C) 2012 Jared Tobin +Copyright (c) 2012-2015 Jared Tobin -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions, and the following disclaimer. +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. - 2. Redistributions in binary form must reproduce the above - copyright notice, this list of conditions, and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - - 3. The name of the author may not be used to endorse or promote - products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, -INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING -IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -POSSIBILITY OF SUCH DAMAGE. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/flat-mcmc.cabal b/flat-mcmc.cabal @@ -1,52 +1,34 @@ name: flat-mcmc -version: 0.3.0.0 +version: 1.0.0 synopsis: Painless general-purpose sampling. homepage: http://jtobin.github.com/flat-mcmc -license: BSD3 +license: MIT license-file: LICENSE author: Jared Tobin maintainer: jared@jtobin.ca category: Math build-type: Simple -cabal-version: >=1.8 +cabal-version: >=1.10 description: Painless general-purpose sampling. - . - Implements a Markov chain transition operator as a state monad. Source-repository head Type: git Location: http://github.com/jtobin/flat-mcmc.git library - hs-source-dirs: - src - exposed-modules: - Numeric.MCMC.Flat + default-language: Haskell2010 + ghc-options: -Wall + hs-source-dirs: src + exposed-modules: Numeric.MCMC.Flat build-depends: - base >= 4.3 && < 5 - , mtl >= 2.1 - , primitive >= 0.4 - , mwc-random >= 0.12 - , mwc-probability >= 0.1 - , vector >= 0.9 - , monad-par >= 0.3 - , monad-par-extras >= 0.3 - ghc-options: - -Wall - -Test-Suite rosenbrock - type: exitcode-stdio-1.0 - hs-source-dirs: src, test - main-is: Tests.hs - build-depends: - base >= 4.3 - , mtl >= 2.1 - , primitive >= 0.4 - , mwc-random >= 0.12 - , mwc-probability >= 0.1 - , vector >= 0.9 - , monad-par >= 0.3 - , monad-par-extras >= 0.3 + base < 5 + , lens >= 4 && < 5 + , mcmc-types >= 1.0.1 + , monad-par + , mwc-probability >= 1.0.1 + , pipes >= 4 && < 5 + , primitive + , transformers diff --git a/stack.yaml b/stack.yaml @@ -3,4 +3,5 @@ packages: - '.' extra-deps: - mwc-probability-1.0.2 + - mcmc-types-1.0.1 resolver: lts-3.8