lppl  v2.0.0
Uniform Struct Reference

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 Attributes

std::uniform_real_distribution dist
 
double high
 
double low
 

Detailed Description

A continuous uniform distribution over doubles.


The documentation for this struct was generated from the following file: