Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
arene::base::linalg::layout_transpose< NestedLayout > Class Template Reference

A layout mapping policy that swaps the two indices, extents, and strides of a rank-2 mapping. More...

Public Types

using nested_layout_type = NestedLayout
 The wrapped (un-transposed) layout type.
 

Detailed Description

template<class NestedLayout>
class arene::base::linalg::layout_transpose< NestedLayout >

A layout mapping policy that swaps the two indices, extents, and strides of a rank-2 mapping.

Template Parameters
NestedLayoutThe layout mapping policy being transposed; its rank-2 mapping is wrapped by this policy

Given a NestedLayout mapping over extents (R, C), the layout_transpose::mapping presents extents (C, R) and maps index (i, j) to the nested mapping's (j, i).

Member Typedef Documentation

◆ nested_layout_type

template<class NestedLayout>
using arene::base::linalg::layout_transpose< NestedLayout >::nested_layout_type = NestedLayout

The wrapped (un-transposed) layout type.


The documentation for this class was generated from the following file: