Searched refs:cb_new (Results 1 – 1 of 1) sorted by relevance
82 double *cb_new = new double[kCodeBookSize]; in recalculate_kernel() local83 assert(cb_new); in recalculate_kernel()84 memset(cb_new, 0, sizeof(double) * kCodeBookSize); in recalculate_kernel()89 cb_new[code_idx[pos]] += freqs[pos]; in recalculate_kernel()95 code_book[code] = cb_new[code] / item_num[code]; in recalculate_kernel()99 delete [] cb_new; in recalculate_kernel()