Sophie

Sophie

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

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_ccf 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__ccf.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_ccf Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="gr_fir_ccf" -->
<p>Abstract class for FIR with gr_complex input, gr_complex 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__ccf_8h_source.html">gr_fir_ccf.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for gr_fir_ccf:</div>
<div class="dyncontent">
<div class="center"><img src="classgr__fir__ccf__inherit__graph.png" border="0" usemap="#gr__fir__ccf_inherit__map" alt="Inheritance graph"/></div>
<map name="gr__fir__ccf_inherit__map" id="gr__fir__ccf_inherit__map">
<area shape="rect" id="node3" href="classgr__fir__ccf__generic.html" title="Concrete class for generic implementation of FIR with gr_complex input, gr_complex output and float t..." alt="" coords="71,83,196,112"/><area shape="rect" id="node5" href="classgr__fir__ccf__simd.html" title="common base class for SIMD versions of gr_fir_ccfThis base class handles alignment issues common to S..." alt="" coords="79,160,188,189"/><area shape="rect" id="node7" href="classgr__fir__ccf__3dnow.html" title="3DNow! version of gr_fir_ccf" alt="" coords="5,237,125,267"/><area shape="rect" id="node9" href="classgr__fir__ccf__sse.html" title="SSE version of gr_fir_ccf." alt="" coords="149,237,253,267"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classgr__fir__ccf-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__ccf.html#aa48a9accdb4deced4b5b04061a8961df">gr_fir_ccf</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">construct new FIR with given taps.  <a href="#aa48a9accdb4deced4b5b04061a8961df"></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__ccf.html#a9d5ba21009ff25164b8fdf08d0c8c7e3">gr_fir_ccf</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__ccf.html#a1823367b810356281a5e87efa1b57d8f">~gr_fir_ccf</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fir__ccf.html#a71c4c6b0140a1d5361ba775cf71bb797">filter</a> (const <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> input[])=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">compute a single output value.  <a href="#a71c4c6b0140a1d5361ba775cf71bb797"></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__ccf.html#ad5cf87431f23dd0a3aed215b10ea70fa">filterN</a> (<a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> output[], const <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> 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="#ad5cf87431f23dd0a3aed215b10ea70fa"></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__ccf.html#a493142da6b8c3a91c413aae1d0e9975c">filterNdec</a> (<a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> output[], const <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> 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="#a493142da6b8c3a91c413aae1d0e9975c"></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__ccf.html#afaa800d2c0901730c37101bdfff9386d">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="#afaa800d2c0901730c37101bdfff9386d"></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__ccf.html#a03fb8ba5795cd467c6bd6314ac4a4d78">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__ccf.html#ab1ed3d65aaa985e7032fd5e9243537d1">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__ccf.html#a9af107e829a86398e5f607702840806a">d_taps</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Abstract class for FIR with gr_complex input, gr_complex 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="aa48a9accdb4deced4b5b04061a8961df"></a><!-- doxytag: member="gr_fir_ccf::gr_fir_ccf" ref="aa48a9accdb4deced4b5b04061a8961df" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gr_fir_ccf::gr_fir_ccf </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="a9d5ba21009ff25164b8fdf08d0c8c7e3"></a><!-- doxytag: member="gr_fir_ccf::gr_fir_ccf" ref="a9d5ba21009ff25164b8fdf08d0c8c7e3" args="(const std::vector&lt; float &gt; &amp;taps)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gr_fir_ccf::gr_fir_ccf </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="a1823367b810356281a5e87efa1b57d8f"></a><!-- doxytag: member="gr_fir_ccf::~gr_fir_ccf" ref="a1823367b810356281a5e87efa1b57d8f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual gr_fir_ccf::~gr_fir_ccf </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="a71c4c6b0140a1d5361ba775cf71bb797"></a><!-- doxytag: member="gr_fir_ccf::filter" ref="a71c4c6b0140a1d5361ba775cf71bb797" args="(const gr_complex input[])=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> gr_fir_ccf::filter </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a>&#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__ccf.html#a03fb8ba5795cd467c6bd6314ac4a4d78">ntaps()</a> valid entries. input[0] .. input[<a class="el" href="classgr__fir__ccf.html#a03fb8ba5795cd467c6bd6314ac4a4d78">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__ccf__generic.html#aa3965e06fadc82c0ffde8949842b6088">gr_fir_ccf_generic</a>, and <a class="el" href="classgr__fir__ccf__simd.html#a8acdb63d025f11d8f028565c68f03bc0">gr_fir_ccf_simd</a>.</p>

