[linalg.transp.intro]

# 29 Numerics library [[numerics]](./#numerics)

## 29.9 Basic linear algebra algorithms [[linalg]](linalg#transp.intro)

### 29.9.10 Transpose in-place transformation [[linalg.transp]](linalg.transp#intro)

#### 29.9.10.1 Introduction [linalg.transp.intro]

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/numerics.tex#L12943)

layout_transpose is an mdspan layout mapping policy
that swaps the two indices, extents, and strides
of any unique mdspan layout mapping policy[.](#1.sentence-1)

[2](#2)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/numerics.tex#L12948)

The transposed function takes an mdspan representing a matrix, and returns a new mdspan representing the transpose of the input matrix[.](#2.sentence-1)
