classfv_1_1Mean.html 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.12"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>TTTT Analysis: fv::Mean&lt; T &gt; Class Template Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectalign" style="padding-left: 0.5em;">
  24. <div id="projectname">TTTT Analysis
  25. &#160;<span id="projectnumber">0.1</span>
  26. </div>
  27. </td>
  28. </tr>
  29. </tbody>
  30. </table>
  31. </div>
  32. <!-- end header part -->
  33. <!-- Generated by Doxygen 1.8.12 -->
  34. <script type="text/javascript">
  35. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  36. </script>
  37. <script type="text/javascript" src="menudata.js"></script>
  38. <script type="text/javascript" src="menu.js"></script>
  39. <script type="text/javascript">
  40. $(function() {
  41. initMenu('',true,false,'search.php','Search');
  42. $(document).ready(function() { init_search(); });
  43. });
  44. </script>
  45. <div id="main-nav"></div>
  46. <!-- window showing the filter options -->
  47. <div id="MSearchSelectWindow"
  48. onmouseover="return searchBox.OnSearchSelectShow()"
  49. onmouseout="return searchBox.OnSearchSelectHide()"
  50. onkeydown="return searchBox.OnSearchSelectKey(event)">
  51. </div>
  52. <!-- iframe showing the search results (closed by default) -->
  53. <div id="MSearchResultsWindow">
  54. <iframe src="javascript:void(0)" frameborder="0"
  55. name="MSearchResults" id="MSearchResults">
  56. </iframe>
  57. </div>
  58. <div id="nav-path" class="navpath">
  59. <ul>
  60. <li class="navelem"><a class="el" href="namespacefv.html">fv</a></li><li class="navelem"><a class="el" href="classfv_1_1Mean.html">Mean</a></li> </ul>
  61. </div>
  62. </div><!-- top -->
  63. <div class="header">
  64. <div class="summary">
  65. <a href="#pub-methods">Public Member Functions</a> &#124;
  66. <a href="classfv_1_1Mean-members.html">List of all members</a> </div>
  67. <div class="headertitle">
  68. <div class="title">fv::Mean&lt; T &gt; Class Template Reference</div> </div>
  69. </div><!--header-->
  70. <div class="contents">
  71. <p>Calculate the mean value of a vector.
  72. <a href="classfv_1_1Mean.html#details">More...</a></p>
  73. <p><code>#include &lt;<a class="el" href="value_8hpp_source.html">value.hpp</a>&gt;</code></p>
  74. <div class="dynheader">
  75. Inheritance diagram for fv::Mean&lt; T &gt;:</div>
  76. <div class="dyncontent">
  77. <div class="center"><img src="classfv_1_1Mean__inherit__graph.png" border="0" usemap="#fv_1_1Mean_3_01T_01_4_inherit__map" alt="Inheritance graph"/></div>
  78. <map name="fv_1_1Mean_3_01T_01_4_inherit__map" id="fv_1_1Mean_3_01T_01_4_inherit__map">
  79. <area shape="rect" id="node2" href="classfv_1_1Reduce.html" title="Reduce a Value of type vector&lt;T&gt; to just a T. " alt="" coords="25,229,152,256"/>
  80. <area shape="rect" id="node3" href="classfv_1_1DerivedValue.html" title="A generic, derived, value. " alt="" coords="5,155,172,181"/>
  81. <area shape="rect" id="node4" href="classfv_1_1Value.html" title="A generic value. " alt="" coords="31,80,147,107"/>
  82. <area shape="rect" id="node5" href="classfv_1_1GenValue.html" title="fv::GenValue" alt="" coords="37,5,141,32"/>
  83. </map>
  84. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  85. <div class="dynheader">
  86. Collaboration diagram for fv::Mean&lt; T &gt;:</div>
  87. <div class="dyncontent">
  88. <div class="center"><img src="classfv_1_1Mean__coll__graph.png" border="0" usemap="#fv_1_1Mean_3_01T_01_4_coll__map" alt="Collaboration graph"/></div>
  89. <map name="fv_1_1Mean_3_01T_01_4_coll__map" id="fv_1_1Mean_3_01T_01_4_coll__map">
  90. <area shape="rect" id="node2" href="classfv_1_1Reduce.html" title="Reduce a Value of type vector&lt;T&gt; to just a T. " alt="" coords="749,74,876,101"/>
  91. <area shape="rect" id="node3" href="classfv_1_1DerivedValue.html" title="A generic, derived, value. " alt="" coords="485,74,652,101"/>
  92. <area shape="rect" id="node4" href="classfv_1_1Value.html" title="A generic value. " alt="" coords="159,63,275,90"/>
  93. <area shape="rect" id="node5" href="classfv_1_1GenValue.html" title="fv::GenValue" alt="" coords="5,38,109,65"/>
  94. <area shape="rect" id="node8" href="classfv_1_1Value.html" title="fv::Value\&lt; std::vector\l\&lt; T \&gt; \&gt;" alt="" coords="299,5,461,47"/>
  95. <area shape="rect" id="node7" href="classfv_1_1Function.html" title="fv::Function\&lt; T(std\l::vector\&lt; T \&gt;)\&gt;" alt="" coords="497,125,641,167"/>
  96. </map>
  97. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  98. <table class="memberdecls">
  99. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  100. Public Member Functions</h2></td></tr>
  101. <tr class="memitem:ad6c9af2854e3fd494d3fbac1eb742ff7"><td class="memItemLeft" align="right" valign="top"><a id="ad6c9af2854e3fd494d3fbac1eb742ff7"></a>
  102. &#160;</td><td class="memItemRight" valign="bottom"><b>Mean</b> (const std::string &amp;v_name, const std::string alias=&quot;&quot;)</td></tr>
  103. <tr class="separator:ad6c9af2854e3fd494d3fbac1eb742ff7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  104. <tr class="inherit_header pub_methods_classfv_1_1Reduce"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classfv_1_1Reduce')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classfv_1_1Reduce.html">fv::Reduce&lt; T &gt;</a></td></tr>
  105. <tr class="memitem:a0af8d497d4b974fa5aea0151a2227462 inherit pub_methods_classfv_1_1Reduce"><td class="memItemLeft" align="right" valign="top"><a id="a0af8d497d4b974fa5aea0151a2227462"></a>
  106. &#160;</td><td class="memItemRight" valign="bottom"><b>Reduce</b> (<a class="el" href="classfv_1_1Function.html">Function</a>&lt; T(std::vector&lt; T &gt;)&gt; &amp;reduce, <a class="el" href="classfv_1_1Value.html">Value</a>&lt; std::vector&lt; T &gt; &gt; *v, const std::string alias=&quot;&quot;)</td></tr>
  107. <tr class="separator:a0af8d497d4b974fa5aea0151a2227462 inherit pub_methods_classfv_1_1Reduce"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <tr class="memitem:a764993d6c26067687a3d706dabc9404e inherit pub_methods_classfv_1_1Reduce"><td class="memItemLeft" align="right" valign="top"><a id="a764993d6c26067687a3d706dabc9404e"></a>
  109. &#160;</td><td class="memItemRight" valign="bottom"><b>Reduce</b> (<a class="el" href="classfv_1_1Function.html">Function</a>&lt; T(std::vector&lt; T &gt;)&gt; &amp;reduce, const std::string &amp;v_name, const std::string alias=&quot;&quot;)</td></tr>
  110. <tr class="separator:a764993d6c26067687a3d706dabc9404e inherit pub_methods_classfv_1_1Reduce"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="inherit_header pub_methods_classfv_1_1DerivedValue"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classfv_1_1DerivedValue')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classfv_1_1DerivedValue.html">fv::DerivedValue&lt; T &gt;</a></td></tr>
  112. <tr class="memitem:a00219a17112600afdc060d67d6f95b21 inherit pub_methods_classfv_1_1DerivedValue"><td class="memItemLeft" align="right" valign="top"><a id="a00219a17112600afdc060d67d6f95b21"></a>
  113. &#160;</td><td class="memItemRight" valign="bottom"><b>DerivedValue</b> (const std::string &amp;<a class="el" href="classfv_1_1GenValue.html#a610f89ee441eaad4c9e78f74d6bde93b">name</a>, const std::string &amp;alias=&quot;&quot;)</td></tr>
  114. <tr class="separator:a00219a17112600afdc060d67d6f95b21 inherit pub_methods_classfv_1_1DerivedValue"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="memitem:a39970158aa8f6eb062a28037df6e2128 inherit pub_methods_classfv_1_1DerivedValue"><td class="memItemLeft" align="right" valign="top"><a id="a39970158aa8f6eb062a28037df6e2128"></a>
  116. T &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1DerivedValue.html#a39970158aa8f6eb062a28037df6e2128">get_value</a> ()</td></tr>
  117. <tr class="memdesc:a39970158aa8f6eb062a28037df6e2128 inherit pub_methods_classfv_1_1DerivedValue"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate, if necessary, and return the value held by this object. <br /></td></tr>
  118. <tr class="separator:a39970158aa8f6eb062a28037df6e2128 inherit pub_methods_classfv_1_1DerivedValue"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="inherit_header pub_methods_classfv_1_1Value"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classfv_1_1Value')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classfv_1_1Value.html">fv::Value&lt; T &gt;</a></td></tr>
  120. <tr class="memitem:afded92c24f946c1551c1f1b005f31091 inherit pub_methods_classfv_1_1Value"><td class="memItemLeft" align="right" valign="top"><a id="afded92c24f946c1551c1f1b005f31091"></a>
  121. &#160;</td><td class="memItemRight" valign="bottom"><b>Value</b> (const std::string &amp;<a class="el" href="classfv_1_1GenValue.html#a610f89ee441eaad4c9e78f74d6bde93b">name</a>, const std::string &amp;alias=&quot;&quot;)</td></tr>
  122. <tr class="separator:afded92c24f946c1551c1f1b005f31091 inherit pub_methods_classfv_1_1Value"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="inherit_header pub_methods_classfv_1_1GenValue"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classfv_1_1GenValue')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classfv_1_1GenValue.html">fv::GenValue</a></td></tr>
  124. <tr class="memitem:a6a85db33e2414e7e77735a4706760300 inherit pub_methods_classfv_1_1GenValue"><td class="memItemLeft" align="right" valign="top"><a id="a6a85db33e2414e7e77735a4706760300"></a>
  125. &#160;</td><td class="memItemRight" valign="bottom"><b>GenValue</b> (const std::string &amp;<a class="el" href="classfv_1_1GenValue.html#a610f89ee441eaad4c9e78f74d6bde93b">name</a>, const std::string &amp;alias)</td></tr>
  126. <tr class="separator:a6a85db33e2414e7e77735a4706760300 inherit pub_methods_classfv_1_1GenValue"><td class="memSeparator" colspan="2">&#160;</td></tr>
  127. <tr class="memitem:a56f7eab1a0043ea73ecf01ec11dafa5c inherit pub_methods_classfv_1_1GenValue"><td class="memItemLeft" align="right" valign="top"><a id="a56f7eab1a0043ea73ecf01ec11dafa5c"></a>
  128. const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>get_name</b> ()</td></tr>
  129. <tr class="separator:a56f7eab1a0043ea73ecf01ec11dafa5c inherit pub_methods_classfv_1_1GenValue"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. </table><table class="memberdecls">
  131. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
  132. Additional Inherited Members</h2></td></tr>
  133. <tr class="inherit_header pub_static_methods_classfv_1_1GenValue"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classfv_1_1GenValue')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classfv_1_1GenValue.html">fv::GenValue</a></td></tr>
  134. <tr class="memitem:a804fa6719404472466896cc191a8123c inherit pub_static_methods_classfv_1_1GenValue"><td class="memItemLeft" align="right" valign="top"><a id="a804fa6719404472466896cc191a8123c"></a>
  135. static void&#160;</td><td class="memItemRight" valign="bottom"><b>reset</b> ()</td></tr>
  136. <tr class="separator:a804fa6719404472466896cc191a8123c inherit pub_static_methods_classfv_1_1GenValue"><td class="memSeparator" colspan="2">&#160;</td></tr>
  137. <tr class="memitem:a26e4aaa4c26437925dbe895fbb558bc5 inherit pub_static_methods_classfv_1_1GenValue"><td class="memItemLeft" align="right" valign="top"><a id="a26e4aaa4c26437925dbe895fbb558bc5"></a>
  138. static <a class="el" href="classfv_1_1GenValue.html">GenValue</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>get_value</b> (const std::string &amp;<a class="el" href="classfv_1_1GenValue.html#a610f89ee441eaad4c9e78f74d6bde93b">name</a>)</td></tr>
  139. <tr class="separator:a26e4aaa4c26437925dbe895fbb558bc5 inherit pub_static_methods_classfv_1_1GenValue"><td class="memSeparator" colspan="2">&#160;</td></tr>
  140. <tr class="memitem:a2d4be21b68793e1f02411fe1143396cf inherit pub_static_methods_classfv_1_1GenValue"><td class="memItemLeft" align="right" valign="top"><a id="a2d4be21b68793e1f02411fe1143396cf"></a>
  141. static void&#160;</td><td class="memItemRight" valign="bottom"><b>alias</b> (const std::string &amp;<a class="el" href="classfv_1_1GenValue.html#a610f89ee441eaad4c9e78f74d6bde93b">name</a>, <a class="el" href="classfv_1_1GenValue.html">GenValue</a> *value)</td></tr>
  142. <tr class="separator:a2d4be21b68793e1f02411fe1143396cf inherit pub_static_methods_classfv_1_1GenValue"><td class="memSeparator" colspan="2">&#160;</td></tr>
  143. <tr class="memitem:a71d887498102aca1c896e956c50bc0fe inherit pub_static_methods_classfv_1_1GenValue"><td class="memItemLeft" align="right" valign="top"><a id="a71d887498102aca1c896e956c50bc0fe"></a>
  144. static <a class="el" href="classfv_1_1GenValue.html">GenValue</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>alias</b> (const std::string &amp;<a class="el" href="classfv_1_1GenValue.html#a610f89ee441eaad4c9e78f74d6bde93b">name</a>)</td></tr>
  145. <tr class="separator:a71d887498102aca1c896e956c50bc0fe inherit pub_static_methods_classfv_1_1GenValue"><td class="memSeparator" colspan="2">&#160;</td></tr>
  146. <tr class="memitem:a66807a611d5f3e693f538e8430ae9585 inherit pub_static_methods_classfv_1_1GenValue"><td class="memItemLeft" align="right" valign="top"><a id="a66807a611d5f3e693f538e8430ae9585"></a>
  147. static std::string&#160;</td><td class="memItemRight" valign="bottom"><b>summary</b> ()</td></tr>
  148. <tr class="separator:a66807a611d5f3e693f538e8430ae9585 inherit pub_static_methods_classfv_1_1GenValue"><td class="memSeparator" colspan="2">&#160;</td></tr>
  149. <tr class="inherit_header pro_attribs_classfv_1_1DerivedValue"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classfv_1_1DerivedValue')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classfv_1_1DerivedValue.html">fv::DerivedValue&lt; T &gt;</a></td></tr>
  150. <tr class="memitem:aeb7ff5d17ad44b2040fc9930bbcc2c7a inherit pro_attribs_classfv_1_1DerivedValue"><td class="memItemLeft" align="right" valign="top"><a id="aeb7ff5d17ad44b2040fc9930bbcc2c7a"></a>
  151. T&#160;</td><td class="memItemRight" valign="bottom"><b>value</b></td></tr>
  152. <tr class="separator:aeb7ff5d17ad44b2040fc9930bbcc2c7a inherit pro_attribs_classfv_1_1DerivedValue"><td class="memSeparator" colspan="2">&#160;</td></tr>
  153. <tr class="memitem:aafa55adbb38dc7fe210ea15e920515dc inherit pro_attribs_classfv_1_1DerivedValue"><td class="memItemLeft" align="right" valign="top"><a id="aafa55adbb38dc7fe210ea15e920515dc"></a>
  154. bool&#160;</td><td class="memItemRight" valign="bottom"><b>value_valid</b></td></tr>
  155. <tr class="separator:aafa55adbb38dc7fe210ea15e920515dc inherit pro_attribs_classfv_1_1DerivedValue"><td class="memSeparator" colspan="2">&#160;</td></tr>
  156. <tr class="inherit_header pro_static_attribs_classfv_1_1GenValue"><td colspan="2" onclick="javascript:toggleInherit('pro_static_attribs_classfv_1_1GenValue')"><img src="closed.png" alt="-"/>&#160;Static Protected Attributes inherited from <a class="el" href="classfv_1_1GenValue.html">fv::GenValue</a></td></tr>
  157. <tr class="memitem:abbb57abc392c44d1f7ad5e7e74a75297 inherit pro_static_attribs_classfv_1_1GenValue"><td class="memItemLeft" align="right" valign="top">static std::map&lt; const std::string, <a class="el" href="classfv_1_1GenValue.html">GenValue</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1GenValue.html#abbb57abc392c44d1f7ad5e7e74a75297">values</a></td></tr>
  158. <tr class="memdesc:abbb57abc392c44d1f7ad5e7e74a75297 inherit pro_static_attribs_classfv_1_1GenValue"><td class="mdescLeft">&#160;</td><td class="mdescRight">A static mapping containing all created <a class="el" href="classfv_1_1Value.html" title="A generic value. ">Value</a> objects. <a href="classfv_1_1GenValue.html#abbb57abc392c44d1f7ad5e7e74a75297">More...</a><br /></td></tr>
  159. <tr class="separator:abbb57abc392c44d1f7ad5e7e74a75297 inherit pro_static_attribs_classfv_1_1GenValue"><td class="memSeparator" colspan="2">&#160;</td></tr>
  160. <tr class="memitem:ab58b81925a05884bbebca0d870da80d0 inherit pro_static_attribs_classfv_1_1GenValue"><td class="memItemLeft" align="right" valign="top">static std::map&lt; const std::string, <a class="el" href="classfv_1_1GenValue.html">GenValue</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1GenValue.html#ab58b81925a05884bbebca0d870da80d0">aliases</a></td></tr>
  161. <tr class="memdesc:ab58b81925a05884bbebca0d870da80d0 inherit pro_static_attribs_classfv_1_1GenValue"><td class="mdescLeft">&#160;</td><td class="mdescRight">Composite value names are typically nested. <a href="classfv_1_1GenValue.html#ab58b81925a05884bbebca0d870da80d0">More...</a><br /></td></tr>
  162. <tr class="separator:ab58b81925a05884bbebca0d870da80d0 inherit pro_static_attribs_classfv_1_1GenValue"><td class="memSeparator" colspan="2">&#160;</td></tr>
  163. </table>
  164. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  165. <div class="textblock"><h3>template&lt;typename T&gt;<br />
  166. class fv::Mean&lt; T &gt;</h3>
  167. <p>Calculate the mean value of a vector. </p>
  168. </div><hr/>The documentation for this class was generated from the following file:<ul>
  169. <li>/home/caleb/Sources/TTTT/filval/<a class="el" href="value_8hpp_source.html">value.hpp</a></li>
  170. </ul>
  171. </div><!-- contents -->
  172. <!-- start footer part -->
  173. <hr class="footer"/><address class="footer"><small>
  174. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  175. <img class="footer" src="doxygen.png" alt="doxygen"/>
  176. </a> 1.8.12
  177. </small></address>
  178. </body>
  179. </html>