cxwx / markov1

Home Page:https://marianochaves.github.io/mcmc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nuMCMC-c++

The MCMC algorithm using C++: based on emcee

🚀 This library can be used to create samplings using Markov chain Monte Carlo (MCMC).

Here you can find a Quick Start on the nuMCMC.

Cite as:

Mariano Esteves Chaves. (2021). The MCMC algorithm using C++ (0.2). Zenodo. https://doi.org/10.5281/zenodo.5496330

v. 0.2

  • Inclusion of the working parallelized version of the code: "run_parallel()";

v. 0.1

  • Working code;
  • Save and load states;
  • Save history functions;

For further information contact mchaves@ifi.unicamp.br

Compiler options

For Windows

Compiler MinGW-w64 in Msys2 is tested.

cmake ../ -DCMAKE_CXX_STANDARD=11
ninja -f build.ninja

Prerequisite in Msys2

pacman -S mingw-w64-x86_64-cmake
pacman -S mingw-w64-x86_64-ninja
pacman -S --needed base-devel mingw-w64-x86_64-toolchain

For Linux

cmake ../ -DCMAKE_CXX_STANDARD=11
make -j2

About

https://marianochaves.github.io/mcmc

License:MIT License


Languages

Language:C++ 90.9%Language:CMake 8.4%Language:C 0.8%