Sophie

Sophie

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

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_fir_fff 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__fir__fff.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<h1>gr_fir_fff Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="gr_fir_fff" -->
<p>Abstract class for FIR with float input, float output and float tapsThis is the abstract class for a Finite Impulse Response filter.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="gr__fir__fff_8h_source.html">gr_fir_fff.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for gr_fir_fff:</div>
<div class="dyncontent">
<div class="center"><img src="classgr__fir__fff__inherit__graph.png" border="0" usemap="#gr__fir__fff_inherit__map" alt="Inheritance graph"/></div>
<map name="gr__fir__fff_inherit__map" id="gr__fir__fff_inherit__map">
<area shape="rect" id="node3" href="classgr__fir__fff__generic.html" title="Concrete class for generic implementation of FIR with float input, float output and float taps..." alt="" coords="71,83,188,112"/><area shape="rect" id="node5" href="classgr__fir__fff__altivec.html" title="altivec version of gr_fir_fff" alt="" coords="5,160,120,189"/><area shape="rect" id="node7" href="classgr__fir__fff__simd.html" title="common base class for SIMD versions of gr_fir_fffThis base class handles alignment issues common to S..." alt="" coords="144,160,248,189"/><area shape="rect" id="node9" href="classgr__fir__fff__3dnow.html" title="3DNow! version of gr_fir_fff" alt="" coords="73,237,188,267"/><area shape="rect" id="node11" href="classgr__fir__fff__sse.html" title="SSE version of gr_fir_fff." alt="" coords="212,237,311,267"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classgr__fir__fff-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fir__fff.html#abb048967e21dc9aca56e551ff4042eec">gr_fir_fff</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">construct new FIR with given taps.  <a href="#abb048967e21dc9aca56e551ff4042eec"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fir__fff.html#a9f7f901a8030ba8e8940a0c9cd3d795d">gr_fir_fff</a> (const <a class="el" href="classstd_1_1vector.html">std::vector</a>&lt; float &gt; &amp;<a class="el" href="interpolator__taps_8h.html#a30bf032e13c2a9fc4a98e14e390cd65a">taps</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fir__fff.html#acf438d5de004cd0a852358d52d8d1609">~gr_fir_fff</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fir__fff.html#aea3a56a189c75c3752900d05a5b627d3">filter</a> (const float input[])=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">compute a single output value.  <a href="#aea3a56a189c75c3752900d05a5b627d3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fir__fff.html#ad53a1e12dd89e647fdbeea37691df85a">filterN</a> (float output[], const float input[], unsigned long n)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">compute an array of N output values.  <a href="#ad53a1e12dd89e647fdbeea37691df85a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fir__fff.html#a930255550bf68802cd694fe79091738f">filterNdec</a> (float output[], const float input[], unsigned long n, unsigned decimate)=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">compute an array of N output values, decimating the input  <a href="#a930255550bf68802cd694fe79091738f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fir__fff.html#ad692c67d571c9fdd45a214bac28c38d6">set_taps</a> (const <a class="el" href="classstd_1_1vector.html">std::vector</a>&lt; float &gt; &amp;<a class="el" href="interpolator__taps_8h.html#a30bf032e13c2a9fc4a98e14e390cd65a">taps</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">install <code>new_taps</code> as the current taps.  <a href="#ad692c67d571c9fdd45a214bac28c38d6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fir__fff.html#ac199a4f381799624a28559c9d8f76826">ntaps</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classstd_1_1vector.html">std::vector</a>&lt; float &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fir__fff.html#a4c8fdac7c6d2d3eea81064c7ed5f25e6">get_taps</a> () const </td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classstd_1_1vector.html">std::vector</a>&lt; float &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fir__fff.html#a1777535e2e5c1ea2618e6034bf27cd03">d_taps</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Abstract class for FIR with float input, float output and float taps</p>
<p>This is the abstract class for a Finite Impulse Response filter. </p>
<p>The trailing suffix has the form _IOT where I codes the input type, O codes the output type, and T codes the tap type. I,O,T are elements of the set 's' (short), 'f' (float), 'c' (gr_complex), 'i' (int) </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="abb048967e21dc9aca56e551ff4042eec"></a><!-- doxytag: member="gr_fir_fff::gr_fir_fff" ref="abb048967e21dc9aca56e551ff4042eec" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gr_fir_fff::gr_fir_fff </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>construct new FIR with given taps. </p>
<p>Note that taps must be in forward order, e.g., coefficient 0 is stored in new_taps[0], coefficient 1 is stored in new_taps[1], etc. </p>

