1 #ifndef __DSPLIB_VECTOR_H__
2 #define __DSPLIB_VECTOR_H__
1390 const _q15 *srcCmplx,
1391 const _q15 *srcReal,
1418 const _iq31 *srcCmplx,
1419 const _iq31 *srcReal,
1625 #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:151
Parameter structure for the Q15 vector offset function.
Definition: DSPLib_vector.h:187
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:93
Parameter structure for the Q15 vector multiply functions.
Definition: DSPLib_vector.h:91
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:327
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:555
Parameter structure for the Q15 signed vector minimum function.
Definition: DSPLib_vector.h:325
_iq31 offset
Offset to add to each vector element.
Definition: DSPLib_vector.h:205
Parameter structure for the Q15 unsigned vector maximum function.
Definition: DSPLib_vector.h:301
Parameter structure for the IQ31 vector absolute value function.
Definition: DSPLib_vector.h:175
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:59
Parameter structure for the IQ31 signed vector maximum function.
Definition: DSPLib_vector.h:289
int8_t shift
Definition: DSPLib_vector.h:267
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:313
_iq31 scale
q31 real fractional scale to multiply each complex vector element by.
Definition: DSPLib_vector.h:543
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:524
Parameter structure for the Q15 signed vector maximum function.
Definition: DSPLib_vector.h:277
_q15 scale
Q15 fractional value scale to multiply each vector element by.
Definition: DSPLib_vector.h:219
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:315
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:177
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:411
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:303
Parameter structure for the Q15 unsigned vector minimum function.
Definition: DSPLib_vector.h:349
msp_status
Enumerated type to return the status of an operation.
Definition: DSPLib_types.h:78
Parameter structure for the Q15 complex vector multiply by real functions.
Definition: DSPLib_vector.h:446
Parameter structure for the IQ31 signed vector minimum function.
Definition: DSPLib_vector.h:337
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:522
Parameter structure for the vector offset function.
Definition: DSPLib_vector.h:201
Parameter structure for the IQ31 unsigned vector minimum function.
Definition: DSPLib_vector.h:361
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:249
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:217
int8_t shift
Definition: DSPLib_vector.h:577
Parameter structure for the Q15 complex vector multiply and accumulate function.
Definition: DSPLib_vector.h:472
_q15 offset
Offset to add to each vector element.
Definition: DSPLib_vector.h:191
_q15 scale
Q15 real fractional scale to multiply each complex vector element by.
Definition: DSPLib_vector.h:526
int8_t shift
Definition: DSPLib_vector.h:252
uint16_t _uq15
Unsigned fixed point data type with 0 integer bit and 16 fractional bits.
Definition: DSPLib_types.h:49
uint16_t length
Length of source data, must be a multiple of two.
Definition: DSPLib_vector.h:117
Parameter structure for the Q15 vector add functions.
Definition: DSPLib_vector.h:43
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:221
Parameter structure for the IQ31 complex vector conjugate function.
Definition: DSPLib_vector.h:509
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:423
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:264
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:511
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:105
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:474
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:103
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:499
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:127
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:57
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:461
Parameter structure for the Q15 complex vector subtract functions.
Definition: DSPLib_vector.h:397
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:215
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:572
Parameter structure for the IQ31 vector subtract functions.
Definition: DSPLib_vector.h:79
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:497
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:459
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:279
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:153
Parameter structure for the Q15 vector multiply and accumulate function.
Definition: DSPLib_vector.h:115
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:487
uint16_t length
Length of source data, must be a multiple of two.
Definition: DSPLib_vector.h:129
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:203
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:545
Parameter structure for the IQ31 vector scale function.
Definition: DSPLib_vector.h:231
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:448
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:69
int16_t _q15
Signed fixed point data type with 1 integer bit and 15 fractional bits.
Definition: DSPLib_types.h:38
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:375
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:141
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:557
_iq31 scale
q31 fractional value scale to multiply each vector element by.
Definition: DSPLib_vector.h:235
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:45
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:262
Parameter structure for the IQ31 complex vector scale by real function.
Definition: DSPLib_vector.h:539
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:485
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:291
int8_t shift
Definition: DSPLib_vector.h:560
uint8_t shift
Unsigned integer value to shift each complex vector result left by.
Definition: DSPLib_vector.h:528
Parameter structure for the IQ31 complex vector subtract functions.
Definition: DSPLib_vector.h:409
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:339
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:385
Parameter structure for the Q15 vector subtract functions.
Definition: DSPLib_vector.h:67
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:139
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:165
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:579
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:399
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:163
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:435
uint32_t _uq31
Unsigned fixed point data type with 0 integer bits and 32 fractional bits.
Definition: DSPLib_types.h:69
uint8_t shift
Unsigned integer value to shift each vector result left by.
Definition: DSPLib_vector.h:237
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:247
Parameter structure for the IQ31 complex vector multiply functions.
Definition: DSPLib_vector.h:433
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:562
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:189
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:351
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:574
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:541
Parameter structure for the Q15 complex vector multiply functions.
Definition: DSPLib_vector.h:421
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:233
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:81
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:363
Parameter structure for the IQ31 vector add functions.
Definition: DSPLib_vector.h:55
Parameter structure for the Q15 complex vector add functions.
Definition: DSPLib_vector.h:373
uint16_t length
Length of source and destination data, must be a multiple of two.
Definition: DSPLib_vector.h:387