int sfoba_logp

(smodel* smo, double* O, int T, double* log_p)

Calculation of log( P(O|lambda) ).

Documentation

Calculation of log( P(O|lambda) ). Done by calling sfoba\_forward. Use this function if only the log likelihood and not alpha[t][i] is needed, alpha matrix is allocated with stat_matrix_d_alloc
Parameters:
- smo model
O - sequence
T - length of sequence
log_p - log likelihood log( P(O|lambda) )
Returns:
0 for success, -1 for error

Alphabetic index



This page was generated with the help of DOC++.