XLL+ Class Library (6.3)

::mtx_transpose<M>

Transpose the rows and columns of a matrix

void mtx_transpose<M>(
   M& m
);

Parameters

m

A reference to an object of type M that supports the imtx<T> interface.

Remarks

This template function transposes the rows and columns of a matrix.

The items in the matrix are transposed, such that m.at(i, j) in the transposed matrix = m.at(j, i) in the original matrix.

Requirements

Header: plemtx.h

See Also

Matrix template functions