From Jason Turner

[linalg.tags.order]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp_0j89dhz/{from.md → to.md} +20 -0
tmp/tmp_0j89dhz/{from.md → to.md} RENAMED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### Storage order tags <a id="linalg.tags.order">[[linalg.tags.order]]</a>
2
+
3
+ The storage order tags describe the order of elements in an `mdspan`
4
+ with `layout_blas_packed` [[linalg.layout.packed]] layout.
5
+
6
+ ``` cpp
7
+ struct column_major_t {
8
+ explicit column_major_t() = default;
9
+ };
10
+ inline constexpr column_major_t column_major{};
11
+
12
+ struct row_major_t {
13
+ explicit row_major_t() = default;
14
+ };
15
+ inline constexpr row_major_t row_major{};
16
+ ```
17
+
18
+ `column_major_t` indicates a column-major order, and `row_major_t`
19
+ indicates a row-major order.
20
+