From 96d6da4e252b06dcfdc041e7df23e86161c33007 Mon Sep 17 00:00:00 2001 From: rihab kouki Date: Tue, 28 Jul 2020 11:24:49 +0100 Subject: Official ARM version: v5.6.0 --- docs/DSP/html/group__cmplx__conj.html | 77 ++++++++++++++++------------------- 1 file changed, 36 insertions(+), 41 deletions(-) (limited to 'docs/DSP/html/group__cmplx__conj.html') diff --git a/docs/DSP/html/group__cmplx__conj.html b/docs/DSP/html/group__cmplx__conj.html index 81176b7..5f9f696 100644 --- a/docs/DSP/html/group__cmplx__conj.html +++ b/docs/DSP/html/group__cmplx__conj.html @@ -32,7 +32,7 @@ Logo
CMSIS-DSP -  Version 1.5.2 +  Version 1.7.0
CMSIS DSP Software Library
@@ -116,34 +116,35 @@ $(document).ready(function(){initNavTree('group__cmplx__conj.html','');}); - - - - - - - - - + + + + + + + + +

Functions

void arm_cmplx_conj_f32 (float32_t *pSrc, float32_t *pDst, uint32_t numSamples)
 Floating-point complex conjugate. More...
 
void arm_cmplx_conj_q15 (q15_t *pSrc, q15_t *pDst, uint32_t numSamples)
 Q15 complex conjugate. More...
 
void arm_cmplx_conj_q31 (q31_t *pSrc, q31_t *pDst, uint32_t numSamples)
 Q31 complex conjugate. More...
 
void arm_cmplx_conj_f32 (const float32_t *pSrc, float32_t *pDst, uint32_t numSamples)
 Floating-point complex conjugate. More...
 
void arm_cmplx_conj_q15 (const q15_t *pSrc, q15_t *pDst, uint32_t numSamples)
 Q15 complex conjugate. More...
 
void arm_cmplx_conj_q31 (const q31_t *pSrc, q31_t *pDst, uint32_t numSamples)
 Q31 complex conjugate. More...
 

Description

Conjugates the elements of a complex data vector.

-

The pSrc points to the source data and pDst points to the where the result should be written. numSamples specifies the number of complex samples and the data in each array is stored in an interleaved fashion (real, imag, real, imag, ...). Each array has a total of 2*numSamples values. The underlying algorithm is used:

+

The pSrc points to the source data and pDst points to the destination data where the result should be written. numSamples specifies the number of complex samples and the data in each array is stored in an interleaved fashion (real, imag, real, imag, ...). Each array has a total of 2*numSamples values.

+

The underlying algorithm is used:

-for(n=0; n<numSamples; n++) {
-    pDst[(2*n)+0)] = pSrc[(2*n)+0];     // real part
-    pDst[(2*n)+1)] = -pSrc[(2*n)+1];    // imag part
+for (n = 0; n < numSamples; n++) {
+    pDst[(2*n)  ] =  pSrc[(2*n)  ];    // real part
+    pDst[(2*n)+1] = -pSrc[(2*n)+1];    // imag part
 }
 

There are separate functions for floating-point, Q15, and Q31 data types.

Function Documentation

- +
- + @@ -167,24 +168,24 @@ for(n=0; n<numSamples; n++) {
Parameters
void arm_cmplx_conj_f32 (float32_tconst float32_t pSrc,
- - - + + +
*pSrcpoints to the input vector
*pDstpoints to the output vector
numSamplesnumber of complex samples in each vector
[in]pSrcpoints to the input vector
[out]pDstpoints to the output vector
[in]numSamplesnumber of samples in each vector
-
Returns
none.
+
Returns
none
- +
- + @@ -208,28 +209,25 @@ for(n=0; n<numSamples; n++) {
Parameters
void arm_cmplx_conj_q15 (q15_tconst q15_t pSrc,
- - - + + +
*pSrcpoints to the input vector
*pDstpoints to the output vector
numSamplesnumber of complex samples in each vector
[in]pSrcpoints to the input vector
[out]pDstpoints to the output vector
[in]numSamplesnumber of samples in each vector
-
Returns
none.
-

Scaling and Overflow Behavior:

-
The function uses saturating arithmetic. The Q15 value -1 (0x8000) will be saturated to the maximum allowable positive value 0x7FFF.
- -

References __QASX(), __QSAX(), and __SIMD32.

+
Returns
none
+
Scaling and Overflow Behavior
The function uses saturating arithmetic. The Q15 value -1 (0x8000) is saturated to the maximum allowable positive value 0x7FFF.
- +
- + @@ -253,17 +251,14 @@ for(n=0; n<numSamples; n++) {
Parameters
void arm_cmplx_conj_q31 (q31_tconst q31_t pSrc,
- - - + + +
*pSrcpoints to the input vector
*pDstpoints to the output vector
numSamplesnumber of complex samples in each vector
[in]pSrcpoints to the input vector
[out]pDstpoints to the output vector
[in]numSamplesnumber of samples in each vector
-
Returns
none.
-

Scaling and Overflow Behavior:

-
The function uses saturating arithmetic. The Q31 value -1 (0x80000000) will be saturated to the maximum allowable positive value 0x7FFFFFFF.
- -

References __QSUB().

+
Returns
none
+
Scaling and Overflow Behavior
The function uses saturating arithmetic. The Q31 value -1 (0x80000000) is saturated to the maximum allowable positive value 0x7FFFFFFF.
@@ -272,7 +267,7 @@ for(n=0; n<numSamples; n++) {