CMSIS-DSP  
CMSIS DSP Software Library
Matrix Transpose

Functions

arm_status arm_mat_trans_f16 (const arm_matrix_instance_f16 *pSrc, arm_matrix_instance_f16 *pDst)
 Floating-point matrix transpose. More...
 
arm_status arm_mat_trans_f32 (const arm_matrix_instance_f32 *pSrc, arm_matrix_instance_f32 *pDst)
 Floating-point matrix transpose. More...
 
arm_status arm_mat_trans_f64 (const arm_matrix_instance_f64 *pSrc, arm_matrix_instance_f64 *pDst)
 Floating-point matrix transpose. More...
 
arm_status arm_mat_trans_q15 (const arm_matrix_instance_q15 *pSrc, arm_matrix_instance_q15 *pDst)
 Q15 matrix transpose. More...
 
arm_status arm_mat_trans_q31 (const arm_matrix_instance_q31 *pSrc, arm_matrix_instance_q31 *pDst)
 Q31 matrix transpose. More...
 
arm_status arm_mat_trans_q7 (const arm_matrix_instance_q7 *pSrc, arm_matrix_instance_q7 *pDst)
 Q7 matrix transpose. More...
 

Description

Tranposes a matrix.

Transposing an M x N matrix flips it around the center diagonal and results in an N x M matrix.

Transpose of a 3 x 3 matrix

\[ \begin{pmatrix} a_{1,1} & a_{1,2} & a_{1,3} \\ a_{2,1} & a_{2,2} & a_{2,3} \\ a_{3,1} & a_{3,2} & a_{3,3} \\ \end{pmatrix}^T = \begin{pmatrix} a_{1,1} & a_{2,1} & a_{3,1} \\ a_{1,2} & a_{2,2} & a_{3,2} \\ a_{1,3} & a_{2,3} & a_{3,3} \\ \end{pmatrix} \]

Tranposes a matrix.

Transposing an M x N matrix flips it around the center diagonal and results in an N x M matrix.

Transpose of a 3 x 3 matrix

Function Documentation

◆ arm_mat_trans_f16()

arm_status arm_mat_trans_f16 ( const arm_matrix_instance_f16 pSrc,
arm_matrix_instance_f16 pDst 
)
Parameters
[in]pSrcpoints to input matrix
[out]pDstpoints to output matrix
Returns
execution status

◆ arm_mat_trans_f32()

arm_status arm_mat_trans_f32 ( const arm_matrix_instance_f32 pSrc,
arm_matrix_instance_f32 pDst 
)
Parameters
[in]pSrcpoints to input matrix
[out]pDstpoints to output matrix
Returns
execution status

◆ arm_mat_trans_f64()

arm_status arm_mat_trans_f64 ( const arm_matrix_instance_f64 pSrc,
arm_matrix_instance_f64 pDst 
)
Parameters
[in]pSrcpoints to input matrix
[out]pDstpoints to output matrix
Returns
execution status

◆ arm_mat_trans_q15()

arm_status arm_mat_trans_q15 ( const arm_matrix_instance_q15 pSrc,
arm_matrix_instance_q15 pDst 
)
Parameters
[in]pSrcpoints to input matrix
[out]pDstpoints to output matrix
Returns
execution status

◆ arm_mat_trans_q31()

arm_status arm_mat_trans_q31 ( const arm_matrix_instance_q31 pSrc,
arm_matrix_instance_q31 pDst 
)
Parameters
[in]pSrcpoints to input matrix
[out]pDstpoints to output matrix
Returns
execution status

◆ arm_mat_trans_q7()

arm_status arm_mat_trans_q7 ( const arm_matrix_instance_q7 pSrc,
arm_matrix_instance_q7 pDst 
)
Parameters
[in]pSrcpoints to input matrix
[out]pDstpoints to output matrix
Returns
execution status