<!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"/> <meta name="generator" content="Doxygen 1.8.3"/> <title>GNU Radio 3.6.4.1 C++ API: gr_complex.h 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="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> $(document).ready(initResizable); $(window).load(resizeHeight); </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">GNU Radio 3.6.4.1 C++ API </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.3 --> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> $(document).ready(function(){initNavTree('gr__complex_8h.html','');}); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#define-members">Macros</a> | <a href="#typedef-members">Typedefs</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">gr_complex.h File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <complex></code><br/> </div><div class="textblock"><div class="dynheader"> Include dependency graph for gr_complex.h:</div> <div class="dyncontent"> <div class="center"><img src="gr__complex_8h__incl.png" border="0" usemap="#gr__complex_8h" alt=""/></div> <map name="gr__complex_8h" id="gr__complex_8h"> </map> </div> </div><div class="textblock"><div class="dynheader"> This graph shows which files directly or indirectly include this file:</div> <div class="dyncontent"> <div class="center"><img src="gr__complex_8h__dep__incl.png" border="0" usemap="#gr__complex_8hdep" alt=""/></div> <map name="gr__complex_8hdep" id="gr__complex_8hdep"> <area shape="rect" id="node3" href="gr__rotator_8h.html" title="gr_rotator.h" alt="" coords="380,88,468,115"/><area shape="rect" id="node5" href="gr__single__pole__iir_8h.html" title="gr_single_pole_iir.h" alt="" coords="543,88,676,115"/><area shape="rect" id="node7" href="gr__single__pole__iir__filter__cc_8h.html" title="gr_single_pole_iir\l_filter_cc.h" alt="" coords="5,171,128,213"/><area shape="rect" id="node24" href="gri__fft__filter__ccc__generic_8h.html" title="gri_fft_filter_ccc\l_generic.h" alt="" coords="700,81,815,122"/><area shape="rect" id="node26" href="gri__fft__filter__ccc__sse_8h.html" title="gri_fft_filter_ccc\l_sse.h" alt="" coords="839,81,953,122"/><area shape="rect" id="node28" href="gri__fft__filter__fff__generic_8h.html" title="gri_fft_filter_fff\l_generic.h" alt="" coords="977,81,1084,122"/><area shape="rect" id="node30" href="gri__fft__filter__fff__sse_8h.html" title="gri_fft_filter_fff\l_sse.h" alt="" coords="1108,81,1215,122"/><area shape="rect" id="node32" href="gri__mmse__fir__interpolator__cc_8h.html" title="gri_mmse_fir_interpolator_cc.h" alt="" coords="1239,88,1437,115"/><area shape="rect" id="node34" href="gr__complex__to__xxx_8h.html" title="gr_complex_to_xxx.h" alt="" coords="1463,88,1609,115"/><area shape="rect" id="node36" href="gr__feval_8h.html" title="gr_feval.h" alt="" coords="1634,88,1712,115"/><area shape="rect" id="node38" href="gr__firdes_8h.html" title="gr_firdes.h" alt="" coords="1737,88,1819,115"/><area shape="rect" id="node40" href="gr__float__to__complex_8h.html" title="gr_float_to_complex.h" alt="" coords="1845,88,1995,115"/><area shape="rect" id="node42" href="gr__fxpt__nco_8h.html" title="gr_fxpt_nco.h" alt="" coords="2020,88,2121,115"/><area shape="rect" id="node44" href="gr__fxpt__vco_8h.html" title="gr_fxpt_vco.h" alt="" coords="2145,88,2247,115"/><area shape="rect" id="node46" href="gr__math_8h.html" title="gr_math.h" alt="" coords="2271,88,2349,115"/><area shape="rect" id="node48" href="digital__clock__recovery__mm__cc_8h.html" title="digital_clock_recovery\l_mm_cc.h" alt="" coords="2274,171,2424,213"/><area shape="rect" id="node50" href="gr__nco_8h.html" title="gr_nco.h" alt="" coords="2425,88,2497,115"/><area shape="rect" id="node52" href="gr__random_8h.html" title="gr_random.h" alt="" coords="2522,88,2616,115"/><area shape="rect" id="node54" href="gr__reverse_8h.html" title="gr_reverse.h" alt="" coords="2641,88,2735,115"/><area shape="rect" id="node56" href="gr__vco_8h.html" title="gr_vco.h" alt="" coords="2760,88,2832,115"/><area shape="rect" id="node58" href="gri__fft_8h.html" title="gri_fft.h" alt="" coords="2856,88,2923,115"/><area shape="rect" id="node60" href="gri__interleaved__short__to__complex_8h.html" title="gri_interleaved_short\l_to_complex.h" alt="" coords="2947,81,3089,122"/><area shape="rect" id="node62" href="gr__pdu_8h.html" title="gr_pdu.h" alt="" coords="3115,88,3187,115"/><area shape="rect" id="node64" href="gr__types_8h.html" title="gr_types.h" alt="" coords="3211,88,3292,115"/><area shape="rect" id="node66" href="agc_8h.html" title="agc.h" alt="" coords="3318,88,3372,115"/><area shape="rect" id="node68" href="agc2_8h.html" title="agc2.h" alt="" coords="3397,88,3459,115"/><area shape="rect" id="node70" href="rotator_8h.html" title="rotator.h" alt="" coords="3483,88,3553,115"/><area shape="rect" id="node72" href="interleaved__short__array__to__complex_8h.html" title="interleaved_short_array\l_to_complex.h" alt="" coords="3579,81,3736,122"/><area shape="rect" id="node75" href="digital__constellation_8h.html" title="digital_constellation.h" alt="" coords="3760,88,3907,115"/><area shape="rect" id="node77" href="digital__constellation__receiver__cb_8h.html" title="digital_constellation\l_receiver_cb.h" alt="" coords="3820,171,3955,213"/><area shape="rect" id="node80" href="digital__mpsk__receiver__cc_8h.html" title="digital_mpsk_receiver_cc.h" alt="" coords="3982,88,4161,115"/><area shape="rect" id="node82" href="gr-fft_2include_2fft_2fft_8h.html" title="fft.h" alt="" coords="4187,88,4232,115"/><area shape="rect" id="node84" href="fft__filter_8h.html" title="fft_filter.h" alt="" coords="4185,179,4261,205"/><area shape="rect" id="node87" href="fir__filter_8h.html" title="fir_filter.h" alt="" coords="4307,88,4383,115"/><area shape="rect" id="node89" href="mmse__fir__interpolator__cc_8h.html" title="mmse_fir_interpolator_cc.h" alt="" coords="4316,179,4495,205"/><area shape="rect" id="node91" href="fir__filter__with__buffer_8h.html" title="fir_filter_with_buffer.h" alt="" coords="4459,88,4605,115"/><area shape="rect" id="node93" href="firdes_8h.html" title="firdes.h" alt="" coords="4630,88,4695,115"/><area shape="rect" id="node96" href="single__pole__iir_8h.html" title="single_pole_iir.h" alt="" coords="4771,88,4885,115"/><area shape="rect" id="node98" href="single__pole__iir__filter__cc_8h.html" title="single_pole_iir_filter_cc.h" alt="" coords="4599,179,4767,205"/><area shape="rect" id="node100" href="single__pole__iir__filter__cc__impl_8h.html" title="single_pole_iir_filter\l_cc_impl.h" alt="" coords="4736,262,4871,303"/><area shape="rect" id="node102" href="single__pole__iir__filter__ff_8h.html" title="single_pole_iir_filter_ff.h" alt="" coords="4841,179,5004,205"/><area shape="rect" id="node108" href="calc__metric_8h.html" title="calc_metric.h" alt="" coords="5079,88,5179,115"/><area shape="rect" id="node9" href="gr__single__pole__iir__filter__ff_8h.html" title="gr_single_pole_iir\l_filter_ff.h" alt="" coords="152,171,275,213"/><area shape="rect" id="node11" href="gr__probe__avg__mag__sqrd__c_8h.html" title="gr_probe_avg_mag_sqrd_c.h" alt="" coords="299,179,488,205"/><area shape="rect" id="node13" href="gr__probe__avg__mag__sqrd__cf_8h.html" title="gr_probe_avg_mag_sqrd_cf.h" alt="" coords="513,179,705,205"/><area shape="rect" id="node15" href="gr__probe__avg__mag__sqrd__f_8h.html" title="gr_probe_avg_mag_sqrd_f.h" alt="" coords="731,179,917,205"/><area shape="rect" id="node17" href="gr__pwr__squelch__cc_8h.html" title="gr_pwr_squelch_cc.h" alt="" coords="942,179,1087,205"/><area shape="rect" id="node19" href="gr__pwr__squelch__ff_8h.html" title="gr_pwr_squelch_ff.h" alt="" coords="1112,179,1251,205"/><area shape="rect" id="node21" href="gr__rms__cf_8h.html" title="gr_rms_cf.h" alt="" coords="1275,179,1365,205"/></map> </div> </div> <p><a href="gr__complex_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> Macros</h2></td></tr> <tr class="memitem:a9f336c1fef8b20bb247d00d65978e722"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="gr__complex_8h.html#a9f336c1fef8b20bb247d00d65978e722">CPPUNIT_ASSERT_COMPLEXES_EQUAL</a>(expected, actual, delta)</td></tr> <tr class="separator:a9f336c1fef8b20bb247d00d65978e722"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a> Typedefs</h2></td></tr> <tr class="memitem:aec4bfe41433369afae9327f1b0bc9109"><td class="memItemLeft" align="right" valign="top">typedef std::complex< float > </td><td class="memItemRight" valign="bottom"><a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a></td></tr> <tr class="separator:aec4bfe41433369afae9327f1b0bc9109"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a90c065671dd1c4b7aed7e08b265e23f7"><td class="memItemLeft" align="right" valign="top">typedef std::complex< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="gr__complex_8h.html#a90c065671dd1c4b7aed7e08b265e23f7">gr_complexd</a></td></tr> <tr class="separator:a90c065671dd1c4b7aed7e08b265e23f7"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:a2ea72f70accbd7fefca28b2690eda735"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="gr__complex_8h.html#a2ea72f70accbd7fefca28b2690eda735">is_complex</a> (<a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> x)</td></tr> <tr class="separator:a2ea72f70accbd7fefca28b2690eda735"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9db5e5374356af4e260bccd11b321a1e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="gr__complex_8h.html#a9db5e5374356af4e260bccd11b321a1e">is_complex</a> (<a class="el" href="gr__complex_8h.html#a90c065671dd1c4b7aed7e08b265e23f7">gr_complexd</a> x)</td></tr> <tr class="separator:a9db5e5374356af4e260bccd11b321a1e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af5a59b4d115f050435dcb2d97e8db95b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="gr__complex_8h.html#af5a59b4d115f050435dcb2d97e8db95b">is_complex</a> (float x)</td></tr> <tr class="separator:af5a59b4d115f050435dcb2d97e8db95b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8f5e2b3d08dfce6286d5c66ead123da7"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="gr__complex_8h.html#a8f5e2b3d08dfce6286d5c66ead123da7">is_complex</a> (double x)</td></tr> <tr class="separator:a8f5e2b3d08dfce6286d5c66ead123da7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9cdc83b8f04b5f6304de206d2c1f85b7"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="gr__complex_8h.html#a9cdc83b8f04b5f6304de206d2c1f85b7">is_complex</a> (int x)</td></tr> <tr class="separator:a9cdc83b8f04b5f6304de206d2c1f85b7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af233866c21d163bcb7e05df1748a72ec"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="gr__complex_8h.html#af233866c21d163bcb7e05df1748a72ec">is_complex</a> (char x)</td></tr> <tr class="separator:af233866c21d163bcb7e05df1748a72ec"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0671a1ba433776b13c8be3a0f2ac6de7"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="gr__complex_8h.html#a0671a1ba433776b13c8be3a0f2ac6de7">is_complex</a> (short x)</td></tr> <tr class="separator:a0671a1ba433776b13c8be3a0f2ac6de7"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Macro Definition Documentation</h2> <a class="anchor" id="a9f336c1fef8b20bb247d00d65978e722"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define CPPUNIT_ASSERT_COMPLEXES_EQUAL</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">expected, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">actual, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">delta </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <b>Value:</b><div class="fragment"><div class="line">CPPUNIT_ASSERT_DOUBLES_EQUAL (expected.real(), actual.real(), delta); \</div> <div class="line"> CPPUNIT_ASSERT_DOUBLES_EQUAL (expected.imag(), actual.imag(), delta);</div> </div><!-- fragment --> </div> </div> <h2 class="groupheader">Typedef Documentation</h2> <a class="anchor" id="aec4bfe41433369afae9327f1b0bc9109"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef std::complex<float> <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a></td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="a90c065671dd1c4b7aed7e08b265e23f7"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef std::complex<double> <a class="el" href="gr__complex_8h.html#a90c065671dd1c4b7aed7e08b265e23f7">gr_complexd</a></td> </tr> </table> </div><div class="memdoc"> </div> </div> <h2 class="groupheader">Function Documentation</h2> <a class="anchor" id="a2ea72f70accbd7fefca28b2690eda735"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool is_complex </td> <td>(</td> <td class="paramtype"><a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> </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>References <a class="el" href="volk_8tmpl_8h.html#a8dc2b7da310a28e667530ba0e8ca4cc4">void()</a>.</p> </div> </div> <a class="anchor" id="a9db5e5374356af4e260bccd11b321a1e"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool is_complex </td> <td>(</td> <td class="paramtype"><a class="el" href="gr__complex_8h.html#a90c065671dd1c4b7aed7e08b265e23f7">gr_complexd</a> </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>References <a class="el" href="volk_8tmpl_8h.html#a8dc2b7da310a28e667530ba0e8ca4cc4">void()</a>.</p> </div> </div> <a class="anchor" id="af5a59b4d115f050435dcb2d97e8db95b"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool is_complex </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>References <a class="el" href="volk_8tmpl_8h.html#a8dc2b7da310a28e667530ba0e8ca4cc4">void()</a>.</p> </div> </div> <a class="anchor" id="a8f5e2b3d08dfce6286d5c66ead123da7"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool is_complex </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>References <a class="el" href="volk_8tmpl_8h.html#a8dc2b7da310a28e667530ba0e8ca4cc4">void()</a>.</p> </div> </div> <a class="anchor" id="a9cdc83b8f04b5f6304de206d2c1f85b7"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool is_complex </td> <td>(</td> <td class="paramtype">int </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>References <a class="el" href="volk_8tmpl_8h.html#a8dc2b7da310a28e667530ba0e8ca4cc4">void()</a>.</p> </div> </div> <a class="anchor" id="af233866c21d163bcb7e05df1748a72ec"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool is_complex </td> <td>(</td> <td class="paramtype">char </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>References <a class="el" href="volk_8tmpl_8h.html#a8dc2b7da310a28e667530ba0e8ca4cc4">void()</a>.</p> </div> </div> <a class="anchor" id="a0671a1ba433776b13c8be3a0f2ac6de7"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool is_complex </td> <td>(</td> <td class="paramtype">short </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>References <a class="el" href="volk_8tmpl_8h.html#a8dc2b7da310a28e667530ba0e8ca4cc4">void()</a>.</p> </div> </div> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="dir_284717b6cb06147531c058220802c6d1.html">gnuradio-core</a></li><li class="navelem"><a class="el" href="dir_7c24473031c549da670035bb20d1e97e.html">src</a></li><li class="navelem"><a class="el" href="dir_84906bae47c76101f1fa015cf813f8a2.html">lib</a></li><li class="navelem"><a class="el" href="dir_9fb53df2329c53c13edd0243de4d83d5.html">runtime</a></li><li class="navelem"><a class="el" href="gr__complex_8h.html">gr_complex.h</a></li> <li class="footer">Generated on Fri Apr 19 2013 16:20:34 for GNU Radio 3.6.4.1 C++ API by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.3 </li> </ul> </div> </body> </html>