Transposition with reference to the 2nd diagonal
[Y] = pertrans(X)
square or rectangular matrices of any data type
Y = pertrans(X)
returns the simultaneous permutation and transposition of
X
, i.e. the symmetric of X
with reference to the second diagonal (utility function).