lppl  v2.0.0

◆ sample() [2/2]

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

Samples n values with replacement from the empirical posterior.

Template Parameters
RNG
Parameters
rng
n
Returns
std::shared_ptr<std::vector<V>>