lppl  v2.0.0
Distribution< Impl, V > Struct Template Reference

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 >
sample (RNG &rng)
 
std::string string () const
 

Detailed Description

template<typename Impl, typename V>
struct Distribution< Impl, V >

Abstract base class that can be subclassed for creation of new distributions.

Template Parameters
Implthe concrete implementation type
Vthe type of the distribution output; this should satisfy static_assert(std::is_same_v<V, DSType<Impl>>)

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