</div>
</div>
<a class="anchor" id="ad5cf87431f23dd0a3aed215b10ea70fa"></a><!-- doxytag: member="gr_fir_ccf::filterN" ref="ad5cf87431f23dd0a3aed215b10ea70fa" args="(gr_complex output[], const gr_complex input[], unsigned long n)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void gr_fir_ccf::filterN </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a>&#160;</td>
          <td class="paramname"><em>output</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a>&#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__ccf.html#a03fb8ba5795cd467c6bd6314ac4a4d78">ntaps()</a>) valid entries. input[0] .. input[n - 1 + <a class="el" href="classgr__fir__ccf.html#a03fb8ba5795cd467c6bd6314ac4a4d78">ntaps()</a> - 1] are referenced to compute the output values. </p>

<p>Implemented in <a class="el" href="classgr__fir__ccf__generic.html#ad06a6a9c87cfd7c20f0b0746f46fa28c">gr_fir_ccf_generic</a>.</p>

</div>
</div>
<a class="anchor" id="a493142da6b8c3a91c413aae1d0e9975c"></a><!-- doxytag: member="gr_fir_ccf::filterNdec" ref="a493142da6b8c3a91c413aae1d0e9975c" args="(gr_complex output[], const gr_complex input[], unsigned long n, unsigned decimate)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void gr_fir_ccf::filterNdec </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a>&#160;</td>
          <td class="paramname"><em>output</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a>&#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__ccf.html#a03fb8ba5795cd467c6bd6314ac4a4d78">ntaps()</a>) valid entries. input[0] .. input[decimate * (n - 1) + <a class="el" href="classgr__fir__ccf.html#a03fb8ba5795cd467c6bd6314ac4a4d78">ntaps()</a> - 1] are referenced to compute the output values. </p>

<p>Implemented in <a class="el" href="classgr__fir__ccf__generic.html#a05e2e78319edd5f5a8902b9b09c45756">gr_fir_ccf_generic</a>.</p>

</div>
</div>
<a class="anchor" id="ab1ed3d65aaa985e7032fd5e9243537d1"></a><!-- doxytag: member="gr_fir_ccf::get_taps" ref="ab1ed3d65aaa985e7032fd5e9243537d1" 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_ccf::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__ccf.html#a9af107e829a86398e5f607702840806a">d_taps</a>, and <a class="el" href="gr__reverse_8h.html#a0e0995ad6539dd54e5e331ccb3681932">gr_reverse()</a>.</p>

</div>
</div>
<a class="anchor" id="a03fb8ba5795cd467c6bd6314ac4a4d78"></a><!-- doxytag: member="gr_fir_ccf::ntaps" ref="a03fb8ba5795cd467c6bd6314ac4a4d78" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned gr_fir_ccf::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__ccf.html#a9af107e829a86398e5f607702840806a">d_taps</a>.</p>

</div>
</div>
<a class="anchor" id="afaa800d2c0901730c37101bdfff9386d"></a><!-- doxytag: member="gr_fir_ccf::set_taps" ref="afaa800d2c0901730c37101bdfff9386d" 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_ccf::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__ccf__simd.html#a970d13e317fa6471e65da3bcd94a2e24">gr_fir_ccf_simd</a>.</p>

<p>References <a class="el" href="classgr__fir__ccf.html#a9af107e829a86398e5f607702840806a">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="a9af107e829a86398e5f607702840806a"></a><!-- doxytag: member="gr_fir_ccf::d_taps" ref="a9af107e829a86398e5f607702840806a" 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__ccf.html#a9af107e829a86398e5f607702840806a">gr_fir_ccf::d_taps</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Referenced by <a class="el" href="classgr__fir__ccf.html#ab1ed3d65aaa985e7032fd5e9243537d1">get_taps()</a>, <a class="el" href="classgr__fir__ccf.html#a03fb8ba5795cd467c6bd6314ac4a4d78">ntaps()</a>, and <a class="el" href="classgr__fir__ccf.html#afaa800d2c0901730c37101bdfff9386d">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__ccf_8h_source.html">gr_fir_ccf.h</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="classgr__fir__ccf.html">gr_fir_ccf</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>