row Switching Matrix
final Matrix rowSwitchingMatrix(Integer n, Integer firstIndex, Integer secondIndex)
Content copied to clipboard
Make an elementary matrix which represents row-switching transformation.
Return
an elementary matrix.
Parameters
n
order of the matrix.
firstIndex
index of the first row to be exchanged.
secondIndex
index of the second row to be exchaged.