</div>
</div>
<a class="anchor" id="a9f7f901a8030ba8e8940a0c9cd3d795d"></a><!-- doxytag: member="gr_fir_fff::gr_fir_fff" ref="a9f7f901a8030ba8e8940a0c9cd3d795d" args="(const std::vector&lt; float &gt; &amp;taps)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gr_fir_fff::gr_fir_fff </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classstd_1_1vector.html">std::vector</a>&lt; float &gt; &amp;&#160;</td>
          <td class="paramname"><em>taps</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="acf438d5de004cd0a852358d52d8d1609"></a><!-- doxytag: member="gr_fir_fff::~gr_fir_fff" ref="acf438d5de004cd0a852358d52d8d1609" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual gr_fir_fff::~gr_fir_fff </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aea3a56a189c75c3752900d05a5b627d3"></a><!-- doxytag: member="gr_fir_fff::filter" ref="aea3a56a189c75c3752900d05a5b627d3" args="(const float input[])=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual float gr_fir_fff::filter </td>
          <td>(</td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>input</em>[]</td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>compute a single output value. </p>
<p><code>input</code> must have <a class="el" href="classgr__fir__fff.html#ac199a4f381799624a28559c9d8f76826">ntaps()</a> valid entries. input[0] .. input[<a class="el" href="classgr__fir__fff.html#ac199a4f381799624a28559c9d8f76826">ntaps()</a> - 1] are referenced to compute the output value.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the filtered input value. </dd></dl>

<p>Implemented in <a class="el" href="classgr__fir__fff__altivec.html#aa1b8a9d8435b82e208047ab6b79d05be">gr_fir_fff_altivec</a>, <a class="el" href="classgr__fir__fff__generic.html#a9c78953f14ec2db18421d53309ab2541">gr_fir_fff_generic</a>, and <a class="el" href="classgr__fir__fff__simd.html#af7851e658801505687df0f94f85fb34a">gr_fir_fff_simd</a>.</p>

</div>
</div>
<a class="anchor" id="ad53a1e12dd89e647fdbeea37691df85a"></a><!-- doxytag: member="gr_fir_fff::filterN" ref="ad53a1e12dd89e647fdbeea37691df85a" args="(float output[], const float input[], unsigned long n)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void gr_fir_fff::filterN </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>output</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>input</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned long&#160;</td>
          <td class="paramname"><em>n</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>compute an array of N output values. </p>
<p><code>input</code> must have (n - 1 + <a class="el" href="classgr__fir__fff.html#ac199a4f381799624a28559c9d8f76826">ntaps()</a>) valid entries. input[0] .. input[n - 1 + <a class="el" href="classgr__fir__fff.html#ac199a4f381799624a28559c9d8f76826">ntaps()</a> - 1] are referenced to compute the output values. </p>

<p>Implemented in <a class="el" href="classgr__fir__fff__generic.html#a7e3e776a481dabaf2511e8c1cb70dcc4">gr_fir_fff_generic</a>.</p>

</div>
</div>
<a class="anchor" id="a930255550bf68802cd694fe79091738f"></a><!-- doxytag: member="gr_fir_fff::filterNdec" ref="a930255550bf68802cd694fe79091738f" args="(float output[], const float input[], unsigned long n, unsigned decimate)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void gr_fir_fff::filterNdec </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>output</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>input</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned long&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned&#160;</td>
          <td class="paramname"><em>decimate</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>compute an array of N output values, decimating the input </p>
<p><code>input</code> must have (decimate * (n - 1) + <a class="el" href="classgr__fir__fff.html#ac199a4f381799624a28559c9d8f76826">ntaps()</a>) valid entries. input[0] .. input[decimate * (n - 1) + <a class="el" href="classgr__fir__fff.html#ac199a4f381799624a28559c9d8f76826">ntaps()</a> - 1] are referenced to compute the output values. </p>

<p>Implemented in <a class="el" href="classgr__fir__fff__generic.html#aad21a689717ce5e0f1fd7bcdd798ca49">gr_fir_fff_generic</a>.</p>

</div>
</div>
<a class="anchor" id="a4c8fdac7c6d2d3eea81064c7ed5f25e6"></a><!-- doxytag: member="gr_fir_fff::get_taps" ref="a4c8fdac7c6d2d3eea81064c7ed5f25e6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classstd_1_1vector.html">std::vector</a>&lt;float&gt; gr_fir_fff::get_taps </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>current taps </dd></dl>

<p>References <a class="el" href="classgr__fir__fff.html#a1777535e2e5c1ea2618e6034bf27cd03">d_taps</a>, and <a class="el" href="gr__reverse_8h.html#a0e0995ad6539dd54e5e331ccb3681932">gr_reverse()</a>.</p>

</div>
</div>
<a class="anchor" id="ac199a4f381799624a28559c9d8f76826"></a><!-- doxytag: member="gr_fir_fff::ntaps" ref="ac199a4f381799624a28559c9d8f76826" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned gr_fir_fff::ntaps </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>number of taps in filter. </dd></dl>

<p>References <a class="el" href="classgr__fir__fff.html#a1777535e2e5c1ea2618e6034bf27cd03">d_taps</a>.</p>

</div>
</div>
<a class="anchor" id="ad692c67d571c9fdd45a214bac28c38d6"></a><!-- doxytag: member="gr_fir_fff::set_taps" ref="ad692c67d571c9fdd45a214bac28c38d6" args="(const std::vector&lt; float &gt; &amp;taps)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void gr_fir_fff::set_taps </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classstd_1_1vector.html">std::vector</a>&lt; float &gt; &amp;&#160;</td>
          <td class="paramname"><em>taps</em></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>install <code>new_taps</code> as the current taps. </p>

<p>Reimplemented in <a class="el" href="classgr__fir__fff__altivec.html#a7d38cc74814840008f179064825e945b">gr_fir_fff_altivec</a>, and <a class="el" href="classgr__fir__fff__simd.html#a222d088b12c98ffbdfa6964da92948ca">gr_fir_fff_simd</a>.</p>

<p>References <a class="el" href="classgr__fir__fff.html#a1777535e2e5c1ea2618e6034bf27cd03">d_taps</a>, and <a class="el" href="gr__reverse_8h.html#a0e0995ad6539dd54e5e331ccb3681932">gr_reverse()</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a1777535e2e5c1ea2618e6034bf27cd03"></a><!-- doxytag: member="gr_fir_fff::d_taps" ref="a1777535e2e5c1ea2618e6034bf27cd03" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classstd_1_1vector.html">std::vector</a>&lt;float&gt; <a class="el" href="classgr__fir__fff.html#a1777535e2e5c1ea2618e6034bf27cd03">gr_fir_fff::d_taps</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Referenced by <a class="el" href="classgr__fir__fff.html#a4c8fdac7c6d2d3eea81064c7ed5f25e6">get_taps()</a>, <a class="el" href="classgr__fir__fff.html#ac199a4f381799624a28559c9d8f76826">ntaps()</a>, and <a class="el" href="classgr__fir__fff.html#ad692c67d571c9fdd45a214bac28c38d6">set_taps()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="gr__fir__fff_8h_source.html">gr_fir_fff.h</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="classgr__fir__fff.html">gr_fir_fff</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>