Lines Matching refs:nroots
2293 public $nroots; // Number of generator roots = number of parity symbols variable in QRrsItem
2312 public static function init_rs_char($symsize, $gfpoly, $fcr, $prim, $nroots, $pad) argument
2324 …if($nroots < 0 || $nroots >= (1<<$symsize)) return $rs; // Can't have more roots than sym…
2325 if($pad < 0 || $pad >= ((1<<$symsize) -1 - $nroots)) return $rs; // Too much padding
2361 $rs->genpoly = array_fill(0, $nroots+1, 0);
2365 $rs->nroots = $nroots;
2375 for ($i = 0,$root=$fcr*$prim; $i < $nroots; $i++, $root += $prim) {
2391 for ($i = 0; $i <= $nroots; $i++)
2405 $NROOTS =& $this->nroots;
2447 public static function init_rs($symsize, $gfpoly, $fcr, $prim, $nroots, $pad) argument
2451 if($rs->nroots != $nroots) continue;
2460 $rs = QRrsItem::init_rs_char($symsize, $gfpoly, $fcr, $prim, $nroots, $pad);