lppl  v2.0.0

◆ sample()

template<typename D , size_t N>
template<typename RNG >
std::shared_ptr<std::array<DSType<D>, N> > static_plate< D, N >::sample ( RNG &  rng)
inline

Draws \(x_1,...,x_N \sim p(x|z)\).

Template Parameters
RNGThe type of the pseudorandom number generator
Parameters
rngThe ppseudorandom number generator
Returns
std::shared_ptr<std::array<DSType<D>, N>>