lppl
v2.0.0
◆
sample()
template<typename D , size_t N>
template<typename RNG >
std::shared_ptr<std::array<
DSType
<D>, N> >
slice_plate
< D, N >::sample
(
RNG &
rng
)
inline
Samples \(x_1,...,x_N \sim p(x_n | z_n)\).
Template Parameters
RNG
The type of the pseudorandom number generator
Parameters
rng
The pseudorandom number generator
Returns
std::shared_ptr<std::array<DSType<D>, N>>
slice_plate
Generated by
1.9.1