int foba_logp

(model* mo, const int* O, int len, 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 is allocated with stat_matrix_d_alloc
Parameters:
- mo model
O - sequence
len - 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++.