lppl  v2.0.0

◆ logprob()

template<typename D , size_t N>
double static_plate< D, N >::logprob ( std::shared_ptr< std::array< DSType< D >, N >>  value)
inline

Computes \(\sum_{1\leq n \leq N} \log p(x_n | z)\).

Parameters
valueThe \(N\) random variables to score
Returns
double the log probability