lppl
v2.0.0
|
Abstract base class that can be subclassed for creation of new distributions. More...
#include "distribution_traits.hpp"
Public Member Functions | |
double | logprob (V value) |
template<typename RNG > | |
V | sample (RNG &rng) |
std::string | string () const |
Abstract base class that can be subclassed for creation of new distributions.
Impl | the concrete implementation type |
V | the type of the distribution output; this should satisfy static_assert(std::is_same_v<V, DSType<Impl>>) |