#include <sent/stddefs.h>
#include <sent/hmm.h>
マクロ定義 | |
#define | TBLSIZE 500000 |
Table size (precision depends on this) | |
#define | VRANGE 15 |
Must be larger than -LOG_ADDMIN | |
#define | TMAG 33333.3333 |
TBLSIZE / VRANGE | |
関数 | |
void | make_log_tbl () |
Generate a value tables of ![]() | |
LOGPROB | addlog (LOGPROB x, LOGPROB y) |
Rapid computation of ![]() | |
LOGPROB | addlog_array (LOGPROB *a, int n) |
Rapid computation of ![]() | |
変数 | |
static LOGPROB | tbl [TBLSIZE] |
Table of ![]() | |
static boolean | built_tbl = FALSE |
TRUE after tbl has built |
addlog.c で定義されています。
void make_log_tbl | ( | ) |
Generate a value tables of .
is from 0 to (- VRANGE), and table size is TBLSIZE.
参照元 outprob_init().
Rapid computation of .
a | [in] array of log values | |
n | [in] length of above |