lppl  v2.0.0

◆ loglatent()

template<typename... Ts>
double loglatent ( record_t< DTypes< Ts... >> &  record)

Computes the cumulative log-latent of the record, \( \sum_{a\ unobserved} \log p(r(a)) \).

Template Parameters
TsThe types of the distributions in the program
Parameters
recordthe record for which to compute the log latent
Returns
double