src/Maths/Algebra/Matrix.php
public function setInt($index, $value)
    {
        try {
            $this->seekInt($index);
            $this->data[$this->keyX(true)][$this->keyY(true)] = $value;
        } catch (InvalidArgumentException $e) {
            throw $e;
        } catch (OutOfRangeException $e) {
            throw $e;
        }
        return $this;
    }
public function setInt($index, $value)
    {
        try {
            $this->seekInt($index);
            $this->data[$this->keyX(true)][$this->keyY(true)] = $value;
        } catch (InvalidArgumentException $e) {
            throw $e;
        } catch (OutOfRangeException $e) {
            throw $e;
        }
        return $this;
    }
Set `x:y` value (cell) by integer index

@param   int      $index
@param   mixed    $value
@return  $this
@throws  OutOfRangeException if the index is out of range
@throws  InvalidArgumentException if the argument is malformed