Lines Matching refs:p
227 public function convertToInternal(array $p) argument
229 if (empty($p)) {
233 if (isset($p[2])) {
234 return $p;
237 $p[2] = clone $this->one;
238 $p[3] = $p[0]->multiply($p[1]);
240 return $p;
248 public function doublePoint(array $p) argument
254 if (!count($p)) {
258 if (!isset($p[2])) {
264 list($x1, $y1, $z1, $t1) = $p;
288 public function addPoint(array $p, array $q) argument
294 if (!count($p) || !count($q)) {
298 if (count($p)) {
299 return $p;
304 if (!isset($p[2]) || !isset($q[2])) {
308 if ($p[0]->equals($q[0])) {
309 return !$p[1]->equals($q[1]) ? [] : $this->doublePoint($p);
314 list($x1, $y1, $z1, $t1) = $p;