1 #ifndef __DSPLIB_MATRIX_H__
2 #define __DSPLIB_MATRIX_H__
836 #endif //__DSPLIB_MATRIX_H__
Parameter structure for the matrix subtract function.
Definition: DSPLib_matrix.h:78
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:200
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:108
msp_status msp_matrix_offset_q15(const msp_matrix_offset_q15_params *params, const _q15 *src, _q15 *dst)
Constant offset of a real source matrix.
Parameter structure for the matrix add function.
Definition: DSPLib_matrix.h:50
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:299
msp_status msp_matrix_shift_q15(const msp_matrix_shift_q15_params *params, const _q15 *src, _q15 *dst)
Bitwise shift of a real source matrix.
uint16_t cols
Number of columns in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:266
uint16_t cols
Number of columns in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:188
msp_status msp_matrix_neg_iq31(const msp_matrix_neg_iq31_params *params, const _iq31 *src, _iq31 *dst)
Negation of a source matrix.
int32_t _iq31
Signed fixed point data type with 1 integer bit and 31 fractional bits.
Definition: DSPLib_types.h:100
uint16_t srcARows
Number of rows in source A matrix, must be a multiple of two.
Definition: DSPLib_matrix.h:122
int16_t offset
Q15 constant to add to the source matrix.
Definition: DSPLib_matrix.h:218
Parameter structure for the matrix transpose function.
Definition: DSPLib_matrix.h:92
Parameter structure for the real matrix shift function.
Definition: DSPLib_matrix.h:297
msp_status
Enumerated type to return the status of an operation.
Definition: DSPLib_types.h:119
Parameter structure for the real matrix scale function.
Definition: DSPLib_matrix.h:262
Parameter structure for the real matrix scale function.
Definition: DSPLib_matrix.h:244
uint16_t srcBCols
Number of columns in source B matrix, must be a multiple of two.
Definition: DSPLib_matrix.h:128
Parameter structure for the real matrix multiply function.
Definition: DSPLib_matrix.h:138
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:282
uint16_t srcACols
Number of columns in source A matrix, must be a multiple of two.
Definition: DSPLib_matrix.h:142
msp_status msp_matrix_trans_q15(const msp_matrix_trans_q15_params *params, const _q15 *src, _q15 *dst)
Transposition of a source matrix.
msp_status msp_matrix_scale_iq31(const msp_matrix_scale_iq31_params *params, const _iq31 *src, _iq31 *dst)
Scale a real source matrix.
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:230
Parameter structure for the real matrix negate function.
Definition: DSPLib_matrix.h:156
int32_t offset
IQ31 constant to add to the source matrix.
Definition: DSPLib_matrix.h:234
uint16_t cols
Number of columns in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:82
Parameter structure for the real matrix absolute value function.
Definition: DSPLib_matrix.h:184
Parameter structure for the real matrix negate function.
Definition: DSPLib_matrix.h:170
uint16_t cols
Number of columns in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:68
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:38
uint16_t cols
Number of columns in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:284
msp_status msp_matrix_shift_iq31(const msp_matrix_shift_iq31_params *params, const _iq31 *src, _iq31 *dst)
Bitwise shift of a real source matrix.
Parameter structure for the matrix transpose function.
Definition: DSPLib_matrix.h:106
Parameter structure for the matrix subtract function.
Definition: DSPLib_matrix.h:64
uint8_t shift
Integer amount to shift result matrix by, must be positive.
Definition: DSPLib_matrix.h:250
msp_status msp_matrix_mpy_q15(const msp_matrix_mpy_q15_params *params, const _q15 *srcA, const _q15 *srcB, _q15 *dst)
Multiplication of two real source matrices.
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:214
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:264
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:66
uint16_t cols
Number of columns in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:110
Parameter structure for the real matrix offset function.
Definition: DSPLib_matrix.h:212
msp_status msp_matrix_add_iq31(const msp_matrix_add_iq31_params *params, const _iq31 *srcA, const _iq31 *srcB, _iq31 *dst)
Addition of two real source matrices.
uint16_t cols
Number of columns in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:40
uint8_t shift
Integer amount to shift result matrix by, must be positive.
Definition: DSPLib_matrix.h:268
msp_status msp_matrix_sub_q15(const msp_matrix_sub_q15_params *params, const _q15 *srcA, const _q15 *srcB, _q15 *dst)
Subtraction of two real source matrices.
uint16_t cols
Number of columns in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:160
uint16_t cols
Number of columns in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:54
int16_t _q15
Signed fixed point data type with 1 integer bit and 15 fractional bits.
Definition: DSPLib_types.h:79
int8_t shift
Definition: DSPLib_matrix.h:304
msp_status msp_matrix_abs_q15(const msp_matrix_abs_q15_params *params, const _q15 *src, _q15 *dst)
Absolute value of a real source matrix.
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:80
msp_status msp_matrix_neg_q15(const msp_matrix_neg_q15_params *params, const _q15 *src, _q15 *dst)
Negation of a source matrix.
uint16_t cols
Number of columns in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:248
Parameter structure for the real matrix multiply function.
Definition: DSPLib_matrix.h:120
msp_status msp_matrix_mpy_iq31(const msp_matrix_mpy_iq31_params *params, const _iq31 *srcA, const _iq31 *srcB, _iq31 *dst)
Multiplication of two real source matrices.
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:186
msp_status msp_matrix_offset_iq31(const msp_matrix_offset_iq31_params *params, const _iq31 *src, _iq31 *dst)
Constant offset of a real source matrix.
Parameter structure for the matrix add function.
Definition: DSPLib_matrix.h:36
Parameter structure for the real matrix offset function.
Definition: DSPLib_matrix.h:228
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:158
msp_status msp_matrix_scale_q15(const msp_matrix_scale_q15_params *params, const _q15 *src, _q15 *dst)
Scale a real source matrix.
msp_status msp_matrix_abs_iq31(const msp_matrix_abs_iq31_params *params, const _iq31 *src, _iq31 *dst)
Absolute value of a real source matrix.
_iq31 scale
IQ31 constant multiplied with the source matrix.
Definition: DSPLib_matrix.h:270
uint16_t srcBRows
Number of rows in source B matrix, must be a multiple of two.
Definition: DSPLib_matrix.h:144
uint16_t srcBRows
Number of rows in source B matrix, must be a multiple of two.
Definition: DSPLib_matrix.h:126
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:94
uint16_t cols
Number of columns in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:301
int8_t shift
Definition: DSPLib_matrix.h:287
uint16_t srcARows
Number of rows in source A matrix, must be a multiple of two.
Definition: DSPLib_matrix.h:140
msp_status msp_matrix_sub_iq31(const msp_matrix_sub_iq31_params *params, const _iq31 *srcA, const _iq31 *srcB, _iq31 *dst)
Subtraction of two real source matrices.
Parameter structure for the real matrix shift function.
Definition: DSPLib_matrix.h:280
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:172
uint16_t cols
Number of columns in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:96
msp_status msp_matrix_add_q15(const msp_matrix_add_q15_params *params, const _q15 *srcA, const _q15 *srcB, _q15 *dst)
Addition of two real source matrices.
uint16_t cols
Number of columns in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:216
_q15 scale
Q15 constant multiplied with the source matrix.
Definition: DSPLib_matrix.h:252
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:246
msp_status msp_matrix_trans_iq31(const msp_matrix_trans_iq31_params *params, const _iq31 *src, _iq31 *dst)
Transposition of a source matrix.
uint16_t srcBCols
Number of columns in source B matrix, must be a multiple of two.
Definition: DSPLib_matrix.h:146
uint16_t cols
Number of columns in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:232
Parameter structure for the real matrix absolute value function.
Definition: DSPLib_matrix.h:198
uint16_t cols
Number of columns in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:202
uint16_t srcACols
Number of columns in source A matrix, must be a multiple of two.
Definition: DSPLib_matrix.h:124
uint16_t cols
Number of columns in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:174
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:52