mirror of
https://github.com/kuhyx/WUT_Computer_Science.git
synced 2026-07-06 14:43:16 +02:00
6 lines
214 B
Mathematica
6 lines
214 B
Mathematica
|
|
function [Matrix, Vector] = partialPivotingSwapOneRow(Matrix, Vector, i1, i3, m)
|
||
|
|
if Matrix(i3,i1) == m
|
||
|
|
swapRowMatrix(Matrix, i1, i3);
|
||
|
|
swapValueVector(Vector, i1, i3);
|
||
|
|
end % end if
|
||
|
|
end % end function
|