Julius 4.2
|
対数値の高速和算関数 [詳細]
マクロ定義 | |
#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. |
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 |
参照元 calc_compound_mix(), calc_mix(), calc_tied_mix(), と gmm_calc_mix().