<!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_complex.h File 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('gr__complex_8h.html',''); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#define-members">Defines</a> | <a href="#typedef-members">Typedefs</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <h1>gr_complex.h File Reference</h1> </div> </div> <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__types_8h.html" title="gr_types.h" alt="" coords="273,83,356,112"/><area shape="rect" id="node5" href="gr__message_8h.html" title="gr_message.h" alt="" coords="67,160,171,189"/><area shape="rect" id="node11" href="gr__runtime__types_8h.html" title="gr_runtime_types.h" alt="" coords="248,160,381,189"/><area shape="rect" id="node58" href="gr__timer_8h.html" title="gr_timer.h" alt="" coords="405,160,485,189"/><area shape="rect" id="node7" href="gr__msg__handler_8h.html" title="gr_msg_handler.h" alt="" coords="12,237,137,267"/><area shape="rect" id="node9" href="gr__msg__queue_8h.html" title="gr_msg_queue.h" alt="" coords="5,315,123,344"/><area shape="rect" id="node13" href="gr__basic__block_8h.html" title="gr_basic_block.h" alt="" coords="753,237,873,267"/><area shape="rect" id="node46" href="gr__block__detail_8h.html" title="gr_block_detail.h" alt="" coords="147,315,267,344"/><area shape="rect" id="node49" href="gr__block__executor_8h.html" title="gr_block_executor.h" alt="" coords="291,315,429,344"/><area shape="rect" id="node52" href="gr__buffer_8h.html" title="gr_buffer.h" alt="" coords="273,237,356,267"/><area shape="rect" id="node54" href="gr__io__signature_8h.html" title="gr_io_signature.h" alt="" coords="380,237,500,267"/><area shape="rect" id="node56" href="gr__single__threaded__scheduler_8h.html" title="gr_single_threaded_scheduler.h" alt="" coords="524,237,729,267"/><area shape="rect" id="node15" href="gr__block_8h.html" title="gr_block.h" alt="" coords="605,315,688,344"/><area shape="rect" id="node38" href="gr__flowgraph_8h.html" title="gr_flowgraph.h" alt="" coords="712,315,819,344"/><area shape="rect" id="node41" href="gr__hier__block2_8h.html" title="gr_hier_block2.h" alt="" coords="843,315,960,344"/><area shape="rect" id="node17" href="gr__flat__flowgraph_8h.html" title="gr_flat_flowgraph.h" alt="" coords="692,392,823,421"/><area shape="rect" id="node21" href="gr__scheduler_8h.html" title="gr_scheduler.h" alt="" coords="655,469,761,499"/><area shape="rect" id="node30" href="gr__sync__block_8h.html" title="gr_sync_block.h" alt="" coords="497,392,615,421"/><area shape="rect" id="node36" href="gr__tpb__thread__body_8h.html" title="gr_tpb_thread_body.h" alt="" coords="287,392,433,421"/><area shape="rect" id="node19" href="gr__hier__block2__detail_8h.html" title="gr_hier_block2_detail.h" alt="" coords="785,469,940,499"/><area shape="rect" id="node23" href="gr__scheduler__sts_8h.html" title="gr_scheduler_sts.h" alt="" coords="488,547,619,576"/><area shape="rect" id="node25" href="gr__scheduler__tpb_8h.html" title="gr_scheduler_tpb.h" alt="" coords="643,547,773,576"/><area shape="rect" id="node27" href="gr__top__block__impl_8h.html" title="gr_top_block_impl.h" alt="" coords="797,547,936,576"/><area shape="rect" id="node32" href="gr__sync__decimator_8h.html" title="gr_sync_decimator.h" alt="" coords="316,469,457,499"/><area shape="rect" id="node34" href="gr__sync__interpolator_8h.html" title="gr_sync_interpolator.h" alt="" coords="481,469,631,499"/><area shape="rect" id="node44" href="gr__top__block_8h.html" title="gr_top_block.h" alt="" coords="900,392,1007,421"/></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><td colspan="2"><h2><a name="define-members"></a> Defines</h2></td></tr> <tr><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><td colspan="2"><h2><a name="typedef-members"></a> Typedefs</h2></td></tr> <tr><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><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><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> </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><td class="memItemLeft" align="right" valign="top"><a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="gr__complex_8h.html#af5a59b4d115f050435dcb2d97e8db95b">is_complex</a> (float x)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="gr__complex_8h.html#a8f5e2b3d08dfce6286d5c66ead123da7">is_complex</a> (double x)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="gr__complex_8h.html#a9cdc83b8f04b5f6304de206d2c1f85b7">is_complex</a> (int x)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="gr__complex_8h.html#af233866c21d163bcb7e05df1748a72ec">is_complex</a> (char x)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="gr__complex_8h.html#a0671a1ba433776b13c8be3a0f2ac6de7">is_complex</a> (short x)</td></tr> </table> <hr/><h2>Define Documentation</h2> <a class="anchor" id="a9f336c1fef8b20bb247d00d65978e722"></a><!-- doxytag: member="gr_complex.h::CPPUNIT_ASSERT_COMPLEXES_EQUAL" ref="a9f336c1fef8b20bb247d00d65978e722" args="(expected, actual, delta)" --> <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"><pre class="fragment">CPPUNIT_ASSERT_DOUBLES_EQUAL (expected.real(), actual.real(), delta); \ CPPUNIT_ASSERT_DOUBLES_EQUAL (expected.imag(), actual.imag(), delta); </pre></div> </div> </div> <hr/><h2>Typedef Documentation</h2> <a class="anchor" id="aec4bfe41433369afae9327f1b0bc9109"></a><!-- doxytag: member="gr_complex.h::gr_complex" ref="aec4bfe41433369afae9327f1b0bc9109" args="" --> <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><!-- doxytag: member="gr_complex.h::gr_complexd" ref="a90c065671dd1c4b7aed7e08b265e23f7" args="" --> <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> <hr/><h2>Function Documentation</h2> <a class="anchor" id="a2ea72f70accbd7fefca28b2690eda735"></a><!-- doxytag: member="gr_complex.h::is_complex" ref="a2ea72f70accbd7fefca28b2690eda735" args="(gr_complex x)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> 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><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a0671a1ba433776b13c8be3a0f2ac6de7"></a><!-- doxytag: member="gr_complex.h::is_complex" ref="a0671a1ba433776b13c8be3a0f2ac6de7" args="(short x)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> is_complex </td> <td>(</td> <td class="paramtype">short </td> <td class="paramname"><em>x</em></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="af233866c21d163bcb7e05df1748a72ec"></a><!-- doxytag: member="gr_complex.h::is_complex" ref="af233866c21d163bcb7e05df1748a72ec" args="(char x)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> is_complex </td> <td>(</td> <td class="paramtype">char </td> <td class="paramname"><em>x</em></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a9cdc83b8f04b5f6304de206d2c1f85b7"></a><!-- doxytag: member="gr_complex.h::is_complex" ref="a9cdc83b8f04b5f6304de206d2c1f85b7" args="(int x)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> is_complex </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>x</em></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a8f5e2b3d08dfce6286d5c66ead123da7"></a><!-- doxytag: member="gr_complex.h::is_complex" ref="a8f5e2b3d08dfce6286d5c66ead123da7" args="(double x)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> is_complex </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>x</em></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="af5a59b4d115f050435dcb2d97e8db95b"></a><!-- doxytag: member="gr_complex.h::is_complex" ref="af5a59b4d115f050435dcb2d97e8db95b" args="(float x)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> is_complex </td> <td>(</td> <td class="paramtype">float </td> <td class="paramname"><em>x</em></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> </div> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="gr__complex_8h.html">gr_complex.h</a> </li> <li class="footer">Generated on Thu Feb 17 2011 for GNU Radio 3.2.2 C++ API by  <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>