Lines Matching defs:alog
349 * @param $alog (array) Anti-Log table.
354 protected function getGFProduct($a, $b, $log, $alog, $gf) {
358 return ($alog[($log[$a] + $log[$b]) % ($gf - 1)]);
373 // generate the log ($log) and antilog ($alog) tables
375 $alog[0] = 1;
377 $alog[$i] = ($alog[($i - 1)] * 2);
378 if ($alog[$i] >= $gf) {
379 $alog[$i] ^= $pp;
381 $log[$alog[$i]] = $i;
390 $c[$j] = $c[($j - 1)] ^ $this->getGFProduct($c[$j], $alog[$i], $log, $alog, $gf);
392 $c[0] = $this->getGFProduct($c[0], $alog[$i], $log, $alog, $gf);
412 $we[$j] = ($we[($j + 1)] ^ $this->getGFProduct($k, $c[($nc - $j - 1)], $log, $alog, $gf));