1 #ifndef __DSPLIB_VECTOR_H__
2 #define __DSPLIB_VECTOR_H__
1545 const _q15 *srcCmplx,
1546 const _q15 *srcReal,
1578 const _iq31 *srcCmplx,
1579 const _iq31 *srcReal,
1821 #endif //__DSPLIB_VECTOR_H__
msp_status msp_add_iq31(const msp_add_iq31_params *params, const _iq31 *srcA, const _iq31 *srcB, _iq31 *dst)
Addition of two real source vectors.
Parameter structure for the IQ31 vector negate function.
Definition: DSPLib_vector.h:147
Parameter structure for the Q15 vector offset function.
Definition: DSPLib_vector.h:183
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:89
Parameter structure for the Q15 vector multiply functions.
Definition: DSPLib_vector.h:87
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:323
msp_status msp_min_iq31(const msp_min_iq31_params *params, const _iq31 *src, _iq31 *min, uint16_t *index)
Signed minimum of a source vector.
Parameter structure for the Q15 complex vector shift function.
Definition: DSPLib_vector.h:551
Parameter structure for the Q15 signed vector minimum function.
Definition: DSPLib_vector.h:321
_iq31 offset
Offset to add to each vector element.
Definition: DSPLib_vector.h:201
Parameter structure for the Q15 unsigned vector maximum function.
Definition: DSPLib_vector.h:297
Parameter structure for the IQ31 vector absolute value function.
Definition: DSPLib_vector.h:171
msp_status msp_mac_q15(const msp_mac_q15_params *params, const _q15 *srcA, const _q15 *srcB, _iq31 *result)
Multiply and accumulate of real source vectors.
int32_t _iq31
Signed fixed point data type with 1 integer bit and 31 fractional bits.
Definition: DSPLib_types.h:100
Parameter structure for the IQ31 signed vector maximum function.
Definition: DSPLib_vector.h:285
int8_t shift
Definition: DSPLib_vector.h:263
msp_status msp_scale_q15(const msp_scale_q15_params *params, const _q15 *src, _q15 *dst)
Scale a real source vector.
Parameter structure for the IQ31 unsigned vector maximum function.
Definition: DSPLib_vector.h:309
_iq31 scale
q31 real fractional scale to multiply each complex vector element by.
Definition: DSPLib_vector.h:539
msp_status msp_cmplx_add_iq31(const msp_cmplx_add_iq31_params *params, const _iq31 *srcA, const _iq31 *srcB, _iq31 *dst)
Addition of two complex source vectors.
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:520
Parameter structure for the Q15 signed vector maximum function.
Definition: DSPLib_vector.h:273
_q15 scale
Q15 fractional value scale to multiply each vector element by.
Definition: DSPLib_vector.h:215
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:311
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:173
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:407
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:299
Parameter structure for the Q15 unsigned vector minimum function.
Definition: DSPLib_vector.h:345
msp_status
Enumerated type to return the status of an operation.
Definition: DSPLib_types.h:119
Parameter structure for the Q15 complex vector multiply by real functions.
Definition: DSPLib_vector.h:442
Parameter structure for the IQ31 signed vector minimum function.
Definition: DSPLib_vector.h:333
msp_status msp_min_uq15(const msp_min_uq15_params *params, const _uq15 *src, _uq15 *min, uint16_t *index)
Unsigned minimum of a source vector.
msp_status msp_mpy_q15(const msp_mpy_q15_params *params, const _q15 *srcA, const _q15 *srcB, _q15 *dst)
Multiplication of two real source vectors.
Parameter structure for the Q15 complex vector scale by real function.
Definition: DSPLib_vector.h:518
Parameter structure for the vector offset function.
Definition: DSPLib_vector.h:197
Parameter structure for the IQ31 unsigned vector minimum function.
Definition: DSPLib_vector.h:357
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:245
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:213
int8_t shift
Definition: DSPLib_vector.h:573
Parameter structure for the Q15 complex vector multiply and accumulate function.
Definition: DSPLib_vector.h:468
_q15 offset
Offset to add to each vector element.
Definition: DSPLib_vector.h:187
_q15 scale
Q15 real fractional scale to multiply each complex vector element by.
Definition: DSPLib_vector.h:522
int8_t shift
Definition: DSPLib_vector.h:248
uint16_t _uq15
Unsigned fixed point data type with 0 integer bit and 16 fractional bits.
Definition: DSPLib_types.h:90
uint16_t length
Length of source data, must be a multiple of two.
Definition: DSPLib_vector.h:113
Parameter structure for the Q15 vector add functions.
Definition: DSPLib_vector.h:39
msp_status msp_min_q15(const msp_min_q15_params *params, const _q15 *src, _q15 *min, uint16_t *index)
Signed minimum of a source vector.
uint8_t shift
Unsigned integer value to shift each vector result left by.
Definition: DSPLib_vector.h:217
Parameter structure for the IQ31 complex vector conjugate function.
Definition: DSPLib_vector.h:505
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:419
msp_status msp_shift_iq31(const msp_shift_iq31_params *params, const _iq31 *src, _iq31 *dst)
Bitwise shift of a real source vector.
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:260
msp_status msp_sub_q15(const msp_sub_q15_params *params, const _q15 *srcA, const _q15 *srcB, _q15 *dst)
Subtraction of two real source vectors.
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:507
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:101
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:470
msp_status msp_cmplx_conj_iq31(const msp_cmplx_conj_iq31_params *params, const _iq31 *src, _iq31 *dst)
Conjugation of a source vector.
Parameter structure for the IQ31 vector multiply functions.
Definition: DSPLib_vector.h:99
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:495
msp_status msp_cmplx_add_q15(const msp_cmplx_add_q15_params *params, const _q15 *srcA, const _q15 *srcB, _q15 *dst)
Addition of two complex source vectors.
Parameter structure for the IQ31 vector multiply and accumulate function.
Definition: DSPLib_vector.h:123
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:53
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:457
Parameter structure for the Q15 complex vector subtract functions.
Definition: DSPLib_vector.h:393
msp_status msp_add_q15(const msp_add_q15_params *params, const _q15 *srcA, const _q15 *srcB, _q15 *dst)
Addition of two real source vectors.
msp_status msp_cmplx_shift_iq31(const msp_cmplx_shift_iq31_params *params, const _iq31 *src, _iq31 *dst)
Bitwise shift of a complex source vector.
Parameter structure for the Q15 vector scale function.
Definition: DSPLib_vector.h:211
msp_status msp_neg_iq31(const msp_neg_iq31_params *params, const _iq31 *src, _iq31 *dst)
Negation of a source vector.
Parameter structure for the IQ31 complex vector shift function.
Definition: DSPLib_vector.h:568
Parameter structure for the IQ31 vector subtract functions.
Definition: DSPLib_vector.h:75
msp_status msp_cmplx_mac_iq31(const msp_cmplx_mac_iq31_params *params, const _iq31 *srcA, const _iq31 *srcB, _iq31 *result)
Multiply and accumulate of complex source vectors.
Parameter structure for the Q15 complex vector conjugate function.
Definition: DSPLib_vector.h:493
msp_status msp_cmplx_mac_q15(const msp_cmplx_mac_q15_params *params, const _q15 *srcA, const _q15 *srcB, _iq31 *result)
Multiply and accumulate of complex source vectors.
Parameter structure for the IQ31 complex vector multiply by real functions.
Definition: DSPLib_vector.h:455
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:275
msp_status msp_offset_q15(const msp_offset_q15_params *params, const _q15 *src, _q15 *dst)
Constant offset of a real source vector.
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:149
Parameter structure for the Q15 vector multiply and accumulate function.
Definition: DSPLib_vector.h:111
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:483
uint16_t length
Length of source data, must be a multiple of two.
Definition: DSPLib_vector.h:125
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:199
msp_status msp_offset_iq31(const msp_offset_iq31_params *params, const _iq31 *src, _iq31 *dst)
Constant offset of a real source vector.
uint8_t shift
Unsigned integer value to shift each complex vector result left by.
Definition: DSPLib_vector.h:541
Parameter structure for the IQ31 vector scale function.
Definition: DSPLib_vector.h:227
msp_status msp_mac_iq31(const msp_mac_iq31_params *params, const _iq31 *srcA, const _iq31 *srcB, _iq31 *result)
Multiply and accumulate of real source vectors.
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:444
msp_status msp_min_uq31(const msp_min_uq31_params *params, const _uq31 *src, _uq31 *min, uint16_t *index)
Unsigned minimum of a source vector.
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:65
int16_t _q15
Signed fixed point data type with 1 integer bit and 15 fractional bits.
Definition: DSPLib_types.h:79
msp_status msp_cmplx_mpy_iq31(const msp_cmplx_mpy_iq31_params *params, const _iq31 *srcA, const _iq31 *srcB, _iq31 *dst)
Multiplication of complex source vectors.
msp_status msp_cmplx_scale_q15(const msp_cmplx_scale_q15_params *params, const _q15 *src, _q15 *dst)
Scale a complex source vector.
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:371
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:137
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:553
_iq31 scale
q31 fractional value scale to multiply each vector element by.
Definition: DSPLib_vector.h:231
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:41
msp_status msp_scale_iq31(const msp_scale_iq31_params *params, const _iq31 *src, _iq31 *dst)
Scale a real source vector.
msp_status msp_max_uq15(const msp_max_uq15_params *params, const _uq15 *src, _uq15 *max, uint16_t *index)
Unsigned maximum of a source vector.
Parameter structure for the IQ31 vector shift function.
Definition: DSPLib_vector.h:258
Parameter structure for the IQ31 complex vector scale by real function.
Definition: DSPLib_vector.h:535
msp_status msp_neg_q15(const msp_neg_q15_params *params, const _q15 *src, _q15 *dst)
Negation of a source vector.
msp_status msp_cmplx_sub_iq31(const msp_cmplx_sub_iq31_params *params, const _iq31 *srcA, const _iq31 *srcB, _iq31 *dst)
Subtraction of two complex source vectors.
Parameter structure for the IQ31 complex vector multiply and accumulate function. ...
Definition: DSPLib_vector.h:481
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:287
int8_t shift
Definition: DSPLib_vector.h:556
uint8_t shift
Unsigned integer value to shift each complex vector result left by.
Definition: DSPLib_vector.h:524
Parameter structure for the IQ31 complex vector subtract functions.
Definition: DSPLib_vector.h:405
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:335
msp_status msp_cmplx_mpy_real_q15(const msp_cmplx_mpy_real_q15_params *params, const _q15 *srcCmplx, const _q15 *srcReal, _q15 *dst)
Multiplication of complex source vector by real source vector.
msp_status msp_max_iq31(const msp_max_iq31_params *params, const _iq31 *src, _iq31 *max, uint16_t *index)
Signed maximum of a source vector.
Parameter structure for the IQ31 complex vector add functions.
Definition: DSPLib_vector.h:381
Parameter structure for the Q15 vector subtract functions.
Definition: DSPLib_vector.h:63
msp_status msp_cmplx_mpy_real_iq31(const msp_cmplx_mpy_real_iq31_params *params, const _iq31 *srcCmplx, const _iq31 *srcReal, _iq31 *dst)
Multiplication of complex source vector by real source vector.
Parameter structure for the Q15 vector negate function.
Definition: DSPLib_vector.h:135
msp_status msp_max_uq31(const msp_max_uq31_params *params, const _uq31 *src, _uq31 *max, uint16_t *index)
Unsigned maximum of a source vector.
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:161
msp_status msp_shift_q15(const msp_shift_q15_params *params, const _q15 *src, _q15 *dst)
Bitwise shift of a real source vector.
bool conjugate
Take complex conjugate of the result.
Definition: DSPLib_vector.h:575
msp_status msp_cmplx_conj_q15(const msp_cmplx_conj_q15_params *params, const _q15 *src, _q15 *dst)
Conjugation of a source vector.
msp_status msp_cmplx_sub_q15(const msp_cmplx_sub_q15_params *params, const _q15 *srcA, const _q15 *srcB, _q15 *dst)
Subtraction of two complex source vectors.
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:395
msp_status msp_sub_iq31(const msp_sub_iq31_params *params, const _iq31 *srcA, const _iq31 *srcB, _iq31 *dst)
Subtraction of two real source vectors.
Parameter structure for the Q15 vector absolute value function.
Definition: DSPLib_vector.h:159
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:431
uint32_t _uq31
Unsigned fixed point data type with 0 integer bits and 32 fractional bits.
Definition: DSPLib_types.h:110
uint8_t shift
Unsigned integer value to shift each vector result left by.
Definition: DSPLib_vector.h:233
msp_status msp_cmplx_shift_q15(const msp_cmplx_shift_q15_params *params, const _q15 *src, _q15 *dst)
Bitwise shift of a complex source vector.
Parameter structure for the Q15 vector shift function.
Definition: DSPLib_vector.h:243
Parameter structure for the IQ31 complex vector multiply functions.
Definition: DSPLib_vector.h:429
msp_status msp_max_q15(const msp_max_q15_params *params, const _q15 *src, _q15 *max, uint16_t *index)
Signed maximum of a source vector.
bool conjugate
Return complex conjugate result.
Definition: DSPLib_vector.h:558
msp_status msp_abs_q15(const msp_abs_q15_params *params, const _q15 *src, _q15 *dst)
Absolute value of a real source vector.
msp_status msp_cmplx_scale_iq31(const msp_cmplx_scale_iq31_params *params, const _iq31 *src, _iq31 *dst)
Scale a complex source vector.
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:185
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:347
msp_status msp_abs_iq31(const msp_abs_iq31_params *params, const _iq31 *src, _iq31 *dst)
Absolute value of a real source vector.
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:570
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:537
Parameter structure for the Q15 complex vector multiply functions.
Definition: DSPLib_vector.h:417
msp_status msp_cmplx_mpy_q15(const msp_cmplx_mpy_q15_params *params, const _q15 *srcA, const _q15 *srcB, _q15 *dst)
Multiplication of two complex source vectors.
msp_status msp_mpy_iq31(const msp_mpy_iq31_params *params, const _iq31 *srcA, const _iq31 *srcB, _iq31 *dst)
Multiplication of two real source vectors.
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:229
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:77
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:359
Parameter structure for the IQ31 vector add functions.
Definition: DSPLib_vector.h:51
Parameter structure for the Q15 complex vector add functions.
Definition: DSPLib_vector.h:369
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:383