Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /proc/self/root/usr/share/doc/libclam-doc/html/ |
Current File : //proc/self/root/usr/share/doc/libclam-doc/html/CLAM__Math_8hxx.html |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>CLAM-Development: CLAM_Math.hxx File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">CLAM-Development  <span id="projectnumber">1.4.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_aa56a6b2a6c91e4a96bc30c8be2b06ac.html">Defines</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#namespaces">Namespaces</a> | <a href="#define-members">Macros</a> | <a href="#func-members">Functions</a> | <a href="#var-members">Variables</a> </div> <div class="headertitle"> <div class="title">CLAM_Math.hxx File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <cmath></code><br/> <code>#include "<a class="el" href="DataTypes_8hxx_source.html">DataTypes.hxx</a>"</code><br/> <code>#include "<a class="el" href="FastRounding_8hxx_source.html">FastRounding.hxx</a>"</code><br/> </div> <p><a href="CLAM__Math_8hxx_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2><a name="namespaces"></a> Namespaces</h2></td></tr> <tr class="memitem:namespaceCLAM"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceCLAM.html">CLAM</a></td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2><a name="define-members"></a> Macros</h2></td></tr> <tr class="memitem:afb4a0793e98f0060f1a702f80298d46b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#afb4a0793e98f0060f1a702f80298d46b">CLAM_DB_SCALING</a>   20</td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:a13fb1c718194b6db900aa03d29381016"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#a13fb1c718194b6db900aa03d29381016">CLAM_sin</a> (register float x)</td></tr> <tr class="memdesc:a13fb1c718194b6db900aa03d29381016"><td class="mdescLeft"> </td><td class="mdescRight">Efficient versions of common functions. <a href="#a13fb1c718194b6db900aa03d29381016"></a><br/></td></tr> <tr class="memitem:ae2f13af2c2948ede3e124e7e9d39538a"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#ae2f13af2c2948ede3e124e7e9d39538a">CLAM_cos</a> (register float x)</td></tr> <tr class="memitem:a70bfbb82b7f09898cc51cbebdcbda3cc"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#a70bfbb82b7f09898cc51cbebdcbda3cc">CLAM_atan</a> (register float x)</td></tr> <tr class="memitem:ab5145a7b1a58e8d133d2ad6529c5a11f"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#ab5145a7b1a58e8d133d2ad6529c5a11f">CLAM_atan2</a> (float Imag, float Real)</td></tr> <tr class="memitem:a2e93cb7e4da01a62d4c1fb073652b7b6"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#a2e93cb7e4da01a62d4c1fb073652b7b6">CLAM_exp2</a> (register float x)</td></tr> <tr class="memitem:a8f27d0a16b31264f19eb9a4fd99fd80d"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#a8f27d0a16b31264f19eb9a4fd99fd80d">CLAM_log2</a> (register float x)</td></tr> <tr class="memitem:a2515fc92d941513000b6d446a1e1a176"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#a2515fc92d941513000b6d446a1e1a176">CLAM_pow</a> (float x, float y)</td></tr> <tr class="memitem:ad0ed4530d591ab2cac58c7170af12da8"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#ad0ed4530d591ab2cac58c7170af12da8">CLAM_sqrt</a> (register float x)</td></tr> <tr class="memitem:a778bf76a30eca0a3dd33bc23c86c579c"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#a778bf76a30eca0a3dd33bc23c86c579c">CLAM_log</a> (register float x)</td></tr> <tr class="memitem:a8ffd2b5f2ade9b11cfdbdda692180523"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#a8ffd2b5f2ade9b11cfdbdda692180523">CLAM_log10</a> (register float x)</td></tr> <tr class="memitem:a4dfe510a1f861c8af08514d209a04804"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#a4dfe510a1f861c8af08514d209a04804">CLAM_20log10</a> (register float x)</td></tr> <tr class="memitem:aad4a10ce93386f8638a736a843b84df6"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#aad4a10ce93386f8638a736a843b84df6">CLAM_exp</a> (register float x)</td></tr> <tr class="memitem:a9be059a206a45cfbe8ef3b272c354363"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#a9be059a206a45cfbe8ef3b272c354363">round</a> (double _X)</td></tr> <tr class="memitem:aaad3e4557c0bc2e8cf1b033ad5e1c766"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#aaad3e4557c0bc2e8cf1b033ad5e1c766">round</a> (float _X)</td></tr> <tr class="memitem:a67ef77ef7d2b0fcd52cb4362fc88b1d8"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#a67ef77ef7d2b0fcd52cb4362fc88b1d8">log2lin</a> (float x)</td></tr> <tr class="memdesc:a67ef77ef7d2b0fcd52cb4362fc88b1d8"><td class="mdescLeft"> </td><td class="mdescRight">Fast "pow" for converting a logarithmic value into linear value ( assumes a log scale factor of 20 ). <a href="#a67ef77ef7d2b0fcd52cb4362fc88b1d8"></a><br/></td></tr> <tr class="memitem:a3e8325e451bd5d0b8b58cb68f7cea5c8"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#a3e8325e451bd5d0b8b58cb68f7cea5c8">isPowerOfTwo</a> (<a class="el" href="namespaceCLAM.html#a11ac00a5ce27ba2cfb1832ab739c547d">CLAM::TUInt32</a> n)</td></tr> <tr class="memdesc:a3e8325e451bd5d0b8b58cb68f7cea5c8"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the given (unsigned) integer n is a power-of-two. <a href="#a3e8325e451bd5d0b8b58cb68f7cea5c8"></a><br/></td></tr> <tr class="memitem:abb9635517e8dbda4db48544d967c0884"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceCLAM.html#a11ac00a5ce27ba2cfb1832ab739c547d">CLAM::TUInt32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#abb9635517e8dbda4db48544d967c0884">nextPowerOfTwo</a> (<a class="el" href="namespaceCLAM.html#a11ac00a5ce27ba2cfb1832ab739c547d">CLAM::TUInt32</a> n)</td></tr> <tr class="memdesc:abb9635517e8dbda4db48544d967c0884"><td class="mdescLeft"> </td><td class="mdescRight">Returns the closest power-of-two number greater or equal to n for the given (unsigned) integer n. <a href="#abb9635517e8dbda4db48544d967c0884"></a><br/></td></tr> <tr class="memitem:a1a66f31c63ad9961ad40c4291dc7f648"><td class="memTemplParams" colspan="2">template<class T > </td></tr> <tr class="memitem:a1a66f31c63ad9961ad40c4291dc7f648"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceCLAM.html#a1a66f31c63ad9961ad40c4291dc7f648">CLAM::Abs</a> (T value)</td></tr> <tr class="memitem:ac38d15d5f05a7ef959c93b646ef32a5b"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceCLAM.html#ac38d15d5f05a7ef959c93b646ef32a5b">CLAM::DB</a> (double linData, <a class="el" href="classint.html">int</a> scaling=20)</td></tr> <tr class="memitem:ae5e8fb62c8242b993af85d212f4715c7"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceCLAM.html#ae5e8fb62c8242b993af85d212f4715c7">CLAM::Lin</a> (double logData, <a class="el" href="classint.html">int</a> scaling=20)</td></tr> <tr class="memitem:a51ee13cc308abea256e9f3fcb7860937"><td class="memTemplParams" colspan="2">template<class T > </td></tr> <tr class="memitem:a51ee13cc308abea256e9f3fcb7860937"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceCLAM.html#a51ee13cc308abea256e9f3fcb7860937">CLAM::CLAM_max</a> (const T &x, const T &y)</td></tr> <tr class="memdesc:a51ee13cc308abea256e9f3fcb7860937"><td class="mdescLeft"> </td><td class="mdescRight">Definition of CLAM_min and CLAM_max. <a href="#a51ee13cc308abea256e9f3fcb7860937"></a><br/></td></tr> <tr class="memitem:ae10ce7ff4d0382229a8a133042e3f30b"><td class="memTemplParams" colspan="2">template<class T > </td></tr> <tr class="memitem:ae10ce7ff4d0382229a8a133042e3f30b"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceCLAM.html#ae10ce7ff4d0382229a8a133042e3f30b">CLAM::CLAM_min</a> (const T &x, const T &y)</td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2><a name="var-members"></a> Variables</h2></td></tr> <tr class="memitem:a0756b9bb91a49c2706b89fc3a444615e"><td class="memItemLeft" align="right" valign="top">const float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#a0756b9bb91a49c2706b89fc3a444615e">PI_</a> = 3.1415926535897932384626433832795028841972</td></tr> <tr class="memitem:aa64653f320b4382f0f56074ce58170ab"><td class="memItemLeft" align="right" valign="top">const float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#aa64653f320b4382f0f56074ce58170ab">ONE_OVER_PI</a> = (0.3183098861837906661338147750939f)</td></tr> <tr class="memitem:af1e0584fb7d3a6534854a49d89c0c37e"><td class="memItemLeft" align="right" valign="top">const float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#af1e0584fb7d3a6534854a49d89c0c37e">TWOPI</a> = (6.2831853071795864769252867665590057683943f)</td></tr> <tr class="memitem:a090dc0b06d2a7aa76303f90dd5052bd5"><td class="memItemLeft" align="right" valign="top">const float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#a090dc0b06d2a7aa76303f90dd5052bd5">ONE_OVER_TWOPI</a> = (0.15915494309189535682609381638f)</td></tr> <tr class="memitem:a3ef24eed7ab189520b70fac7b3e16443"><td class="memItemLeft" align="right" valign="top">const float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#a3ef24eed7ab189520b70fac7b3e16443">PI_2</a> = (1.5707963267948966192313216916397514420986f)</td></tr> <tr class="memitem:ac79741749c5320a1f41b5e6dd1ce930a"><td class="memItemLeft" align="right" valign="top">const float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#ac79741749c5320a1f41b5e6dd1ce930a">TWO_OVER_PI</a> = (0.636619772367581332267629550188f)</td></tr> <tr class="memitem:adb1673f98b02e6760e84d95cbcf0b29a"><td class="memItemLeft" align="right" valign="top">const float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#adb1673f98b02e6760e84d95cbcf0b29a">LN2</a> = (0.6931471805599453094172321214581765680755f)</td></tr> <tr class="memitem:a96a21256aa21114469eeb30abd0a833a"><td class="memItemLeft" align="right" valign="top">const float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#a96a21256aa21114469eeb30abd0a833a">ONE_OVER_LN2</a> = (1.44269504088896333066907387547f)</td></tr> <tr class="memitem:a0ab02d5a98423510f6eb3b02a04c182e"><td class="memItemLeft" align="right" valign="top">const float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#a0ab02d5a98423510f6eb3b02a04c182e">LN10</a> = (2.3025850929940456840179914546843642076011f)</td></tr> <tr class="memitem:af3b85b957db6f7357acbb3d8912d61b9"><td class="memItemLeft" align="right" valign="top">const float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#af3b85b957db6f7357acbb3d8912d61b9">ONE_OVER_LN10</a> = (0.43429448190325177635683940025f)</td></tr> <tr class="memitem:a75e0e02ca62e5e6ace9f6950eb8a04db"><td class="memItemLeft" align="right" valign="top">const float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#a75e0e02ca62e5e6ace9f6950eb8a04db">LN2_OVER_LN10</a> = <a class="el" href="CLAM__Math_8hxx.html#adb1673f98b02e6760e84d95cbcf0b29a">LN2</a>*<a class="el" href="CLAM__Math_8hxx.html#af3b85b957db6f7357acbb3d8912d61b9">ONE_OVER_LN10</a></td></tr> <tr class="memitem:a46d75571ecbb7287085d984277f0859c"><td class="memItemLeft" align="right" valign="top">const float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#a46d75571ecbb7287085d984277f0859c">TIMES20LN2_OVER_LN10</a> = 20*<a class="el" href="CLAM__Math_8hxx.html#a75e0e02ca62e5e6ace9f6950eb8a04db">LN2_OVER_LN10</a></td></tr> <tr class="memitem:a6fe6da78f10944b41e65270a723222a3"><td class="memItemLeft" align="right" valign="top">const long </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#a6fe6da78f10944b41e65270a723222a3">LONG_OFFSET</a> = 4096L</td></tr> <tr class="memitem:aeb317b757e6c9fa645f4117d09c4baaf"><td class="memItemLeft" align="right" valign="top">const float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#aeb317b757e6c9fa645f4117d09c4baaf">FLOAT_OFFSET</a> = 4096.0</td></tr> <tr class="memitem:abed8eaf4ad3a6e468cc47af7d812a6d6"><td class="memItemLeft" align="right" valign="top">const float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#abed8eaf4ad3a6e468cc47af7d812a6d6">HUGE_</a> = 1.0e8</td></tr> <tr class="memitem:afba5d1280202b85ee34838aef04e49e5"><td class="memItemLeft" align="right" valign="top">const float </td><td class="memItemRight" valign="bottom"><a class="el" href="CLAM__Math_8hxx.html#afba5d1280202b85ee34838aef04e49e5">ROOT2</a> = (1.4142135623730950488016887242096980785697f)</td></tr> </table> <hr/><h2>Macro Definition Documentation</h2> <a class="anchor" id="afb4a0793e98f0060f1a702f80298d46b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define CLAM_DB_SCALING   20</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00450">450</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> </div> </div> <hr/><h2>Function Documentation</h2> <a class="anchor" id="a4dfe510a1f861c8af08514d209a04804"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">float CLAM_20log10 </td> <td>(</td> <td class="paramtype">register float </td> <td class="paramname"><em>x</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00338">338</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> <p>References <a class="el" href="CLAM__Math_8hxx_source.html#l00225">CLAM_log2()</a>, and <a class="el" href="CLAM__Math_8hxx_source.html#l00043">TIMES20LN2_OVER_LN10</a>.</p> <p>Referenced by <a class="el" href="SpectrumConversions_8cxx_source.html#l00145">CLAM::Linear2LogMagnitude()</a>, <a class="el" href="Spectrum_8cxx_source.html#l00196">CLAM::Spectrum::ToDB()</a>, and <a class="el" href="SpectralPeakArray_8cxx_source.html#l00489">CLAM::SpectralPeakArray::TodB()</a>.</p> </div> </div> <a class="anchor" id="a70bfbb82b7f09898cc51cbebdcbda3cc"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">float CLAM_atan </td> <td>(</td> <td class="paramtype">register float </td> <td class="paramname"><em>x</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00098">98</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> <p>References <a class="el" href="CLAM__Math_8hxx_source.html#l00036">PI_2</a>.</p> <p>Referenced by <a class="el" href="FFT__ooura_8cxx_source.html#l00264">CLAM::FFT_ooura::makect()</a>, and <a class="el" href="FFT__ooura_8cxx_source.html#l00235">CLAM::FFT_ooura::makewt()</a>.</p> </div> </div> <a class="anchor" id="ab5145a7b1a58e8d133d2ad6529c5a11f"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">float CLAM_atan2 </td> <td>(</td> <td class="paramtype">float </td> <td class="paramname"><em>Imag</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float </td> <td class="paramname"><em>Real</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00132">132</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> <p>References <a class="el" href="CLAM__Math_8hxx_source.html#l00032">PI_</a>, and <a class="el" href="CLAM__Math_8hxx_source.html#l00036">PI_2</a>.</p> <p>Referenced by <a class="el" href="ComplexTmplDec_8hxx_source.html#l00069">CLAM::ComplexTmpl< T >::Ang()</a>, <a class="el" href="FDCombFilter_8cxx_source.html#l00053">CLAM::FDCombFilter::Do()</a>, <a class="el" href="PolarTmplDef_8hxx_source.html#l00073">CLAM::PolarTmpl< T >::operator+()</a>, <a class="el" href="PolarTmplDef_8hxx_source.html#l00091">CLAM::PolarTmpl< T >::operator-()</a>, and <a class="el" href="PolarTmplDef_8hxx_source.html#l00053">CLAM::PolarTmpl< T >::operator-=()</a>.</p> </div> </div> <a class="anchor" id="ae2f13af2c2948ede3e124e7e9d39538a"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">float CLAM_cos </td> <td>(</td> <td class="paramtype">register float </td> <td class="paramname"><em>x</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00073">73</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> <p>References <a class="el" href="CLAM__Math_8hxx_source.html#l00033">ONE_OVER_PI</a>.</p> <p>Referenced by <a class="el" href="FDCombFilter_8cxx_source.html#l00053">CLAM::FDCombFilter::Do()</a>, <a class="el" href="FFT__ooura_8cxx_source.html#l00264">CLAM::FFT_ooura::makect()</a>, <a class="el" href="FFT__ooura_8cxx_source.html#l00235">CLAM::FFT_ooura::makewt()</a>, <a class="el" href="PolarTmplDef_8hxx_source.html#l00073">CLAM::PolarTmpl< T >::operator+()</a>, <a class="el" href="PolarTmplDef_8hxx_source.html#l00033">CLAM::PolarTmpl< T >::operator+=()</a>, <a class="el" href="PolarTmplDef_8hxx_source.html#l00091">CLAM::PolarTmpl< T >::operator-()</a>, <a class="el" href="PolarTmplDef_8hxx_source.html#l00053">CLAM::PolarTmpl< T >::operator-=()</a>, <a class="el" href="PolarTmplDec_8hxx_source.html#l00052">CLAM::PolarTmpl< T >::Real()</a>, <a class="el" href="Spectrum_8cxx_source.html#l00416">CLAM::Spectrum::SetMag()</a>, <a class="el" href="Spectrum_8cxx_source.html#l00437">CLAM::Spectrum::SetPhase()</a>, and <a class="el" href="ComplexTmplDec_8hxx_source.html#l00075">CLAM::ComplexTmpl< T >::ToPolar()</a>.</p> </div> </div> <a class="anchor" id="aad4a10ce93386f8638a736a843b84df6"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">float CLAM_exp </td> <td>(</td> <td class="paramtype">register float </td> <td class="paramname"><em>x</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00347">347</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> <p>References <a class="el" href="CLAM__Math_8hxx_source.html#l00192">CLAM_exp2()</a>, and <a class="el" href="CLAM__Math_8hxx_source.html#l00039">ONE_OVER_LN2</a>.</p> <p>Referenced by <a class="el" href="CLAM__Math_8hxx_source.html#l00400">log2lin()</a>.</p> </div> </div> <a class="anchor" id="a2e93cb7e4da01a62d4c1fb073652b7b6"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">float CLAM_exp2 </td> <td>(</td> <td class="paramtype">register float </td> <td class="paramname"><em>x</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00192">192</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> <p>References <a class="el" href="CLAM__Math_8hxx_source.html#l00045">FLOAT_OFFSET</a>, <a class="el" href="CLAM__Math_8hxx_source.html#l00038">LN2</a>, and <a class="el" href="CLAM__Math_8hxx_source.html#l00044">LONG_OFFSET</a>.</p> <p>Referenced by <a class="el" href="CLAM__Math_8hxx_source.html#l00347">CLAM_exp()</a>, and <a class="el" href="CLAM__Math_8hxx_source.html#l00266">CLAM_pow()</a>.</p> </div> </div> <a class="anchor" id="a778bf76a30eca0a3dd33bc23c86c579c"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">float CLAM_log </td> <td>(</td> <td class="paramtype">register float </td> <td class="paramname"><em>x</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00320">320</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> <p>References <a class="el" href="CLAM__Math_8hxx_source.html#l00225">CLAM_log2()</a>, and <a class="el" href="CLAM__Math_8hxx_source.html#l00038">LN2</a>.</p> </div> </div> <a class="anchor" id="a8ffd2b5f2ade9b11cfdbdda692180523"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">float CLAM_log10 </td> <td>(</td> <td class="paramtype">register float </td> <td class="paramname"><em>x</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00329">329</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> <p>References <a class="el" href="CLAM__Math_8hxx_source.html#l00225">CLAM_log2()</a>, and <a class="el" href="CLAM__Math_8hxx_source.html#l00042">LN2_OVER_LN10</a>.</p> <p>Referenced by <a class="el" href="SpectrumConversions_8cxx_source.html#l00117">CLAM::Complex2LogMagPhase()</a>, and <a class="el" href="CLAM__Math_8hxx_source.html#l00452">CLAM::DB()</a>.</p> </div> </div> <a class="anchor" id="a8f27d0a16b31264f19eb9a4fd99fd80d"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">float CLAM_log2 </td> <td>(</td> <td class="paramtype">register float </td> <td class="paramname"><em>x</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00225">225</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> <p>References <a class="el" href="CLAM__Math_8hxx_source.html#l00046">HUGE_</a>, and <a class="el" href="CLAM__Math_8hxx_source.html#l00039">ONE_OVER_LN2</a>.</p> <p>Referenced by <a class="el" href="CLAM__Math_8hxx_source.html#l00338">CLAM_20log10()</a>, <a class="el" href="CLAM__Math_8hxx_source.html#l00320">CLAM_log()</a>, <a class="el" href="CLAM__Math_8hxx_source.html#l00329">CLAM_log10()</a>, and <a class="el" href="CLAM__Math_8hxx_source.html#l00266">CLAM_pow()</a>.</p> </div> </div> <a class="anchor" id="a2515fc92d941513000b6d446a1e1a176"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">float CLAM_pow </td> <td>(</td> <td class="paramtype">float </td> <td class="paramname"><em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float </td> <td class="paramname"><em>y</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00266">266</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> <p>References <a class="el" href="CLAM__Math_8hxx_source.html#l00192">CLAM_exp2()</a>, and <a class="el" href="CLAM__Math_8hxx_source.html#l00225">CLAM_log2()</a>.</p> <p>Referenced by <a class="el" href="PointTmplDec_8hxx_source.html#l00080">CLAM::PointTmpl< TData, TData >::Distance()</a>, <a class="el" href="SpectralEnvelopeExtract_8cxx_source.html#l00103">CLAM::SpectralEnvelopeExtract::Do()</a>, <a class="el" href="SMSPitchDiscretization_8cxx_source.html#l00054">CLAM::SMSPitchDiscretization::Do()</a>, <a class="el" href="SMSHarmonizer_8cxx_source.html#l00100">CLAM::SMSHarmonizer::Do()</a>, <a class="el" href="FDFilterGen_8cxx_source.html#l00098">CLAM::FDFilterGen::Do()</a>, <a class="el" href="CLAM__Math_8hxx_source.html#l00457">CLAM::Lin()</a>, <a class="el" href="SpectrumConversions_8cxx_source.html#l00093">CLAM::Log2LinearMagnitude()</a>, <a class="el" href="SpectralAnalysisConfig_8cxx_source.html#l00059">CLAM::SpectralAnalysisConfig::SetWindowSize()</a>, and <a class="el" href="SpectralAnalysisConfig_8cxx_source.html#l00090">CLAM::SpectralAnalysisConfig::SetZeroPadding()</a>.</p> </div> </div> <a class="anchor" id="a13fb1c718194b6db900aa03d29381016"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">float CLAM_sin </td> <td>(</td> <td class="paramtype">register float </td> <td class="paramname"><em>x</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Efficient versions of common functions. </p> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00050">50</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> <p>References <a class="el" href="CLAM__Math_8hxx_source.html#l00033">ONE_OVER_PI</a>.</p> <p>Referenced by <a class="el" href="FDCombFilter_8cxx_source.html#l00053">CLAM::FDCombFilter::Do()</a>, <a class="el" href="PolarTmplDec_8hxx_source.html#l00058">CLAM::PolarTmpl< T >::Imag()</a>, <a class="el" href="FFT__ooura_8cxx_source.html#l00264">CLAM::FFT_ooura::makect()</a>, <a class="el" href="FFT__ooura_8cxx_source.html#l00235">CLAM::FFT_ooura::makewt()</a>, <a class="el" href="PolarTmplDef_8hxx_source.html#l00073">CLAM::PolarTmpl< T >::operator+()</a>, <a class="el" href="PolarTmplDef_8hxx_source.html#l00033">CLAM::PolarTmpl< T >::operator+=()</a>, <a class="el" href="PolarTmplDef_8hxx_source.html#l00091">CLAM::PolarTmpl< T >::operator-()</a>, <a class="el" href="PolarTmplDef_8hxx_source.html#l00053">CLAM::PolarTmpl< T >::operator-=()</a>, <a class="el" href="Spectrum_8cxx_source.html#l00416">CLAM::Spectrum::SetMag()</a>, <a class="el" href="Spectrum_8cxx_source.html#l00437">CLAM::Spectrum::SetPhase()</a>, and <a class="el" href="ComplexTmplDec_8hxx_source.html#l00075">CLAM::ComplexTmpl< T >::ToPolar()</a>.</p> </div> </div> <a class="anchor" id="ad0ed4530d591ab2cac58c7170af12da8"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">float CLAM_sqrt </td> <td>(</td> <td class="paramtype">register float </td> <td class="paramname"><em>x</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00275">275</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> <p>References <a class="el" href="CLAM__Math_8hxx_source.html#l00047">ROOT2</a>.</p> <p>Referenced by <a class="el" href="Normalization_8cxx_source.html#l00172">CLAM::Normalization::ComputeScaleFactorFromAvgEnergy()</a>, <a class="el" href="Normalization_8cxx_source.html#l00216">CLAM::Normalization::ComputeScaleFactorFromDominantEnergy()</a>, <a class="el" href="Normalization_8cxx_source.html#l00129">CLAM::Normalization::ComputeScaleFactorFromMaxEnergy()</a>, <a class="el" href="FDCombFilter_8cxx_source.html#l00053">CLAM::FDCombFilter::Do()</a>, <a class="el" href="ComplexTmplDec_8hxx_source.html#l00050">CLAM::ComplexTmpl< T >::Mag()</a>, <a class="el" href="BasicOps_8hxx_source.html#l00504">CLAM::RMSTmpl< FrameDescriptors >::operator()()</a>, <a class="el" href="BasicOps_8hxx_source.html#l00699">CLAM::StandardDeviationTmpl< abs, TData, TData >::operator()()</a>, <a class="el" href="PolarTmplDef_8hxx_source.html#l00073">CLAM::PolarTmpl< T >::operator+()</a>, <a class="el" href="PolarTmplDef_8hxx_source.html#l00091">CLAM::PolarTmpl< T >::operator-()</a>, <a class="el" href="PolarTmplDef_8hxx_source.html#l00053">CLAM::PolarTmpl< T >::operator-=()</a>, <a class="el" href="Spectrum_8cxx_source.html#l00196">CLAM::Spectrum::ToDB()</a>, and <a class="el" href="Spectrum_8cxx_source.html#l00283">CLAM::Spectrum::ToLinear()</a>.</p> </div> </div> <a class="anchor" id="a3e8325e451bd5d0b8b58cb68f7cea5c8"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool isPowerOfTwo </td> <td>(</td> <td class="paramtype"><a class="el" href="namespaceCLAM.html#a11ac00a5ce27ba2cfb1832ab739c547d">CLAM::TUInt32</a> </td> <td class="paramname"><em>n</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns true if the given (unsigned) integer n is a power-of-two. </p> <p>Will return true for n = 0 and n = 1. </p> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00414">414</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> <p>Referenced by <a class="el" href="FFT__fftw3_8cxx_source.html#l00072">CLAM::FFT_fftw3::ConcreteConfigure()</a>, <a class="el" href="FFT__ooura_8cxx_source.html#l00106">CLAM::FFT_ooura::Do()</a>, and <a class="el" href="IFFT__ooura_8cxx_source.html#l00127">CLAM::IFFT_ooura::Do()</a>.</p> </div> </div> <a class="anchor" id="a67ef77ef7d2b0fcd52cb4362fc88b1d8"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">float log2lin </td> <td>(</td> <td class="paramtype">float </td> <td class="paramname"><em>x</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Fast "pow" for converting a logarithmic value into linear value ( assumes a log scale factor of 20 ). </p> <p>Warning, float should be TData but includes should then be changed </p> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00400">400</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> <p>References <a class="el" href="CLAM__Math_8hxx_source.html#l00347">CLAM_exp()</a>.</p> <p>Referenced by <a class="el" href="SpectralLimiter_8cxx_source.html#l00039">CLAM::SpectralLimiter::Do()</a>, <a class="el" href="SpectralReject_8cxx_source.html#l00039">CLAM::SpectralReject::Do()</a>, <a class="el" href="NoSpectralTransformation_8cxx_source.html#l00039">CLAM::NoSpectralTransformation::Do()</a>, <a class="el" href="SpectralGate_8cxx_source.html#l00039">CLAM::SpectralGate::Do()</a>, <a class="el" href="Peakalizer_8cxx_source.html#l00039">CLAM::Peakalizer::Do()</a>, <a class="el" href="SpectralCombDelta_8cxx_source.html#l00039">CLAM::SpectralCombDelta::Do()</a>, <a class="el" href="SpectralCombTriang_8cxx_source.html#l00040">CLAM::SpectralCombTriang::Do()</a>, <a class="el" href="Partializer_8cxx_source.html#l00039">CLAM::Partializer::Do()</a>, <a class="el" href="SpectralExciter_8cxx_source.html#l00039">CLAM::SpectralExciter::Do()</a>, <a class="el" href="SpectralNotch_8cxx_source.html#l00039">CLAM::SpectralNotch::Do()</a>, <a class="el" href="Deesser_8cxx_source.html#l00039">CLAM::Deesser::Do()</a>, <a class="el" href="Vocoder_8cxx_source.html#l00038">CLAM::Vocoder::Do()</a>, <a class="el" href="3BandGate_8cxx_source.html#l00040">CLAM::ThreeBandGate::Do()</a>, <a class="el" href="3BandCompressor_8cxx_source.html#l00039">CLAM::ThreeBandCompressor::Do()</a>, <a class="el" href="OscillatingSpectralNotch_8cxx_source.html#l00038">CLAM::OscillatingSpectralNotch::Do()</a>, <a class="el" href="3BandFilter_8cxx_source.html#l00039">CLAM::ThreeBandFilter::Do()</a>, <a class="el" href="SpectralPeak_8hxx_source.html#l00128">CLAM::Lin()</a>, <a class="el" href="Spectrum_8cxx_source.html#l00283">CLAM::Spectrum::ToLinear()</a>, and <a class="el" href="SpectralPeakArray_8cxx_source.html#l00503">CLAM::SpectralPeakArray::ToLinear()</a>.</p> </div> </div> <a class="anchor" id="abb9635517e8dbda4db48544d967c0884"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespaceCLAM.html#a11ac00a5ce27ba2cfb1832ab739c547d">CLAM::TUInt32</a> nextPowerOfTwo </td> <td>(</td> <td class="paramtype"><a class="el" href="namespaceCLAM.html#a11ac00a5ce27ba2cfb1832ab739c547d">CLAM::TUInt32</a> </td> <td class="paramname"><em>n</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns the closest power-of-two number greater or equal to n for the given (unsigned) integer n. </p> <p>Will return 0 when n = 0 and 1 when n = 1. </p> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00424">424</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> <p>Referenced by <a class="el" href="SpectralAnalysisConfig_8cxx_source.html#l00059">CLAM::SpectralAnalysisConfig::SetWindowSize()</a>, and <a class="el" href="SpectralAnalysisConfig_8cxx_source.html#l00090">CLAM::SpectralAnalysisConfig::SetZeroPadding()</a>.</p> </div> </div> <a class="anchor" id="a9be059a206a45cfbe8ef3b272c354363"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">double round </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>_X</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00390">390</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> </div> </div> <a class="anchor" id="aaad3e4557c0bc2e8cf1b033ad5e1c766"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">float round </td> <td>(</td> <td class="paramtype">float </td> <td class="paramname"><em>_X</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00392">392</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> </div> </div> <hr/><h2>Variable Documentation</h2> <a class="anchor" id="aeb317b757e6c9fa645f4117d09c4baaf"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const float FLOAT_OFFSET = 4096.0</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00045">45</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> <p>Referenced by <a class="el" href="CLAM__Math_8hxx_source.html#l00192">CLAM_exp2()</a>.</p> </div> </div> <a class="anchor" id="abed8eaf4ad3a6e468cc47af7d812a6d6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const float HUGE_ = 1.0e8</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00046">46</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> <p>Referenced by <a class="el" href="CLAM__Math_8hxx_source.html#l00225">CLAM_log2()</a>.</p> </div> </div> <a class="anchor" id="a0ab02d5a98423510f6eb3b02a04c182e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const float LN10 = (2.3025850929940456840179914546843642076011f)</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00040">40</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> </div> </div> <a class="anchor" id="adb1673f98b02e6760e84d95cbcf0b29a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const float LN2 = (0.6931471805599453094172321214581765680755f)</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00038">38</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> <p>Referenced by <a class="el" href="CLAM__Math_8hxx_source.html#l00192">CLAM_exp2()</a>, and <a class="el" href="CLAM__Math_8hxx_source.html#l00320">CLAM_log()</a>.</p> </div> </div> <a class="anchor" id="a75e0e02ca62e5e6ace9f6950eb8a04db"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const float LN2_OVER_LN10 = <a class="el" href="CLAM__Math_8hxx.html#adb1673f98b02e6760e84d95cbcf0b29a">LN2</a>*<a class="el" href="CLAM__Math_8hxx.html#af3b85b957db6f7357acbb3d8912d61b9">ONE_OVER_LN10</a></td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00042">42</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> <p>Referenced by <a class="el" href="CLAM__Math_8hxx_source.html#l00329">CLAM_log10()</a>.</p> </div> </div> <a class="anchor" id="a6fe6da78f10944b41e65270a723222a3"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const long LONG_OFFSET = 4096L</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00044">44</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> <p>Referenced by <a class="el" href="CLAM__Math_8hxx_source.html#l00192">CLAM_exp2()</a>.</p> </div> </div> <a class="anchor" id="af3b85b957db6f7357acbb3d8912d61b9"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const float ONE_OVER_LN10 = (0.43429448190325177635683940025f)</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00041">41</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> </div> </div> <a class="anchor" id="a96a21256aa21114469eeb30abd0a833a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const float ONE_OVER_LN2 = (1.44269504088896333066907387547f)</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00039">39</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> <p>Referenced by <a class="el" href="CLAM__Math_8hxx_source.html#l00347">CLAM_exp()</a>, and <a class="el" href="CLAM__Math_8hxx_source.html#l00225">CLAM_log2()</a>.</p> </div> </div> <a class="anchor" id="aa64653f320b4382f0f56074ce58170ab"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const float ONE_OVER_PI = (0.3183098861837906661338147750939f)</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00033">33</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> <p>Referenced by <a class="el" href="CLAM__Math_8hxx_source.html#l00073">CLAM_cos()</a>, and <a class="el" href="CLAM__Math_8hxx_source.html#l00050">CLAM_sin()</a>.</p> </div> </div> <a class="anchor" id="a090dc0b06d2a7aa76303f90dd5052bd5"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const float ONE_OVER_TWOPI = (0.15915494309189535682609381638f)</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00035">35</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> </div> </div> <a class="anchor" id="a0756b9bb91a49c2706b89fc3a444615e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const float PI_ = 3.1415926535897932384626433832795028841972</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00032">32</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> <p>Referenced by <a class="el" href="CLAM__Math_8hxx_source.html#l00132">CLAM_atan2()</a>.</p> </div> </div> <a class="anchor" id="a3ef24eed7ab189520b70fac7b3e16443"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const float PI_2 = (1.5707963267948966192313216916397514420986f)</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00036">36</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> <p>Referenced by <a class="el" href="CLAM__Math_8hxx_source.html#l00098">CLAM_atan()</a>, and <a class="el" href="CLAM__Math_8hxx_source.html#l00132">CLAM_atan2()</a>.</p> </div> </div> <a class="anchor" id="afba5d1280202b85ee34838aef04e49e5"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const float ROOT2 = (1.4142135623730950488016887242096980785697f)</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00047">47</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> <p>Referenced by <a class="el" href="CLAM__Math_8hxx_source.html#l00275">CLAM_sqrt()</a>.</p> </div> </div> <a class="anchor" id="a46d75571ecbb7287085d984277f0859c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const float TIMES20LN2_OVER_LN10 = 20*<a class="el" href="CLAM__Math_8hxx.html#a75e0e02ca62e5e6ace9f6950eb8a04db">LN2_OVER_LN10</a></td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00043">43</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> <p>Referenced by <a class="el" href="CLAM__Math_8hxx_source.html#l00338">CLAM_20log10()</a>.</p> </div> </div> <a class="anchor" id="ac79741749c5320a1f41b5e6dd1ce930a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const float TWO_OVER_PI = (0.636619772367581332267629550188f)</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00037">37</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> </div> </div> <a class="anchor" id="af1e0584fb7d3a6534854a49d89c0c37e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const float TWOPI = (6.2831853071795864769252867665590057683943f)</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CLAM__Math_8hxx_source.html#l00034">34</a> of file <a class="el" href="CLAM__Math_8hxx_source.html">CLAM_Math.hxx</a>.</p> </div> </div> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.1 </small></address> </body> </html>
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare