#include <sent/stddefs.h>
#include <sent/hmm.h>
Include dependency graph for addlog.c:

Go to the source code of this file.
Defines | |
| #define | TBLSIZE 500000 |
| Table size (precision depends on this). | |
| #define | VRANGE 15 |
| Must be larger than -LOG_ADDMIN. | |
| #define | TMAG 33333.3333 |
| TBLSIZE / VRANGE. | |
Functions | |
| void | make_log_tbl () |
Generate a value tables of . | |
| LOGPROB | addlog (LOGPROB x, LOGPROB y) |
| LOGPROB | addlog_array (LOGPROB *a, int n) |
Variables | |
| static LOGPROB | tbl [TBLSIZE] |
Table of . | |
| static boolean | built_tbl = FALSE |
| TRUE after tbl has built. | |
Definition in file addlog.c.
| void make_log_tbl | ( | ) |
Generate a value tables of
.
is from 0 to (- VRANGE), and table size is TBLSIZE.
Definition at line 41 of file addlog.c.
Referenced by outprob_init().
Rapid computation of
.
| a | [in] array of log values | |
| n | [in] length of above |
Definition at line 102 of file addlog.c.
Referenced by calc_mix(), calc_tied_mix(), and gmm_calc_mix().
1.5.0