    public function transposed()
    {
        $transposed = new Matrix($this->matrix->getNumCols(), $this->matrix->getNumRows(), $this->precision);
        for ($i = 1; $i <= $this->matrix->getNumRows(); $i++) {
            for ($j = 1; $j <= $this->matrix->getNumCols(); $j++) {
                $transposed->setPoint($j, $i, $this->matrix->getPoint($i, $j));
            }
        }
        return $transposed;
    }