LIBML
Version 3.2.4
LIBML DSP Software Library
|
Functions | |
void | tpt_abs_f32 (f32_t *__restrict aOutData, const f32_t *__restrict aInData, uint32_t aCount) |
Floating-point vector absolute value. More... | |
void | tpt_abs_f64 (f64_t *__restrict aOutData, const f64_t *__restrict aInData, uint32_t aCount) |
Floating-point vector absolute value. More... | |
void | tpt_abs_q15 (q15_t *__restrict aOutData, const q15_t *__restrict aInData, uint32_t aCount) |
Q15 vector absolute value. More... | |
void | tpt_abs_q31 (q31_t *__restrict aOutData, const q31_t *__restrict aInData, uint32_t aCount) |
Q31 vector absolute value. More... | |
void | tpt_abs_q7 (q7_t *__restrict aOutData, const q7_t *__restrict aInData, uint32_t aCount) |
Q7 vector absolute value. More... | |
Computes the absolute value of a vector on an element-by-element basis.
aOutData[n] = abs(aInData[n]), 0 <= n < aCount.
The functions support in-place computation allowing the source and destination pointers to reference the same memory buffer. There are separate functions for floating-point, Q7, Q15, and Q31 data types.
Floating-point vector absolute value.
[out] | aOutData | points to the output vector |
[in] | aInData | points to the input vector |
[in] | aCount | number of samples in each vector |
Floating-point vector absolute value.
[out] | aOutData | points to the output vector |
[in] | aInData | points to the input vector |
[in] | aCount | number of samples in each vector |
Q15 vector absolute value.
[out] | aOutData | points to the output vector |
[in] | aInData | points to the input vector |
[in] | aCount | number of samples in each vector |
Q31 vector absolute value.
[out] | aOutData | points to the output vector |
[in] | aInData | points to the input vector |
[in] | aCount | number of samples in each vector |
Q7 vector absolute value.
[out] | aOutData | points to the output vector |
[in] | aInData | points to the input vector |
[in] | aCount | number of samples in each vector |