diff options
author | rihab kouki <rihab.kouki@st.com> | 2020-07-28 11:24:49 +0100 |
---|---|---|
committer | rihab kouki <rihab.kouki@st.com> | 2020-07-28 11:24:49 +0100 |
commit | 96d6da4e252b06dcfdc041e7df23e86161c33007 (patch) | |
tree | a262f59bb1db7ec7819acae435f5049cbe5e2354 /docs/DSP/html/group__cmplx__mag__squared.html | |
parent | 9f95ff5b6ba01db09552b84a0ab79607060a2666 (diff) | |
download | st-cmsis-core-lowfat-master.tar.gz st-cmsis-core-lowfat-master.tar.bz2 st-cmsis-core-lowfat-master.zip |
Diffstat (limited to 'docs/DSP/html/group__cmplx__mag__squared.html')
-rw-r--r-- | docs/DSP/html/group__cmplx__mag__squared.html | 68 |
1 files changed, 32 insertions, 36 deletions
diff --git a/docs/DSP/html/group__cmplx__mag__squared.html b/docs/DSP/html/group__cmplx__mag__squared.html index 838b548..de6459f 100644 --- a/docs/DSP/html/group__cmplx__mag__squared.html +++ b/docs/DSP/html/group__cmplx__mag__squared.html @@ -32,7 +32,7 @@ <td id="projectlogo"><img alt="Logo" src="CMSIS_Logo_Final.png"/></td> <td style="padding-left: 0.5em;"> <div id="projectname">CMSIS-DSP -  <span id="projectnumber">Version 1.5.2</span> +  <span id="projectnumber">Version 1.7.0</span> </div> <div id="projectbrief">CMSIS DSP Software Library</div> </td> @@ -116,34 +116,34 @@ $(document).ready(function(){initNavTree('group__cmplx__mag__squared.html','');} <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> -<tr class="memitem:gaa7faccc0d96b061d8b7d0d7d82045074"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cmplx__mag__squared.html#gaa7faccc0d96b061d8b7d0d7d82045074">arm_cmplx_mag_squared_f32</a> (<a class="el" href="arm__math_8h.html#a4611b605e45ab401f02cab15c5e38715">float32_t</a> *pSrc, <a class="el" href="arm__math_8h.html#a4611b605e45ab401f02cab15c5e38715">float32_t</a> *pDst, uint32_t numSamples)</td></tr> -<tr class="memdesc:gaa7faccc0d96b061d8b7d0d7d82045074"><td class="mdescLeft"> </td><td class="mdescRight">Floating-point complex magnitude squared. <a href="#gaa7faccc0d96b061d8b7d0d7d82045074">More...</a><br/></td></tr> -<tr class="separator:gaa7faccc0d96b061d8b7d0d7d82045074"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ga45537f576102d960d467eb722b8431f2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cmplx__mag__squared.html#ga45537f576102d960d467eb722b8431f2">arm_cmplx_mag_squared_q15</a> (<a class="el" href="arm__math_8h.html#ab5a8fb21a5b3b983d5f54f31614052ea">q15_t</a> *pSrc, <a class="el" href="arm__math_8h.html#ab5a8fb21a5b3b983d5f54f31614052ea">q15_t</a> *pDst, uint32_t numSamples)</td></tr> -<tr class="memdesc:ga45537f576102d960d467eb722b8431f2"><td class="mdescLeft"> </td><td class="mdescRight">Q15 complex magnitude squared. <a href="#ga45537f576102d960d467eb722b8431f2">More...</a><br/></td></tr> -<tr class="separator:ga45537f576102d960d467eb722b8431f2"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ga384b0538101e8c03fa4fa14271e63b04"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cmplx__mag__squared.html#ga384b0538101e8c03fa4fa14271e63b04">arm_cmplx_mag_squared_q31</a> (<a class="el" href="arm__math_8h.html#adc89a3547f5324b7b3b95adec3806bc0">q31_t</a> *pSrc, <a class="el" href="arm__math_8h.html#adc89a3547f5324b7b3b95adec3806bc0">q31_t</a> *pDst, uint32_t numSamples)</td></tr> -<tr class="memdesc:ga384b0538101e8c03fa4fa14271e63b04"><td class="mdescLeft"> </td><td class="mdescRight">Q31 complex magnitude squared. <a href="#ga384b0538101e8c03fa4fa14271e63b04">More...</a><br/></td></tr> -<tr class="separator:ga384b0538101e8c03fa4fa14271e63b04"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ga925ef5458a384f63d06f1c6997d1fb7d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cmplx__mag__squared.html#ga925ef5458a384f63d06f1c6997d1fb7d">arm_cmplx_mag_squared_f32</a> (const <a class="el" href="arm__math_8h.html#a4611b605e45ab401f02cab15c5e38715">float32_t</a> *pSrc, <a class="el" href="arm__math_8h.html#a4611b605e45ab401f02cab15c5e38715">float32_t</a> *pDst, uint32_t numSamples)</td></tr> +<tr class="memdesc:ga925ef5458a384f63d06f1c6997d1fb7d"><td class="mdescLeft"> </td><td class="mdescRight">Floating-point complex magnitude squared. <a href="#ga925ef5458a384f63d06f1c6997d1fb7d">More...</a><br/></td></tr> +<tr class="separator:ga925ef5458a384f63d06f1c6997d1fb7d"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:gafdd1e838db0aef7ec201611883bd444c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cmplx__mag__squared.html#gafdd1e838db0aef7ec201611883bd444c">arm_cmplx_mag_squared_q15</a> (const <a class="el" href="arm__math_8h.html#ab5a8fb21a5b3b983d5f54f31614052ea">q15_t</a> *pSrc, <a class="el" href="arm__math_8h.html#ab5a8fb21a5b3b983d5f54f31614052ea">q15_t</a> *pDst, uint32_t numSamples)</td></tr> +<tr class="memdesc:gafdd1e838db0aef7ec201611883bd444c"><td class="mdescLeft"> </td><td class="mdescRight">Q15 complex magnitude squared. <a href="#gafdd1e838db0aef7ec201611883bd444c">More...</a><br/></td></tr> +<tr class="separator:gafdd1e838db0aef7ec201611883bd444c"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ga9d74dbc0a777cfcc75c1cae33ef4d44a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cmplx__mag__squared.html#ga9d74dbc0a777cfcc75c1cae33ef4d44a">arm_cmplx_mag_squared_q31</a> (const <a class="el" href="arm__math_8h.html#adc89a3547f5324b7b3b95adec3806bc0">q31_t</a> *pSrc, <a class="el" href="arm__math_8h.html#adc89a3547f5324b7b3b95adec3806bc0">q31_t</a> *pDst, uint32_t numSamples)</td></tr> +<tr class="memdesc:ga9d74dbc0a777cfcc75c1cae33ef4d44a"><td class="mdescLeft"> </td><td class="mdescRight">Q31 complex magnitude squared. <a href="#ga9d74dbc0a777cfcc75c1cae33ef4d44a">More...</a><br/></td></tr> +<tr class="separator:ga9d74dbc0a777cfcc75c1cae33ef4d44a"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Description</h2> <p>Computes the magnitude squared of the elements of a complex data vector.</p> <p>The <code>pSrc</code> points to the source data and <code>pDst</code> points to the where the result should be written. <code>numSamples</code> specifies the number of complex samples in the input array and the data is stored in an interleaved fashion (real, imag, real, imag, ...). The input array has a total of <code>2*numSamples</code> values; the output array has a total of <code>numSamples</code> values.</p> <p>The underlying algorithm is used:</p> <pre> -for(n=0; n<numSamples; n++) { +for (n = 0; n < numSamples; n++) { pDst[n] = pSrc[(2*n)+0]^2 + pSrc[(2*n)+1]^2; } </pre><p>There are separate functions for floating-point, Q15, and Q31 data types. </p> <h2 class="groupheader">Function Documentation</h2> -<a class="anchor" id="gaa7faccc0d96b061d8b7d0d7d82045074"></a> +<a class="anchor" id="ga925ef5458a384f63d06f1c6997d1fb7d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void arm_cmplx_mag_squared_f32 </td> <td>(</td> - <td class="paramtype"><a class="el" href="arm__math_8h.html#a4611b605e45ab401f02cab15c5e38715">float32_t</a> * </td> + <td class="paramtype">const <a class="el" href="arm__math_8h.html#a4611b605e45ab401f02cab15c5e38715">float32_t</a> * </td> <td class="paramname"><em>pSrc</em>, </td> </tr> <tr> @@ -167,24 +167,24 @@ for(n=0; n<numSamples; n++) { </div><div class="memdoc"> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> - <tr><td class="paramdir">[in]</td><td class="paramname">*pSrc</td><td>points to the complex input vector </td></tr> - <tr><td class="paramdir">[out]</td><td class="paramname">*pDst</td><td>points to the real output vector </td></tr> - <tr><td class="paramdir">[in]</td><td class="paramname">numSamples</td><td>number of complex samples in the input vector </td></tr> + <tr><td class="paramdir">[in]</td><td class="paramname">pSrc</td><td>points to input vector </td></tr> + <tr><td class="paramdir">[out]</td><td class="paramname">pDst</td><td>points to output vector </td></tr> + <tr><td class="paramdir">[in]</td><td class="paramname">numSamples</td><td>number of samples in each vector </td></tr> </table> </dd> </dl> -<dl class="section return"><dt>Returns</dt><dd>none. </dd></dl> +<dl class="section return"><dt>Returns</dt><dd>none </dd></dl> </div> </div> -<a class="anchor" id="ga45537f576102d960d467eb722b8431f2"></a> +<a class="anchor" id="gafdd1e838db0aef7ec201611883bd444c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void arm_cmplx_mag_squared_q15 </td> <td>(</td> - <td class="paramtype"><a class="el" href="arm__math_8h.html#ab5a8fb21a5b3b983d5f54f31614052ea">q15_t</a> * </td> + <td class="paramtype">const <a class="el" href="arm__math_8h.html#ab5a8fb21a5b3b983d5f54f31614052ea">q15_t</a> * </td> <td class="paramname"><em>pSrc</em>, </td> </tr> <tr> @@ -208,28 +208,25 @@ for(n=0; n<numSamples; n++) { </div><div class="memdoc"> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> - <tr><td class="paramname">*pSrc</td><td>points to the complex input vector </td></tr> - <tr><td class="paramname">*pDst</td><td>points to the real output vector </td></tr> - <tr><td class="paramname">numSamples</td><td>number of complex samples in the input vector </td></tr> + <tr><td class="paramdir">[in]</td><td class="paramname">pSrc</td><td>points to input vector </td></tr> + <tr><td class="paramdir">[out]</td><td class="paramname">pDst</td><td>points to output vector </td></tr> + <tr><td class="paramdir">[in]</td><td class="paramname">numSamples</td><td>number of samples in each vector </td></tr> </table> </dd> </dl> -<dl class="section return"><dt>Returns</dt><dd>none.</dd></dl> -<p><b>Scaling and Overflow Behavior:</b> </p> -<dl class="section user"><dt></dt><dd>The function implements 1.15 by 1.15 multiplications and finally output is converted into 3.13 format. </dd></dl> - -<p>References <a class="el" href="arm__math_8h.html#a9de2e0a5785be82866bcb96012282248">__SIMD32</a>, and <a class="el" href="arm__math_8h.html#a2eed05660fedbe3fbd0b6dbb1315cfc3">__SMUAD()</a>.</p> +<dl class="section return"><dt>Returns</dt><dd>none</dd></dl> +<dl class="section user"><dt>Scaling and Overflow Behavior</dt><dd>The function implements 1.15 by 1.15 multiplications and finally output is converted into 3.13 format. </dd></dl> </div> </div> -<a class="anchor" id="ga384b0538101e8c03fa4fa14271e63b04"></a> +<a class="anchor" id="ga9d74dbc0a777cfcc75c1cae33ef4d44a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void arm_cmplx_mag_squared_q31 </td> <td>(</td> - <td class="paramtype"><a class="el" href="arm__math_8h.html#adc89a3547f5324b7b3b95adec3806bc0">q31_t</a> * </td> + <td class="paramtype">const <a class="el" href="arm__math_8h.html#adc89a3547f5324b7b3b95adec3806bc0">q31_t</a> * </td> <td class="paramname"><em>pSrc</em>, </td> </tr> <tr> @@ -253,15 +250,14 @@ for(n=0; n<numSamples; n++) { </div><div class="memdoc"> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> - <tr><td class="paramname">*pSrc</td><td>points to the complex input vector </td></tr> - <tr><td class="paramname">*pDst</td><td>points to the real output vector </td></tr> - <tr><td class="paramname">numSamples</td><td>number of complex samples in the input vector </td></tr> + <tr><td class="paramdir">[in]</td><td class="paramname">pSrc</td><td>points to input vector </td></tr> + <tr><td class="paramdir">[out]</td><td class="paramname">pDst</td><td>points to output vector </td></tr> + <tr><td class="paramdir">[in]</td><td class="paramname">numSamples</td><td>number of samples in each vector </td></tr> </table> </dd> </dl> -<dl class="section return"><dt>Returns</dt><dd>none.</dd></dl> -<p><b>Scaling and Overflow Behavior:</b> </p> -<dl class="section user"><dt></dt><dd>The function implements 1.31 by 1.31 multiplications and finally output is converted into 3.29 format. Input down scaling is not required. </dd></dl> +<dl class="section return"><dt>Returns</dt><dd>none</dd></dl> +<dl class="section user"><dt>Scaling and Overflow Behavior</dt><dd>The function implements 1.31 by 1.31 multiplications and finally output is converted into 3.29 format. Input down scaling is not required. </dd></dl> </div> </div> @@ -270,7 +266,7 @@ for(n=0; n<numSamples; n++) { <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> - <li class="footer">Generated on Wed Aug 1 2018 17:12:21 for CMSIS-DSP by Arm Ltd. All rights reserved. + <li class="footer">Generated on Wed Jul 10 2019 15:20:39 for CMSIS-DSP Version 1.7.0 by Arm Ltd. All rights reserved. <!-- <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 |