Loading [MathJax]/extensions/tex2jax.js
fmcs  v0.2.1
All Classes Files Functions Variables Typedefs Friends Pages

◆ 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