Matrix.swapColumns
Swaps two columns of the matrix by their indexes.
Arguments
index0
and index1
are integer numbers, zero-based.
Return values
None
Complexity
O(rows)
Example
Output:
3.000000,1.000000,2.000000,
2.000000,1.000000,3.000000,
6.000000,4.000000,6.000000,