Function matrix_transpose¶
function matrix_transpose(T *, const T *, shape<Dims>) base¶
Transposes a matrix (supports scalar and compound types).
Works with both scalar types (e.g., float, int) and compound types (e.g., vec, complex). The input matrix must be packed in memory (no padding between rows or columns). In-place transpose (when in and out point to the same buffer) is supported.For more than two dimensions, all axes are reversed (equivalent to reversing the dimension order). A one-dimensional shape is a no-op (plain copy if buffers differ).
| T | Element type (scalar or compound). |
| Dims | Number of dimensions (1 or greater). |
| out | Output buffer (transposed matrix). |
| in | Input buffer (original matrix). |
| shape | Shape of the input matrix. |
Fully qualified name: kfr::matrix_transpose(T *, const T *, shape<Dims>)
Declared at base/transpose.hpp:646
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.