LIBML  Version 3.2.4
LIBML DSP Software Library
Functions
Matrix Transpose
Collaboration diagram for Matrix Transpose:

Functions

void tpt_mat_trans_f32 (f32_t *aOutMat, const f32_t *aInMat, uint16_t aRows, uint16_t aCols)
 Floating-point matrix transpose. More...
 
void tpt_mat_trans_f64 (f64_t *aOutMat, const f64_t *aInMat, uint16_t aRows, uint16_t aCols)
 Floating-point matrix transpose. More...
 
void tpt_mat_trans_q15 (q15_t *aOutMat, const q15_t *aInMat, uint16_t aRows, uint16_t aCols)
 Q15 matrix transpose. More...
 
void tpt_mat_trans_q31 (q31_t *aOutMat, const q31_t *aInMat, uint16_t aRows, uint16_t aCols)
 Q31 matrix transpose. More...
 

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.

Transpose of a 3 x 3 matrix

Function Documentation

◆ tpt_mat_trans_f32()

void tpt_mat_trans_f32 ( f32_t aOutMat,
const f32_t aInMat,
uint16_t  aRows,
uint16_t  aCols 
)

Floating-point matrix transpose.

Parameters
[out]aOutMatpoints to output matrix
[in]aInMatpoints to input matrix
[in]aRowsrows of matrix
[in]aColscolumns of matrix
Returns
none

◆ tpt_mat_trans_f64()

void tpt_mat_trans_f64 ( f64_t aOutMat,
const f64_t aInMat,
uint16_t  aRows,
uint16_t  aCols 
)

Floating-point matrix transpose.

Parameters
[out]aOutMatpoints to output matrix
[in]aInMatpoints to input matrix
[in]aRowsrows of matrix
[in]aColscolumns of matrix
Returns
none

◆ tpt_mat_trans_q15()

void tpt_mat_trans_q15 ( q15_t aOutMat,
const q15_t aInMat,
uint16_t  aRows,
uint16_t  aCols 
)

Q15 matrix transpose.

Parameters
[out]aOutMatpoints to output matrix
[in]aInMatpoints to input matrix
[in]aRowsrows of matrix
[in]aColscolumns of matrix
Returns
none

◆ tpt_mat_trans_q31()

void tpt_mat_trans_q31 ( q31_t aOutMat,
const q31_t aInMat,
uint16_t  aRows,
uint16_t  aCols 
)

Q31 matrix transpose.

Parameters
[out]aOutMatpoints to output matrix
[in]aInMatpoints to input matrix
[in]aRowsrows of matrix
[in]aColscolumns of matrix
Returns
none