CMSIS DSP Library from CMSIS 2.0. See http://www.onarm.com/cmsis/ for full details

Dependents:   K22F_DSP_Matrix_least_square BNO055-ELEC3810 1BNO055 ECE4180Project--Slave2 ... more

Embed: (wiki syntax)

« Back to documentation index

Matrix Transpose

Matrix Transpose
[Matrix Functions]

Tranposes a matrix. More...

Functions

arm_status arm_mat_trans_f32 (const arm_matrix_instance_f32 *pSrc, arm_matrix_instance_f32 *pDst)
 Floating-point matrix transpose.
arm_status arm_mat_trans_q15 (const arm_matrix_instance_q15 *pSrc, arm_matrix_instance_q15 *pDst)
 Q15 matrix transpose.
arm_status arm_mat_trans_q31 (const arm_matrix_instance_q31 *pSrc, arm_matrix_instance_q31 *pDst)
 Q31 matrix transpose.

Detailed Description

Tranposes a matrix.

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

MatrixTranspose.gif

Transpose of a 3 x 3 matrix


Function Documentation

arm_status arm_mat_trans_f32 ( const arm_matrix_instance_f32 pSrc,
arm_matrix_instance_f32 pDst 
)

Floating-point matrix transpose.

Parameters:
[in]*pSrcpoints to the input matrix
[out]*pDstpoints to the output matrix
Returns:
The function returns either ARM_MATH_SIZE_MISMATCH or ARM_MATH_SUCCESS based on the outcome of size checking.

Definition at line 61 of file arm_mat_trans_f32.c.

arm_status arm_mat_trans_q15 ( const arm_matrix_instance_q15 pSrc,
arm_matrix_instance_q15 pDst 
)

Q15 matrix transpose.

Parameters:
[in]*pSrcpoints to the input matrix
[out]*pDstpoints to the output matrix
Returns:
The function returns either ARM_MATH_SIZE_MISMATCH or ARM_MATH_SUCCESS based on the outcome of size checking.

Definition at line 52 of file arm_mat_trans_q15.c.

arm_status arm_mat_trans_q31 ( const arm_matrix_instance_q31 pSrc,
arm_matrix_instance_q31 pDst 
)

Q31 matrix transpose.

Parameters:
[in]*pSrcpoints to the input matrix
[out]*pDstpoints to the output matrix
Returns:
The function returns either ARM_MATH_SIZE_MISMATCH or ARM_MATH_SUCCESS based on the outcome of size checking.

Definition at line 52 of file arm_mat_trans_q31.c.