Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > updates > by-pkgid > 6e7a2755bd78c9deedab199b86e675f3 > files > 1316

gnuradio-doc-3.2.2-9.fc14.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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">GNU Radio 3.2.2 C++ API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('classgr__fxpt.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>gr_fxpt Class Reference<div class="ingroups"><a class="el" href="group__misc.html">Miscellaneous</a></div></h1>  </div>
</div>
<div class="contents">
<!-- 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 class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="gr__types_8h.html#ac07cda22882f844c0aa1633d49f1c144">gr_int32</a>&#160;</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&#160;</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#ac07cda22882f844c0aa1633d49f1c144">gr_int32</a> x)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fxpt.html#a26312e3f31f6d7a6ae4810c05f30979a">sin</a> (<a class="el" href="gr__types_8h.html#ac07cda22882f844c0aa1633d49f1c144">gr_int32</a> x)</td></tr>
<tr><td class="mdescLeft">&#160;</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&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fxpt.html#a61861c9e4535e05a567a96a2551430a9">cos</a> (<a class="el" href="gr__types_8h.html#ac07cda22882f844c0aa1633d49f1c144">gr_int32</a> x)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>fixed point sine and cosine and friends.</p>
<p>fixed pt radians --------- -------- -2**31 -pi 0 0 2**31-1 pi - epsilon </p>
</div><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#ac07cda22882f844c0aa1633d49f1c144">gr_int32</a>&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Referenced by <a class="el" href="classgr__fxpt__vco.html#add26607d8252aa8633bfcf5e6514b8df">gr_fxpt_vco::cos()</a>, <a class="el" href="classgr__fxpt__nco.html#a311aa53513b5f3c2e636e00e1d1c2705">gr_fxpt_nco::cos()</a>, and <a class="el" href="classgr__fxpt__nco.html#a2db2f682d27fa1999c419c0609677e4d">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#ac07cda22882f844c0aa1633d49f1c144">gr_int32</a>&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Referenced by <a class="el" href="classgr__fxpt__nco.html#ada5afdcf3342cca4f08e84e9742eb4d2">gr_fxpt_nco::get_freq()</a>, <a class="el" href="classgr__fxpt__vco.html#af2a50adafe9c40aa2534c5618551e33c">gr_fxpt_vco::get_phase()</a>, and <a class="el" href="classgr__fxpt__nco.html#a797e30fe6b0ef1fac0d994f7c6229c07">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#ac07cda22882f844c0aa1633d49f1c144">gr_int32</a> gr_fxpt::float_to_fixed </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Referenced by <a class="el" href="classgr__fxpt__nco.html#ae0b360fc3c7c90594065c196d091a632">gr_fxpt_nco::adjust_freq()</a>, <a class="el" href="classgr__fxpt__vco.html#aacf093027fc95da11b86802e409ef3cf">gr_fxpt_vco::adjust_phase()</a>, <a class="el" href="classgr__fxpt__nco.html#a10dbfd4b18e7a071d0fc605f2865c0b5">gr_fxpt_nco::adjust_phase()</a>, <a class="el" href="classgr__fxpt__nco.html#ae0062d57b4282e923b616a8249c33ca8">gr_fxpt_nco::set_freq()</a>, <a class="el" href="classgr__fxpt__vco.html#a8aeadf8f5afddec7ffb5e969b8c4e1b5">gr_fxpt_vco::set_phase()</a>, and <a class="el" href="classgr__fxpt__nco.html#a2a51544852b6c4d26517f9e399f73ca3">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#ac07cda22882f844c0aa1633d49f1c144">gr_int32</a>&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</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="classgr__fxpt__nco.html#a2e8d572d1dc2848b60c000750494c904">gr_fxpt_nco::sin()</a>, and <a class="el" href="classgr__fxpt__nco.html#a2db2f682d27fa1999c419c0609677e4d">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>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="classgr__fxpt.html">gr_fxpt</a>      </li>
      <li class="footer">Generated on Thu Feb 17 2011 for GNU Radio 3.2.2 C++ API by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
    </ul>
  </div>

</body>
</html>