Transposing a Matrix using RISC-V Vector
Transposing a square matrix1 A is computing A⊤ its symmetry with respect to its diagonal: the i-th row becomes the i-th column. In Linear algebra, transposing a matrix is a standard operation which is useful in many linear algebra application. For example, if you want to multiply two matrices stored in row-major format (elements from the same row are stored contiguously in memory) it can be useful to first store the right hand side matrix in column-major layout before doing the multiplication. (...
Read more at fprox.substack.com