public function getRow(int $i) : array { if ($i >= $this->m) { throw new Exception\MatrixException("Row {$i} does not exist"); } return $this->A[$i]; }