#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 ![]() |
Definition in file addlog.c.
|
Generate a value tables of
Definition at line 40 of file addlog.c. Referenced by outprob_init(). |
|
Rapid computation of If value differs more than LOG_ADDMIN, the larger value will be returned as is.
|
|
Rapid computation of
Definition at line 98 of file addlog.c. Referenced by calc_mix(), calc_tied_mix(), and gmm_calc_mix(). |