lppl  v2.0.0

◆ sample() [1/2]

template<typename V >
template<typename RNG >
std::shared_ptr<V> value_collection_t< V >::sample ( RNG &  rng)
inline

Samples single value from the empirical posterior.

Template Parameters
RNGthe type of the PRNG used to perform sampling
Parameters
rngthe PRNG used to perform sampling
Returns
std::shared_ptr<V>