1 #ifndef __DSPLIB_MATRIX_H__
2 #define __DSPLIB_MATRIX_H__
754 #endif //__DSPLIB_MATRIX_H__
Parameter structure for the matrix subtract function.
Definition: DSPLib_matrix.h:80
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:202
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:110
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:52
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:301
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:268
uint16_t cols
Number of columns in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:190
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:59
uint16_t srcARows
Number of rows in source A matrix, must be a multiple of two.
Definition: DSPLib_matrix.h:124
int16_t offset
Q15 constant to add to the source matrix.
Definition: DSPLib_matrix.h:220
Parameter structure for the matrix transpose function.
Definition: DSPLib_matrix.h:94
Parameter structure for the real matrix shift function.
Definition: DSPLib_matrix.h:299
msp_status
Enumerated type to return the status of an operation.
Definition: DSPLib_types.h:78
Parameter structure for the real matrix scale function.
Definition: DSPLib_matrix.h:264
Parameter structure for the real matrix scale function.
Definition: DSPLib_matrix.h:246
uint16_t srcBCols
Number of columns in source B matrix, must be a multiple of two.
Definition: DSPLib_matrix.h:130
Parameter structure for the real matrix multiply function.
Definition: DSPLib_matrix.h:140
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:284
uint16_t srcACols
Number of columns in source A matrix, must be a multiple of two.
Definition: DSPLib_matrix.h:144
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:232
Parameter structure for the real matrix negate function.
Definition: DSPLib_matrix.h:158
int32_t offset
IQ31 constant to add to the source matrix.
Definition: DSPLib_matrix.h:236
uint16_t cols
Number of columns in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:84
Parameter structure for the real matrix absolute value function.
Definition: DSPLib_matrix.h:186
Parameter structure for the real matrix negate function.
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:70
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:40
uint16_t cols
Number of columns in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:286
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:108
Parameter structure for the matrix subtract function.
Definition: DSPLib_matrix.h:66
uint8_t shift
Integer amount to shift result matrix by, must be positive.
Definition: DSPLib_matrix.h:252
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:216
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:266
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:68
uint16_t cols
Number of columns in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:112
Parameter structure for the real matrix offset function.
Definition: DSPLib_matrix.h:214
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:42
uint8_t shift
Integer amount to shift result matrix by, must be positive.
Definition: DSPLib_matrix.h:270
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:162
uint16_t cols
Number of columns in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:56
int16_t _q15
Signed fixed point data type with 1 integer bit and 15 fractional bits.
Definition: DSPLib_types.h:38
int8_t shift
Definition: DSPLib_matrix.h:306
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:82
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:250
Parameter structure for the real matrix multiply function.
Definition: DSPLib_matrix.h:122
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:188
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:38
Parameter structure for the real matrix offset function.
Definition: DSPLib_matrix.h:230
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:160
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:272
uint16_t srcBRows
Number of rows in source B matrix, must be a multiple of two.
Definition: DSPLib_matrix.h:146
uint16_t srcBRows
Number of rows in source B matrix, must be a multiple of two.
Definition: DSPLib_matrix.h:128
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:96
uint16_t cols
Number of columns in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:303
int8_t shift
Definition: DSPLib_matrix.h:289
uint16_t srcARows
Number of rows in source A matrix, must be a multiple of two.
Definition: DSPLib_matrix.h:142
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:282
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:174
uint16_t cols
Number of columns in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:98
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:218
_q15 scale
Q15 constant multiplied with the source matrix.
Definition: DSPLib_matrix.h:254
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:248
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:148
uint16_t cols
Number of columns in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:234
Parameter structure for the real matrix absolute value function.
Definition: DSPLib_matrix.h:200
uint16_t cols
Number of columns in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:204
uint16_t srcACols
Number of columns in source A matrix, must be a multiple of two.
Definition: DSPLib_matrix.h:126
uint16_t cols
Number of columns in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:176
uint16_t rows
Number of rows in the source matrices, must be a multiple of two.
Definition: DSPLib_matrix.h:54