GaussElim+(ppalg+példa)

A Gauss-elimináció ppalg pszeudokódban code algorithm GaussElimination is input m: Matrix output m: Matrix begin for i in 1 .. min( m.rowN, m.colN ) gaussStep( m, i ) end

function gaussStep is input m: Matrix k: Positive  ## column of current step output m: Matrix begin for i in k+1 .. m.lastRow m(i,k) /= m(k,k) for j in k+1 .. m.lastCol m(i,j) -= m(i,k) * m(k,i) end code