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
.