Files
cppdraft_translate/cppdraft/linalg/transp/intro.md
2025-10-25 03:02:53 +03:00

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]

1

#

layout_transpose is an mdspan layout mapping policy that swaps the two indices, extents, and strides of any unique mdspan layout mapping policy.

2

#

The transposed function takes an mdspan representing a matrix, and returns a new mdspan representing the transpose of the input matrix.