src/Maths/Algebra/Matrix.php
public function setY($index, array $value)
    {
        try {
            $this->seekY($index);
            foreach ($this->data as $x=>$items) {
                $this->data[$x][$this->keyY(true)] = $value[$x];
            }
        } catch (OutOfRangeException $e) {
            throw $e;
        }
        return $this;
    }
public function setY($index, array $value)
    {
        try {
            $this->seekY($index);
            foreach ($this->data as $x=>$items) {
                $this->data[$x][$this->keyY(true)] = $value[$x];
            }
        } catch (OutOfRangeException $e) {
            throw $e;
        }
        return $this;
    }
Set `y` value (column) by index

@param   string|int  $index
@param   array       $value
@return  $this
@throws  OutOfRangeException if the index is out of range