|
fmcs
v0.2.1
|
Represents \(N\) iid random variables. More...
#include "plate.hpp"
Public Member Functions | |
| template<typename... Ts> | |
| static_plate (Ts... ts) | |
| double | logprob (std::shared_ptr< std::array< DSType< D >, N >> value) |
| Computes \(\sum_{1\leq n \leq N} \log p(x_n | z)\). More... | |
| template<typename RNG > | |
| std::shared_ptr< std::array< DSType< D >, N > > | sample (RNG &rng) |
| Draws \(x_1,...,x_N \sim p(x|z)\). More... | |
| std::string | string () const |
Public Member Functions inherited from plate_base_< D > | |
| template<typename... Ts> | |
| plate_base_ (Ts... ts) | |
Additional Inherited Members | |
Public Attributes inherited from plate_base_< D > | |
| D | dist |
Represents \(N\) iid random variables.
| D | The type of the underlying distribution |
| N | The number of iid random variables |