Exchange two ranges of values.
an array
begin index of first range
end index of first range (exclusive)
begin index of second range
end index of second range (exclusive)
x' | x' = x; x'[i..I] = x[j..J]; x'[j..J] = x[i..I]
Generated using TypeDoc
Exchange two ranges of values.