(double* log_a, state* s, hypoList* parent)
Calculates the logarithm of sum(exp(log_a[j,a_pos])+exp(log_gamma[j,g_pos])) which corresponds to the logarithm of the sum of a[j,a_pos]*gamma[j,g_pos]
Documentation
Calculates the logarithm of sum(exp(log_a[j,a_pos])+exp(log_gamma[j,g_pos]))
which corresponds to the logarithm of the sum of a[j,a_pos]*gamma[j,g_pos]
- Parameters:
- log_a - : transition matrix with logarithmic values (1.0 for log(0))
s - : state whose gamma-value is calculated
parent - : a pointer to the parent hypothesis
- Returns:
- logSum for products of a row from gamma and a row from matrix A
Alphabetic index
This page was generated with the help of DOC++.