fmcs
v0.2.1
|
A continuous uniform distribution over doubles. More...
#include "distributions.hpp"
Public Member Functions | |
Uniform (double high) | |
Uniform (double low, double high) | |
template<typename... Vs> | |
Uniform (std::variant< Vs... > low, std::variant< Vs... > high) | |
double | logprob (double value) const |
template<typename RNG > | |
double | sample (RNG &rng) |
std::string | string () const |
Public Member Functions inherited from Distribution< Uniform, double > | |
double | logprob (double value) |
double | sample (RNG &rng) |
std::string | string () const |
Public Attributes | |
std::uniform_real_distribution | dist |
double | high |
double | low |
A continuous uniform distribution over doubles.