Sophie

Sophie

distrib > Fedora > 13 > x86_64 > by-pkgid > ae19f57cd4e306abd5716199a310070b > files > 1318

gnuradio-doc-3.2.2-3.fc13.x86_64.rpm

<!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"/>
<title>GNU Radio 3.2.2 C++ API: gr_fxpt Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.2 -->
<div class="contents">
<h1>gr_fxpt Class Reference<br/>
<small>
[<a class="el" href="group__misc.html">Miscellaneous</a>]</small>
</h1><!-- doxytag: class="gr_fxpt" -->
<p>fixed point sine and cosine and friends.fixed pt radians --------- -------- -2**31 -pi 0 0 2**31-1 pi - epsilon  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="gr__fxpt_8h_source.html">gr_fxpt.h</a>&gt;</code></p>

<p><a href="classgr__fxpt-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="gr__types_8h.html#ab1d657af665cd9663c1c32e185e4c99f">gr_int32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fxpt.html#a8cf5f6942dd8db09072fb711d09b4820">float_to_fixed</a> (float x)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fxpt.html#a4b89af0770b5c4751f52224976514c20">fixed_to_float</a> (<a class="el" href="gr__types_8h.html#ab1d657af665cd9663c1c32e185e4c99f">gr_int32</a> x)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fxpt.html#a26312e3f31f6d7a6ae4810c05f30979a">sin</a> (<a class="el" href="gr__types_8h.html#ab1d657af665cd9663c1c32e185e4c99f">gr_int32</a> x)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Given a fixed point angle x, return float sine (x).  <a href="#a26312e3f31f6d7a6ae4810c05f30979a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fxpt.html#a61861c9e4535e05a567a96a2551430a9">cos</a> (<a class="el" href="gr__types_8h.html#ab1d657af665cd9663c1c32e185e4c99f">gr_int32</a> x)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>fixed point sine and cosine and friends.</p>
<p>fixed pt radians --------- -------- -2**31 -pi 0 0 2**31-1 pi - epsilon </p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a61861c9e4535e05a567a96a2551430a9"></a><!-- doxytag: member="gr_fxpt::cos" ref="a61861c9e4535e05a567a96a2551430a9" args="(gr_int32 x)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static float gr_fxpt::cos </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="gr__types_8h.html#ab1d657af665cd9663c1c32e185e4c99f">gr_int32</a>&nbsp;</td>
          <td class="paramname"> <em>x</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Referenced by <a class="el" href="gr__fxpt__vco_8h_source.html#l00059">gr_fxpt_vco::cos()</a>, <a class="el" href="gr__fxpt__nco_8h_source.html#l00103">gr_fxpt_nco::cos()</a>, and <a class="el" href="gr__fxpt__nco_8h_source.html#l00085">gr_fxpt_nco::sincos()</a>.</p>

</div>
</div>
<a class="anchor" id="a4b89af0770b5c4751f52224976514c20"></a><!-- doxytag: member="gr_fxpt::fixed_to_float" ref="a4b89af0770b5c4751f52224976514c20" args="(gr_int32 x)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static float gr_fxpt::fixed_to_float </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="gr__types_8h.html#ab1d657af665cd9663c1c32e185e4c99f">gr_int32</a>&nbsp;</td>
          <td class="paramname"> <em>x</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Referenced by <a class="el" href="gr__fxpt__nco_8h_source.html#l00075">gr_fxpt_nco::get_freq()</a>, <a class="el" href="gr__fxpt__vco_8h_source.html#l00049">gr_fxpt_vco::get_phase()</a>, and <a class="el" href="gr__fxpt__nco_8h_source.html#l00074">gr_fxpt_nco::get_phase()</a>.</p>

</div>
</div>
<a class="anchor" id="a8cf5f6942dd8db09072fb711d09b4820"></a><!-- doxytag: member="gr_fxpt::float_to_fixed" ref="a8cf5f6942dd8db09072fb711d09b4820" args="(float x)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="gr__types_8h.html#ab1d657af665cd9663c1c32e185e4c99f">gr_int32</a> gr_fxpt::float_to_fixed </td>
          <td>(</td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>x</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Referenced by <a class="el" href="gr__fxpt__nco_8h_source.html#l00056">gr_fxpt_nco::adjust_freq()</a>, <a class="el" href="gr__fxpt__vco_8h_source.html#l00045">gr_fxpt_vco::adjust_phase()</a>, <a class="el" href="gr__fxpt__nco_8h_source.html#l00046">gr_fxpt_nco::adjust_phase()</a>, <a class="el" href="gr__fxpt__nco_8h_source.html#l00051">gr_fxpt_nco::set_freq()</a>, <a class="el" href="gr__fxpt__vco_8h_source.html#l00041">gr_fxpt_vco::set_phase()</a>, and <a class="el" href="gr__fxpt__nco_8h_source.html#l00042">gr_fxpt_nco::set_phase()</a>.</p>

</div>
</div>
<a class="anchor" id="a26312e3f31f6d7a6ae4810c05f30979a"></a><!-- doxytag: member="gr_fxpt::sin" ref="a26312e3f31f6d7a6ae4810c05f30979a" args="(gr_int32 x)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static float gr_fxpt::sin </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="gr__types_8h.html#ab1d657af665cd9663c1c32e185e4c99f">gr_int32</a>&nbsp;</td>
          <td class="paramname"> <em>x</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Given a fixed point angle x, return float sine (x). </p>

<p>Referenced by <a class="el" href="gr__fxpt__nco_8h_source.html#l00094">gr_fxpt_nco::sin()</a>, and <a class="el" href="gr__fxpt__nco_8h_source.html#l00085">gr_fxpt_nco::sincos()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="gr__fxpt_8h_source.html">gr_fxpt.h</a></li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
</body>
</html>