classfv_1_1Mean.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  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.13"/>
  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.13 -->
  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="#pub-static-methods">Static Public Member Functions</a> &#124;
  67. <a href="classfv_1_1Mean-members.html">List of all members</a> </div>
  68. <div class="headertitle">
  69. <div class="title">fv::Mean&lt; T &gt; Class Template Reference</div> </div>
  70. </div><!--header-->
  71. <div class="contents">
  72. <p>Calculate the mean value of a vector.
  73. <a href="classfv_1_1Mean.html#details">More...</a></p>
  74. <p><code>#include &lt;<a class="el" href="value_8hpp_source.html">value.hpp</a>&gt;</code></p>
  75. <div class="dynheader">
  76. Inheritance diagram for fv::Mean&lt; T &gt;:</div>
  77. <div class="dyncontent">
  78. <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>
  79. <map name="fv_1_1Mean_3_01T_01_4_inherit__map" id="fv_1_1Mean_3_01T_01_4_inherit__map">
  80. <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,155,152,181"/>
  81. <area shape="rect" id="node3" href="classfv_1_1DerivedValue.html" title="A Value derived from some other Values, not directly from the dataset. " alt="" coords="5,80,172,107"/>
  82. <area shape="rect" id="node4" href="classfv_1_1Value.html" title="A templated value. " alt="" coords="31,5,147,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="120,185,247,212"/>
  91. <area shape="rect" id="node3" href="classfv_1_1DerivedValue.html" title="A Value derived from some other Values, not directly from the dataset. " alt="" coords="5,89,172,115"/>
  92. <area shape="rect" id="node4" href="classfv_1_1Value.html" title="A templated value. " alt="" coords="31,5,147,32"/>
  93. <area shape="rect" id="node5" href="classfv_1_1Value.html" title="fv::Value\&lt; std::vector\l\&lt; T \&gt; \&gt;" alt="" coords="197,81,359,123"/>
  94. </map>
  95. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  96. <table class="memberdecls">
  97. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  98. Public Member Functions</h2></td></tr>
  99. <tr class="memitem:a9fc3566a4966c004ae6fd47cdd8c2e55"><td class="memItemLeft" align="right" valign="top"><a id="a9fc3566a4966c004ae6fd47cdd8c2e55"></a>
  100. &#160;</td><td class="memItemRight" valign="bottom"><b>Mean</b> (<a class="el" href="classfv_1_1Value.html">Value</a>&lt; std::vector&lt; T &gt;&gt; *v, const std::string alias)</td></tr>
  101. <tr class="separator:a9fc3566a4966c004ae6fd47cdd8c2e55"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. <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>
  103. <tr class="memitem:aea2d9968c2b4fca09bbd761f39b3340d inherit pub_methods_classfv_1_1Reduce"><td class="memItemLeft" align="right" valign="top"><a id="aea2d9968c2b4fca09bbd761f39b3340d"></a>
  104. &#160;</td><td class="memItemRight" valign="bottom"><b>Reduce</b> (Function&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)</td></tr>
  105. <tr class="separator:aea2d9968c2b4fca09bbd761f39b3340d inherit pub_methods_classfv_1_1Reduce"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <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>
  107. <tr class="memitem:a00219a17112600afdc060d67d6f95b21 inherit pub_methods_classfv_1_1DerivedValue"><td class="memItemLeft" align="right" valign="top"><a id="a00219a17112600afdc060d67d6f95b21"></a>
  108. &#160;</td><td class="memItemRight" valign="bottom"><b>DerivedValue</b> (const std::string &amp;name, const std::string &amp;alias=&quot;&quot;)</td></tr>
  109. <tr class="separator:a00219a17112600afdc060d67d6f95b21 inherit pub_methods_classfv_1_1DerivedValue"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. <tr class="memitem:a7ac6d7f0a92fb9753f7c0bfcf26b6b0d inherit pub_methods_classfv_1_1DerivedValue"><td class="memItemLeft" align="right" valign="top"><a id="a7ac6d7f0a92fb9753f7c0bfcf26b6b0d"></a>
  111. void&#160;</td><td class="memItemRight" valign="bottom"><b>log</b> ()</td></tr>
  112. <tr class="separator:a7ac6d7f0a92fb9753f7c0bfcf26b6b0d inherit pub_methods_classfv_1_1DerivedValue"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:a39970158aa8f6eb062a28037df6e2128 inherit pub_methods_classfv_1_1DerivedValue"><td class="memItemLeft" align="right" valign="top"><a id="a39970158aa8f6eb062a28037df6e2128"></a>
  114. T &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1DerivedValue.html#a39970158aa8f6eb062a28037df6e2128">get_value</a> ()</td></tr>
  115. <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>
  116. <tr class="separator:a39970158aa8f6eb062a28037df6e2128 inherit pub_methods_classfv_1_1DerivedValue"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <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>
  118. <tr class="memitem:afded92c24f946c1551c1f1b005f31091 inherit pub_methods_classfv_1_1Value"><td class="memItemLeft" align="right" valign="top"><a id="afded92c24f946c1551c1f1b005f31091"></a>
  119. &#160;</td><td class="memItemRight" valign="bottom"><b>Value</b> (const std::string &amp;name, const std::string &amp;alias=&quot;&quot;)</td></tr>
  120. <tr class="separator:afded92c24f946c1551c1f1b005f31091 inherit pub_methods_classfv_1_1Value"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:a477ab6275568b0c5afbcf92901cc3a6e inherit pub_methods_classfv_1_1Value"><td class="memItemLeft" align="right" valign="top"><a id="a477ab6275568b0c5afbcf92901cc3a6e"></a>
  122. void&#160;</td><td class="memItemRight" valign="bottom"><b>enable_logging</b> (const std::function&lt; std::string(T)&gt; &amp;value_to_string=[](T){return &quot;&quot;;})</td></tr>
  123. <tr class="separator:a477ab6275568b0c5afbcf92901cc3a6e inherit pub_methods_classfv_1_1Value"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <tr class="memitem:a8a3517fdba15dcb2c141dbd58fc232b1 inherit pub_methods_classfv_1_1Value"><td class="memItemLeft" align="right" valign="top"><a id="a8a3517fdba15dcb2c141dbd58fc232b1"></a>
  125. void&#160;</td><td class="memItemRight" valign="bottom"><b>disable_logging</b> ()</td></tr>
  126. <tr class="separator:a8a3517fdba15dcb2c141dbd58fc232b1 inherit pub_methods_classfv_1_1Value"><td class="memSeparator" colspan="2">&#160;</td></tr>
  127. </table><table class="memberdecls">
  128. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
  129. Static Public Member Functions</h2></td></tr>
  130. <tr class="memitem:aef6ef4e8542dda8eca0a81f0d60acc4c"><td class="memItemLeft" align="right" valign="top"><a id="aef6ef4e8542dda8eca0a81f0d60acc4c"></a>
  131. static std::string&#160;</td><td class="memItemRight" valign="bottom"><b>fmt_name</b> (<a class="el" href="classfv_1_1Value.html">Value</a>&lt; std::vector&lt; T &gt;&gt; *v)</td></tr>
  132. <tr class="separator:aef6ef4e8542dda8eca0a81f0d60acc4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  133. </table><table class="memberdecls">
  134. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
  135. Additional Inherited Members</h2></td></tr>
  136. <tr class="inherit_header pro_attribs_classfv_1_1Reduce"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classfv_1_1Reduce')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classfv_1_1Reduce.html">fv::Reduce&lt; T &gt;</a></td></tr>
  137. <tr class="memitem:a959548248472f15abf46a50c778892ce inherit pro_attribs_classfv_1_1Reduce"><td class="memItemLeft" align="right" valign="top"><a id="a959548248472f15abf46a50c778892ce"></a>
  138. <a class="el" href="classfv_1_1Value.html">Value</a>&lt; std::vector&lt; T &gt; &gt; *&#160;</td><td class="memItemRight" valign="bottom"><b>v</b></td></tr>
  139. <tr class="separator:a959548248472f15abf46a50c778892ce inherit pro_attribs_classfv_1_1Reduce"><td class="memSeparator" colspan="2">&#160;</td></tr>
  140. <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>
  141. <tr class="memitem:aeb7ff5d17ad44b2040fc9930bbcc2c7a inherit pro_attribs_classfv_1_1DerivedValue"><td class="memItemLeft" align="right" valign="top"><a id="aeb7ff5d17ad44b2040fc9930bbcc2c7a"></a>
  142. T&#160;</td><td class="memItemRight" valign="bottom"><b>value</b></td></tr>
  143. <tr class="separator:aeb7ff5d17ad44b2040fc9930bbcc2c7a inherit pro_attribs_classfv_1_1DerivedValue"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. <tr class="inherit_header pro_attribs_classfv_1_1Value"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classfv_1_1Value')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classfv_1_1Value.html">fv::Value&lt; T &gt;</a></td></tr>
  145. <tr class="memitem:aa0269699348665b8e978c1e848e74abe inherit pro_attribs_classfv_1_1Value"><td class="memItemLeft" align="right" valign="top"><a id="aa0269699348665b8e978c1e848e74abe"></a>
  146. std::function&lt; std::string(T)&gt;&#160;</td><td class="memItemRight" valign="bottom"><b>value_to_string</b></td></tr>
  147. <tr class="separator:aa0269699348665b8e978c1e848e74abe inherit pro_attribs_classfv_1_1Value"><td class="memSeparator" colspan="2">&#160;</td></tr>
  148. </table>
  149. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  150. <div class="textblock"><h3>template&lt;typename T&gt;<br />
  151. class fv::Mean&lt; T &gt;</h3>
  152. <p>Calculate the mean value of a vector. </p>
  153. <p class="definition">Definition at line <a class="el" href="value_8hpp_source.html#l01006">1006</a> of file <a class="el" href="value_8hpp_source.html">value.hpp</a>.</p>
  154. </div><hr/>The documentation for this class was generated from the following file:<ul>
  155. <li>/home/caleb/Sources/TTTT/filval/<a class="el" href="value_8hpp_source.html">value.hpp</a></li>
  156. </ul>
  157. </div><!-- contents -->
  158. <!-- start footer part -->
  159. <hr class="footer"/><address class="footer"><small>
  160. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  161. <img class="footer" src="doxygen.png" alt="doxygen"/>
  162. </a> 1.8.13
  163. </small></address>
  164. </body>
  165. </html>