lppl  v2.0.0

◆ sample_output() [2/2]

template<typename O , typename... Ts>
template<typename RNG >
std::shared_ptr<std::vector<O> > record_collection_t< O, Ts >::sample_output ( RNG &  rng,
size_t  n 
)
inline

Samples n output values of the probabilistic program from the empirical posterior.

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