28
Numerics library
[numerics]
28.9
Basic linear algebra algorithms
[linalg]
28.9.10
Transpose in-place transformation
[linalg.transp]
28.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
.