Skip to content
fn

transpose_to_col_major_f32

void transpose_to_col_major_f32(const float * src, float * dst, int rows, int cols)

Single-precision row-major → column-major transpose (LAPACK ingress).

Used internally by the LAPACK wrappers to convert Lucid's row-major tensors into the column-major layout LAPACK expects. Backed by vDSP_mtrans for SIMD-accelerated in-cache transposition.

References

Accelerate.framework vDSP_mtrans.

Parameters

srcconst float*
Source row-major matrix, rows × cols.
dstfloat*
Destination column-major buffer of identical element count.
rows, colsint
Source dimensions (row count and column count of the row-major input).