Lines Matching refs:n
100 * @param int $n Size.
103 public function uniform(Compiler\Llk\Rule $rule = null, $n = -1) argument
105 if (null === $rule && -1 === $n) {
107 $n = $this->getLength();
110 $data = &$this->_data[$rule->getName()][$n];
113 if (0 === $n || 0 === $computed) {
122 $stat[$c] = $this->_data[$child][$n]['n'];
131 return $this->uniform($this->_rules[$children[$e]], $n);
175 * @param int $n Size.
178 public function count(Compiler\Llk\Rule $rule = null, $n = -1) argument
180 if (null === $rule || -1 === $n) {
186 if (isset($this->_data[$ruleName][$n])) {
187 return $this->_data[$ruleName][$n]['n'];
190 $this->_data[$ruleName][$n] = ['n' => 0];
191 $out = &$this->_data[$ruleName][$n]['n'];
196 $out += $this->count($this->_rules[$child], $n);
202 $n
204 $this->_data[$ruleName][$n]['Γ'] = [];
205 $handle = &$this->_data[$ruleName][$n]['Γ'];
221 $this->_data[$ruleName][$n]['xy'] = [];
222 $handle = &$this->_data[$ruleName][$n]['xy'];
228 $y = $n;
230 $y = min($n, $y);
239 $Γ = new Math\Combinatorics\Combination\Gamma($α, $n);
260 $out = Math\Util::δ($n, 1);