# DIAMONDS - Bayesian Software¶

## Description¶

The DIAMONDS (high-DImensional And multi-MOdal NesteD Sampling) code presented in this website is developed in C++11 and structured in classes in order to be as much flexible and configurable as possible. The working scheme from the main function is as follow:

The code can be used for any application involving Bayesian parameter estimation and/or model selection problems. Users can supply new models, likelihood functions, and prior distributions whenever needed by taking the advantage of C++ class polymorphism and inheritance. Any new model, likelihood, and prior distribution can be defined and implemented upon a basic template. In addition, it is possible to feed the basic nested sample with different drawing algorithms based on clustering, as well as different clustering algorithms can in principle be used.