834 B
834 B
[linalg.transp.intro]
29 Numerics library [numerics]
29.9 Basic linear algebra algorithms [linalg]
29.9.10 Transpose in-place transformation [linalg.transp]
29.9.10.1 Introduction [linalg.transp.intro]
layout_transpose is an mdspan layout mapping policy that swaps the two indices, extents, and strides of any unique mdspan layout mapping policy.
The transposed function takes an mdspan representing a matrix, and returns a new mdspan representing the transpose of the input matrix.