Lines Matching defs:gf
350 * @param $gf (array) Number of Factors of the Reed-Solomon polynomial.
354 protected function getGFProduct($a, $b, $log, $alog, $gf) {
358 return ($alog[($log[$a] + $log[$b]) % ($gf - 1)]);
367 * @param $gf (int) numner of fields on log/antilog table (power of 2).
372 protected function getErrorCorrection($wd, $nb, $nd, $nc, $gf=256, $pp=301) {
376 for ($i = 1; $i < $gf; ++$i) {
378 if ($alog[$i] >= $gf) {
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));