switchRow

final Matrix switchRow(Integer rowIndex1, Integer rowIndex2)

Do a row switching transformation; exchange rowIndex1th row and rowIndex2th row.

Return

new transformed matrix.

Parameters

rowIndex1
rowIndex2