SWAP_ENTRIES _ _ _ _ _ _ _ _ _ _ _ _ operator
<matrix> :- a matrix.
<r1>,<c1>,<r2>,<c2> :- positive integers.
swap_entriesswaps <matrix>(<r1>,<c1>) with <matrix>(<r2>,<c2>).
swap_entries(A,{1,1},{3,3});
[9 2 3]
[ ]
[4 5 6]
[ ]
[7 8 1]
Related functions: swap_columns, swap_rows.