XLL+ Class Library

matrix<T>::transpose

Transpose the matrix along its major diagonal

[C++]
void transpose();

Remarks

This function transposes the matrix, such that:

new_array.at(i, j) = old_array.at(j, i)
Thus the number of rows and of columns will also be swapped.

Requirements

Header: matrix.h

See Also

matrix<T> Class | matrix<T> Methods