Documentation for 050c99eb0a
@@ -158,6 +158,34 @@ Functions</h2></td></tr>
|
||||
<tr class="separator:a89ab7d6c3e3ee72a8cbaa85127986185"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae1ca505751f5a6d3977b86372cfe75ea"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d47/namespacemath.html#ae1ca505751f5a6d3977b86372cfe75ea">binomialCoeffSum</a> (uint64_t n)</td></tr>
|
||||
<tr class="separator:ae1ca505751f5a6d3977b86372cfe75ea"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae413098478fa38acaac887b7654f0725"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ae413098478fa38acaac887b7654f0725"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../dd/d47/namespacemath.html#ae413098478fa38acaac887b7654f0725">cube_volume</a> (T length)</td></tr>
|
||||
<tr class="memdesc:ae413098478fa38acaac887b7654f0725"><td class="mdescLeft"> </td><td class="mdescRight">The volume of a <a href="https://en.wikipedia.org/wiki/Cube" target="_blank">cube</a> <a href="../../dd/d47/namespacemath.html#ae413098478fa38acaac887b7654f0725">More...</a><br /></td></tr>
|
||||
<tr class="separator:ae413098478fa38acaac887b7654f0725"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3fdc74c24697ec5bb5c3698c96117c12"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:a3fdc74c24697ec5bb5c3698c96117c12"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../dd/d47/namespacemath.html#a3fdc74c24697ec5bb5c3698c96117c12">rect_prism_volume</a> (T length, T width, T <a class="el" href="../../d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83">height</a>)</td></tr>
|
||||
<tr class="memdesc:a3fdc74c24697ec5bb5c3698c96117c12"><td class="mdescLeft"> </td><td class="mdescRight">The volume of a <a href="https://en.wikipedia.org/wiki/Cuboid" target="_blank">rectangular</a> prism. <a href="../../dd/d47/namespacemath.html#a3fdc74c24697ec5bb5c3698c96117c12">More...</a><br /></td></tr>
|
||||
<tr class="separator:a3fdc74c24697ec5bb5c3698c96117c12"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3fe35440c27758ecc2287e08217d63a7"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:a3fe35440c27758ecc2287e08217d63a7"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../dd/d47/namespacemath.html#a3fe35440c27758ecc2287e08217d63a7">cone_volume</a> (T radius, T <a class="el" href="../../d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83">height</a>, double PI=3.14)</td></tr>
|
||||
<tr class="memdesc:a3fe35440c27758ecc2287e08217d63a7"><td class="mdescLeft"> </td><td class="mdescRight">The volume of a <a href="https://en.wikipedia.org/wiki/Cone" target="_blank">cone</a> <a href="../../dd/d47/namespacemath.html#a3fe35440c27758ecc2287e08217d63a7">More...</a><br /></td></tr>
|
||||
<tr class="separator:a3fe35440c27758ecc2287e08217d63a7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a2d704a7b72a6b2db8b76c8581b577b2c"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:a2d704a7b72a6b2db8b76c8581b577b2c"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../dd/d47/namespacemath.html#a2d704a7b72a6b2db8b76c8581b577b2c">triangle_prism_volume</a> (T base, T <a class="el" href="../../d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83">height</a>, T depth)</td></tr>
|
||||
<tr class="memdesc:a2d704a7b72a6b2db8b76c8581b577b2c"><td class="mdescLeft"> </td><td class="mdescRight">The volume of a <a href="https://en.wikipedia.org/wiki/Triangular_prism" target="_blank">triangular</a> prism. <a href="../../dd/d47/namespacemath.html#a2d704a7b72a6b2db8b76c8581b577b2c">More...</a><br /></td></tr>
|
||||
<tr class="separator:a2d704a7b72a6b2db8b76c8581b577b2c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a94db02b3c9e55a69ac1696f30e2f761c"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:a94db02b3c9e55a69ac1696f30e2f761c"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../dd/d47/namespacemath.html#a94db02b3c9e55a69ac1696f30e2f761c">pyramid_volume</a> (T length, T width, T <a class="el" href="../../d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83">height</a>)</td></tr>
|
||||
<tr class="memdesc:a94db02b3c9e55a69ac1696f30e2f761c"><td class="mdescLeft"> </td><td class="mdescRight">The volume of a <a href="https://en.wikipedia.org/wiki/Pyramid_(geometry)" target="_blank">pyramid</a> <a href="../../dd/d47/namespacemath.html#a94db02b3c9e55a69ac1696f30e2f761c">More...</a><br /></td></tr>
|
||||
<tr class="separator:a94db02b3c9e55a69ac1696f30e2f761c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a34d66a77c19ce9b8b3a3d14352b34551"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:a34d66a77c19ce9b8b3a3d14352b34551"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../dd/d47/namespacemath.html#a34d66a77c19ce9b8b3a3d14352b34551">sphere_volume</a> (T radius, double PI=3.14)</td></tr>
|
||||
<tr class="memdesc:a34d66a77c19ce9b8b3a3d14352b34551"><td class="mdescLeft"> </td><td class="mdescRight">The volume of a <a href="https://en.wikipedia.org/wiki/Sphere" target="_blank">sphere</a> <a href="../../dd/d47/namespacemath.html#a34d66a77c19ce9b8b3a3d14352b34551">More...</a><br /></td></tr>
|
||||
<tr class="separator:a34d66a77c19ce9b8b3a3d14352b34551"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:abde24398be43538c62e4a496968e60ca"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:abde24398be43538c62e4a496968e60ca"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../dd/d47/namespacemath.html#abde24398be43538c62e4a496968e60ca">cylinder_volume</a> (T radius, T <a class="el" href="../../d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83">height</a>, double PI=3.14)</td></tr>
|
||||
<tr class="memdesc:abde24398be43538c62e4a496968e60ca"><td class="mdescLeft"> </td><td class="mdescRight">The volume of a <a href="https://en.wikipedia.org/wiki/Cylinder" target="_blank">cylinder</a> <a href="../../dd/d47/namespacemath.html#abde24398be43538c62e4a496968e60ca">More...</a><br /></td></tr>
|
||||
<tr class="separator:abde24398be43538c62e4a496968e60ca"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p >for M_PI definition and pow() </p>
|
||||
@@ -192,6 +220,8 @@ Algorithm</h3>
|
||||
<p >Mathematical algorithms</p>
|
||||
<p >for assert for io operations</p>
|
||||
<p >Mathematical algorithms</p>
|
||||
<p >Mathematical algorithms</p>
|
||||
<p >for assert for <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/math/pow.html">std::pow</a> for <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></p>
|
||||
<p >Mathematical algorithms </p>
|
||||
</div><h2 class="groupheader">Function Documentation</h2>
|
||||
<a id="ae1ca505751f5a6d3977b86372cfe75ea" name="ae1ca505751f5a6d3977b86372cfe75ea"></a>
|
||||
@@ -256,6 +286,64 @@ template<typename T > </div>
|
||||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <span class="keywordflow">return</span> M_PI * pow(radius, 2);</div>
|
||||
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span>}</div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a id="a3fe35440c27758ecc2287e08217d63a7" name="a3fe35440c27758ecc2287e08217d63a7"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a3fe35440c27758ecc2287e08217d63a7">◆ </a></span>cone_volume()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename T > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">T math::cone_volume </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T </td>
|
||||
<td class="paramname"><em>radius</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T </td>
|
||||
<td class="paramname"><em>height</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>PI</em> = <code>3.14</code> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>The volume of a <a href="https://en.wikipedia.org/wiki/Cone" target="_blank">cone</a> </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">radius</td><td>The radius of the base circle </td></tr>
|
||||
<tr><td class="paramname">height</td><td>The height of the cone </td></tr>
|
||||
<tr><td class="paramname">PI</td><td>The definition of the constant PI </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>The volume of the cone </dd></dl>
|
||||
<div class="fragment"><div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> {</div>
|
||||
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <span class="keywordflow">return</span> <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/math/pow.html">std::pow</a>(radius, 2) * PI * <a class="code hl_function" href="../../d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83">height</a> / 3;</div>
|
||||
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span>}</div>
|
||||
<div class="ttc" id="aavltree_8cpp_html_ae4a66d8b0c2b0d626aea45977e358c83"><div class="ttname"><a href="../../d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83">height</a></div><div class="ttdeci">int height(node *root)</div><div class="ttdef"><b>Definition:</b> avltree.cpp:31</div></div>
|
||||
<div class="ttc" id="apow_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/numeric/math/pow.html">std::pow</a></div><div class="ttdeci">T pow(T... args)</div></div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../dd/d47/namespacemath_a3fe35440c27758ecc2287e08217d63a7_cgraph.svg" width="270" height="88"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="abc46c784a297fc1d2eb8b33a327fba4c" name="abc46c784a297fc1d2eb8b33a327fba4c"></a>
|
||||
@@ -291,6 +379,44 @@ template<typename T > </div>
|
||||
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> <span class="keywordflow">return</span> 6 * length * length;</div>
|
||||
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span>}</div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a id="ae413098478fa38acaac887b7654f0725" name="ae413098478fa38acaac887b7654f0725"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ae413098478fa38acaac887b7654f0725">◆ </a></span>cube_volume()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename T > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">T math::cube_volume </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T </td>
|
||||
<td class="paramname"><em>length</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>The volume of a <a href="https://en.wikipedia.org/wiki/Cube" target="_blank">cube</a> </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">length</td><td>The length of the cube </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>The volume of the cube </dd></dl>
|
||||
<div class="fragment"><div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> {</div>
|
||||
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> <span class="keywordflow">return</span> <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/math/pow.html">std::pow</a>(length, 3);</div>
|
||||
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span>}</div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../dd/d47/namespacemath_ae413098478fa38acaac887b7654f0725_cgraph.svg" width="270" height="38"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ac5803413618fcfb922cb32c6db0fc864" name="ac5803413618fcfb922cb32c6db0fc864"></a>
|
||||
@@ -333,7 +459,6 @@ template<typename T > </div>
|
||||
<div class="fragment"><div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> {</div>
|
||||
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> <span class="keywordflow">return</span> 2 * M_PI * radius * <a class="code hl_function" href="../../d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83">height</a> + 2 * M_PI * pow(radius, 2);</div>
|
||||
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span>}</div>
|
||||
<div class="ttc" id="aavltree_8cpp_html_ae4a66d8b0c2b0d626aea45977e358c83"><div class="ttname"><a href="../../d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83">height</a></div><div class="ttdeci">int height(node *root)</div><div class="ttdef"><b>Definition:</b> avltree.cpp:31</div></div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
@@ -341,6 +466,62 @@ Here is the call graph for this function:</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="abde24398be43538c62e4a496968e60ca" name="abde24398be43538c62e4a496968e60ca"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#abde24398be43538c62e4a496968e60ca">◆ </a></span>cylinder_volume()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename T > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">T math::cylinder_volume </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T </td>
|
||||
<td class="paramname"><em>radius</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T </td>
|
||||
<td class="paramname"><em>height</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>PI</em> = <code>3.14</code> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>The volume of a <a href="https://en.wikipedia.org/wiki/Cylinder" target="_blank">cylinder</a> </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">radius</td><td>The radius of the base circle </td></tr>
|
||||
<tr><td class="paramname">height</td><td>The height of the cylinder </td></tr>
|
||||
<tr><td class="paramname">PI</td><td>The definition of the constant PI </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>The volume of the cylinder </dd></dl>
|
||||
<div class="fragment"><div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> {</div>
|
||||
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> <span class="keywordflow">return</span> PI * <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/math/pow.html">std::pow</a>(radius, 2) * <a class="code hl_function" href="../../d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83">height</a>;</div>
|
||||
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span>}</div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../dd/d47/namespacemath_abde24398be43538c62e4a496968e60ca_cgraph.svg" width="287" height="88"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="aec65db4e5c7317323227f026fe50ef11" name="aec65db4e5c7317323227f026fe50ef11"></a>
|
||||
@@ -784,6 +965,62 @@ Here is the call graph for this function:</div>
|
||||
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span>}</div>
|
||||
<div class="ttc" id="abasic_ostream_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a></div></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a id="a94db02b3c9e55a69ac1696f30e2f761c" name="a94db02b3c9e55a69ac1696f30e2f761c"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a94db02b3c9e55a69ac1696f30e2f761c">◆ </a></span>pyramid_volume()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename T > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">T math::pyramid_volume </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T </td>
|
||||
<td class="paramname"><em>length</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T </td>
|
||||
<td class="paramname"><em>width</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T </td>
|
||||
<td class="paramname"><em>height</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>The volume of a <a href="https://en.wikipedia.org/wiki/Pyramid_(geometry)" target="_blank">pyramid</a> </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">length</td><td>The length of the base shape (or base for triangles) </td></tr>
|
||||
<tr><td class="paramname">width</td><td>The width of the base shape (or height for triangles) </td></tr>
|
||||
<tr><td class="paramname">height</td><td>The height of the pyramid </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>The volume of the pyramid </dd></dl>
|
||||
<div class="fragment"><div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> {</div>
|
||||
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> <span class="keywordflow">return</span> length * width * <a class="code hl_function" href="../../d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83">height</a> / 3;</div>
|
||||
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span>}</div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../dd/d47/namespacemath_a94db02b3c9e55a69ac1696f30e2f761c_cgraph.svg" width="275" height="38"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ab31d141f7c5b551746b1eee0eb4dedca" name="ab31d141f7c5b551746b1eee0eb4dedca"></a>
|
||||
@@ -827,6 +1064,62 @@ template<typename T > </div>
|
||||
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> <span class="keywordflow">return</span> length * width;</div>
|
||||
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span>}</div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a id="a3fdc74c24697ec5bb5c3698c96117c12" name="a3fdc74c24697ec5bb5c3698c96117c12"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a3fdc74c24697ec5bb5c3698c96117c12">◆ </a></span>rect_prism_volume()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename T > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">T math::rect_prism_volume </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T </td>
|
||||
<td class="paramname"><em>length</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T </td>
|
||||
<td class="paramname"><em>width</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T </td>
|
||||
<td class="paramname"><em>height</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>The volume of a <a href="https://en.wikipedia.org/wiki/Cuboid" target="_blank">rectangular</a> prism. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">length</td><td>The length of the base rectangle </td></tr>
|
||||
<tr><td class="paramname">width</td><td>The width of the base rectangle </td></tr>
|
||||
<tr><td class="paramname">height</td><td>The height of the rectangular prism </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>The volume of the rectangular prism </dd></dl>
|
||||
<div class="fragment"><div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> {</div>
|
||||
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> <span class="keywordflow">return</span> length * width * <a class="code hl_function" href="../../d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83">height</a>;</div>
|
||||
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span>}</div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../dd/d47/namespacemath_a3fdc74c24697ec5bb5c3698c96117c12_cgraph.svg" width="290" height="38"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ab7f29862d30df351c317eedd60a0c656" name="ab7f29862d30df351c317eedd60a0c656"></a>
|
||||
@@ -859,6 +1152,55 @@ template<typename T > </div>
|
||||
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <span class="keywordflow">return</span> 4 * M_PI * pow(radius, 2);</div>
|
||||
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span>}</div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a id="a34d66a77c19ce9b8b3a3d14352b34551" name="a34d66a77c19ce9b8b3a3d14352b34551"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a34d66a77c19ce9b8b3a3d14352b34551">◆ </a></span>sphere_volume()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename T > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">T math::sphere_volume </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T </td>
|
||||
<td class="paramname"><em>radius</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>PI</em> = <code>3.14</code> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>The volume of a <a href="https://en.wikipedia.org/wiki/Sphere" target="_blank">sphere</a> </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">radius</td><td>The radius of the sphere </td></tr>
|
||||
<tr><td class="paramname">PI</td><td>The definition of the constant PI </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>The volume of the sphere </dd></dl>
|
||||
<div class="fragment"><div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> {</div>
|
||||
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <span class="keywordflow">return</span> PI * <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/math/pow.html">std::pow</a>(radius, 3) * 4 / 3;</div>
|
||||
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span>}</div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../dd/d47/namespacemath_a34d66a77c19ce9b8b3a3d14352b34551_cgraph.svg" width="282" height="38"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a971ce57e368f2f631cf1f4ff3f864049" name="a971ce57e368f2f631cf1f4ff3f864049"></a>
|
||||
@@ -988,6 +1330,62 @@ Here is the call graph for this function:</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a2d704a7b72a6b2db8b76c8581b577b2c" name="a2d704a7b72a6b2db8b76c8581b577b2c"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a2d704a7b72a6b2db8b76c8581b577b2c">◆ </a></span>triangle_prism_volume()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename T > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">T math::triangle_prism_volume </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T </td>
|
||||
<td class="paramname"><em>base</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T </td>
|
||||
<td class="paramname"><em>height</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T </td>
|
||||
<td class="paramname"><em>depth</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>The volume of a <a href="https://en.wikipedia.org/wiki/Triangular_prism" target="_blank">triangular</a> prism. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">base</td><td>The length of the base triangle </td></tr>
|
||||
<tr><td class="paramname">height</td><td>The height of the base triangles </td></tr>
|
||||
<tr><td class="paramname">depth</td><td>The depth of the triangular prism (the height of the whole prism) </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>The volume of the triangular prism </dd></dl>
|
||||
<div class="fragment"><div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> {</div>
|
||||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> <span class="keywordflow">return</span> base * <a class="code hl_function" href="../../d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83">height</a> * depth / 2;</div>
|
||||
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span>}</div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../dd/d47/namespacemath_a2d704a7b72a6b2db8b76c8581b577b2c_cgraph.svg" width="260" height="52"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
|
||||
@@ -29,8 +29,11 @@ var namespacemath =
|
||||
] ],
|
||||
[ "binomialCoeffSum", "dd/d47/namespacemath.html#ae1ca505751f5a6d3977b86372cfe75ea", null ],
|
||||
[ "circle_area", "dd/d47/namespacemath.html#a40e36c67da78d2131408c57ee091ad75", null ],
|
||||
[ "cone_volume", "dd/d47/namespacemath.html#a3fe35440c27758ecc2287e08217d63a7", null ],
|
||||
[ "cube_surface_area", "dd/d47/namespacemath.html#abc46c784a297fc1d2eb8b33a327fba4c", null ],
|
||||
[ "cube_volume", "dd/d47/namespacemath.html#ae413098478fa38acaac887b7654f0725", null ],
|
||||
[ "cylinder_surface_area", "dd/d47/namespacemath.html#ac5803413618fcfb922cb32c6db0fc864", null ],
|
||||
[ "cylinder_volume", "dd/d47/namespacemath.html#abde24398be43538c62e4a496968e60ca", null ],
|
||||
[ "integral_approx", "dd/d47/namespacemath.html#aec65db4e5c7317323227f026fe50ef11", null ],
|
||||
[ "largestPower", "dd/d47/namespacemath.html#afa39ec943a4836c878e1614fd89b146f", null ],
|
||||
[ "lcmSum", "dd/d47/namespacemath.html#a04065193d190d605e1f0d0d93a87e244", null ],
|
||||
@@ -39,9 +42,13 @@ var namespacemath =
|
||||
[ "parallelogram_area", "dd/d47/namespacemath.html#a5de184925e68658f15415dd53954df4f", null ],
|
||||
[ "power", "dd/d47/namespacemath.html#afcd07701d73ed65cd616bcba02737f3d", null ],
|
||||
[ "power_of_two", "dd/d47/namespacemath.html#a89ab7d6c3e3ee72a8cbaa85127986185", null ],
|
||||
[ "pyramid_volume", "dd/d47/namespacemath.html#a94db02b3c9e55a69ac1696f30e2f761c", null ],
|
||||
[ "rect_area", "dd/d47/namespacemath.html#ab31d141f7c5b551746b1eee0eb4dedca", null ],
|
||||
[ "rect_prism_volume", "dd/d47/namespacemath.html#a3fdc74c24697ec5bb5c3698c96117c12", null ],
|
||||
[ "sphere_surface_area", "dd/d47/namespacemath.html#ab7f29862d30df351c317eedd60a0c656", null ],
|
||||
[ "sphere_volume", "dd/d47/namespacemath.html#a34d66a77c19ce9b8b3a3d14352b34551", null ],
|
||||
[ "square_area", "dd/d47/namespacemath.html#a971ce57e368f2f631cf1f4ff3f864049", null ],
|
||||
[ "test_eval", "dd/d47/namespacemath.html#a50936ee98f4d40f17823befc65a32aec", null ],
|
||||
[ "triangle_area", "dd/d47/namespacemath.html#ab3b920cc56442abd92279ba23b50f4dc", null ]
|
||||
[ "triangle_area", "dd/d47/namespacemath.html#ab3b920cc56442abd92279ba23b50f4dc", null ],
|
||||
[ "triangle_prism_volume", "dd/d47/namespacemath.html#a2d704a7b72a6b2db8b76c8581b577b2c", null ]
|
||||
];
|
||||
@@ -0,0 +1,4 @@
|
||||
<map id="math::triangle_prism_volume" name="math::triangle_prism_volume">
|
||||
<area shape="rect" id="node1" title="The volume of a triangular prism." alt="" coords="5,5,148,47"/>
|
||||
<area shape="rect" id="node2" href="$d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83" title=" " alt="" coords="196,13,255,39"/>
|
||||
</map>
|
||||
@@ -0,0 +1 @@
|
||||
b9f388ae982b5f09f33ff607e3ab62e6
|
||||
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.49.2 (20211016.1639)
|
||||
-->
|
||||
<!-- Title: math::triangle_prism_volume Pages: 1 -->
|
||||
<svg width="195pt" height="39pt"
|
||||
viewBox="0.00 0.00 195.00 39.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 35)">
|
||||
<title>math::triangle_prism_volume</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-35 191,-35 191,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="The volume of a triangular prism.">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-0.5 0,-30.5 107,-30.5 107,-0.5 0,-0.5"/>
|
||||
<text text-anchor="start" x="8" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">math::triangle_prism</text>
|
||||
<text text-anchor="middle" x="53.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">_volume</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:href="../../d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="143,-6 143,-25 187,-25 187,-6 143,-6"/>
|
||||
<text text-anchor="middle" x="165" y="-13" font-family="Helvetica,sans-Serif" font-size="10.00">height</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M107,-15.5C115.86,-15.5 124.79,-15.5 132.87,-15.5"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="132.93,-19 142.93,-15.5 132.93,-12 132.93,-19"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
@@ -0,0 +1,4 @@
|
||||
<map id="math::sphere_volume" name="math::sphere_volume">
|
||||
<area shape="rect" id="node1" title="The volume of a sphere" alt="" coords="5,5,156,32"/>
|
||||
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/pow.html#" title=" " alt="" coords="204,5,276,32"/>
|
||||
</map>
|
||||
@@ -0,0 +1 @@
|
||||
c82e8927319aa64cd57612e242ee4c6b
|
||||
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.49.2 (20211016.1639)
|
||||
-->
|
||||
<!-- Title: math::sphere_volume Pages: 1 -->
|
||||
<svg width="211pt" height="28pt"
|
||||
viewBox="0.00 0.00 211.00 28.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 24)">
|
||||
<title>math::sphere_volume</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-24 207,-24 207,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="The volume of a sphere">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-0.5 0,-19.5 113,-19.5 113,-0.5 0,-0.5"/>
|
||||
<text text-anchor="middle" x="56.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">math::sphere_volume</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/pow.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="149,-0.5 149,-19.5 203,-19.5 203,-0.5 149,-0.5"/>
|
||||
<text text-anchor="middle" x="176" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::pow</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M113.15,-10C121.81,-10 130.57,-10 138.65,-10"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="138.83,-13.5 148.83,-10 138.83,-6.5 138.83,-13.5"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
@@ -0,0 +1,4 @@
|
||||
<map id="math::rect_prism_volume" name="math::rect_prism_volume">
|
||||
<area shape="rect" id="node1" title="The volume of a rectangular prism." alt="" coords="5,5,177,32"/>
|
||||
<area shape="rect" id="node2" href="$d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83" title=" " alt="" coords="225,5,284,32"/>
|
||||
</map>
|
||||
@@ -0,0 +1 @@
|
||||
9d0936f767c1900a7d4687197c25e8ff
|
||||
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.49.2 (20211016.1639)
|
||||
-->
|
||||
<!-- Title: math::rect_prism_volume Pages: 1 -->
|
||||
<svg width="217pt" height="28pt"
|
||||
viewBox="0.00 0.00 217.00 28.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 24)">
|
||||
<title>math::rect_prism_volume</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-24 213,-24 213,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="The volume of a rectangular prism.">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-0.5 0,-19.5 129,-19.5 129,-0.5 0,-0.5"/>
|
||||
<text text-anchor="middle" x="64.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">math::rect_prism_volume</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:href="../../d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="165,-0.5 165,-19.5 209,-19.5 209,-0.5 165,-0.5"/>
|
||||
<text text-anchor="middle" x="187" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">height</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M129.28,-10C138.13,-10 146.87,-10 154.75,-10"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="154.89,-13.5 164.89,-10 154.89,-6.5 154.89,-13.5"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.7 KiB |
@@ -0,0 +1,5 @@
|
||||
<map id="math::cone_volume" name="math::cone_volume">
|
||||
<area shape="rect" id="node1" title="The volume of a cone" alt="" coords="5,31,144,57"/>
|
||||
<area shape="rect" id="node2" href="$d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83" title=" " alt="" coords="199,5,257,32"/>
|
||||
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/pow.html#" title=" " alt="" coords="192,56,264,83"/>
|
||||
</map>
|
||||
@@ -0,0 +1 @@
|
||||
c8577792291ce8dc6869746b8bb8dc5a
|
||||
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.49.2 (20211016.1639)
|
||||
-->
|
||||
<!-- Title: math::cone_volume Pages: 1 -->
|
||||
<svg width="202pt" height="66pt"
|
||||
viewBox="0.00 0.00 202.00 66.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 62)">
|
||||
<title>math::cone_volume</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-62 198,-62 198,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="The volume of a cone">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-19.5 0,-38.5 104,-38.5 104,-19.5 0,-19.5"/>
|
||||
<text text-anchor="middle" x="52" y="-26.5" font-family="Helvetica,sans-Serif" font-size="10.00">math::cone_volume</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:href="../../d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="145,-38.5 145,-57.5 189,-57.5 189,-38.5 145,-38.5"/>
|
||||
<text text-anchor="middle" x="167" y="-45.5" font-family="Helvetica,sans-Serif" font-size="10.00">height</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M104.21,-37.61C114.65,-39.37 125.33,-41.16 134.81,-42.76"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="134.49,-46.25 144.93,-44.46 135.65,-39.35 134.49,-46.25"/>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/pow.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="140,-0.5 140,-19.5 194,-19.5 194,-0.5 140,-0.5"/>
|
||||
<text text-anchor="middle" x="167" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::pow</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<path fill="none" stroke="midnightblue" d="M104.21,-20.39C112.91,-18.93 121.79,-17.43 129.99,-16.05"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="130.69,-19.49 139.97,-14.38 129.53,-12.58 130.69,-19.49"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
@@ -0,0 +1,4 @@
|
||||
<map id="math::pyramid_volume" name="math::pyramid_volume">
|
||||
<area shape="rect" id="node1" title="The volume of a pyramid" alt="" coords="5,5,163,32"/>
|
||||
<area shape="rect" id="node2" href="$d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83" title=" " alt="" coords="211,5,269,32"/>
|
||||
</map>
|
||||
@@ -0,0 +1 @@
|
||||
c24ad56b719015649af4999d539dceee
|
||||
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.49.2 (20211016.1639)
|
||||
-->
|
||||
<!-- Title: math::pyramid_volume Pages: 1 -->
|
||||
<svg width="206pt" height="28pt"
|
||||
viewBox="0.00 0.00 206.00 28.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 24)">
|
||||
<title>math::pyramid_volume</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-24 202,-24 202,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="The volume of a pyramid">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-0.5 0,-19.5 118,-19.5 118,-0.5 0,-0.5"/>
|
||||
<text text-anchor="middle" x="59" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">math::pyramid_volume</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:href="../../d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="154,-0.5 154,-19.5 198,-19.5 198,-0.5 154,-0.5"/>
|
||||
<text text-anchor="middle" x="176" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">height</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M118.17,-10C126.98,-10 135.77,-10 143.71,-10"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="143.93,-13.5 153.93,-10 143.93,-6.5 143.93,-13.5"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
@@ -0,0 +1,5 @@
|
||||
<map id="math::cylinder_volume" name="math::cylinder_volume">
|
||||
<area shape="rect" id="node1" title="The volume of a cylinder" alt="" coords="5,31,161,57"/>
|
||||
<area shape="rect" id="node2" href="$d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83" title=" " alt="" coords="216,5,275,32"/>
|
||||
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/pow.html#" title=" " alt="" coords="209,56,281,83"/>
|
||||
</map>
|
||||
@@ -0,0 +1 @@
|
||||
f270b96f8c5c075b52e554524c4c97f0
|
||||
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.49.2 (20211016.1639)
|
||||
-->
|
||||
<!-- Title: math::cylinder_volume Pages: 1 -->
|
||||
<svg width="215pt" height="66pt"
|
||||
viewBox="0.00 0.00 215.00 66.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 62)">
|
||||
<title>math::cylinder_volume</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-62 211,-62 211,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="The volume of a cylinder">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-19.5 0,-38.5 117,-38.5 117,-19.5 0,-19.5"/>
|
||||
<text text-anchor="middle" x="58.5" y="-26.5" font-family="Helvetica,sans-Serif" font-size="10.00">math::cylinder_volume</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:href="../../d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="158,-38.5 158,-57.5 202,-57.5 202,-38.5 158,-38.5"/>
|
||||
<text text-anchor="middle" x="180" y="-45.5" font-family="Helvetica,sans-Serif" font-size="10.00">height</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M117.15,-38.17C127.73,-39.85 138.4,-41.54 147.83,-43.04"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="147.45,-46.53 157.87,-44.64 148.55,-39.61 147.45,-46.53"/>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/pow.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="153,-0.5 153,-19.5 207,-19.5 207,-0.5 153,-0.5"/>
|
||||
<text text-anchor="middle" x="180" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::pow</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<path fill="none" stroke="midnightblue" d="M117.15,-19.83C125.96,-18.43 134.84,-17.02 143,-15.72"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="143.59,-19.17 152.91,-14.15 142.49,-12.26 143.59,-19.17"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
@@ -0,0 +1,4 @@
|
||||
<map id="math::cube_volume" name="math::cube_volume">
|
||||
<area shape="rect" id="node1" title="The volume of a cube" alt="" coords="5,5,144,32"/>
|
||||
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/pow.html#" title=" " alt="" coords="192,5,264,32"/>
|
||||
</map>
|
||||
@@ -0,0 +1 @@
|
||||
5725972ce07b26d80ed3e8b1f0b073df
|
||||
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.49.2 (20211016.1639)
|
||||
-->
|
||||
<!-- Title: math::cube_volume Pages: 1 -->
|
||||
<svg width="202pt" height="28pt"
|
||||
viewBox="0.00 0.00 202.00 28.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 24)">
|
||||
<title>math::cube_volume</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-24 198,-24 198,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="The volume of a cube">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-0.5 0,-19.5 104,-19.5 104,-0.5 0,-0.5"/>
|
||||
<text text-anchor="middle" x="52" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">math::cube_volume</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/pow.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="140,-0.5 140,-19.5 194,-19.5 194,-0.5 140,-0.5"/>
|
||||
<text text-anchor="middle" x="167" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::pow</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M104.21,-10C112.82,-10 121.59,-10 129.72,-10"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="129.97,-13.5 139.97,-10 129.97,-6.5 129.97,-13.5"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
7
dd/d5e/volume_8cpp__incl.map
Normal file
@@ -0,0 +1,7 @@
|
||||
<map id="math/volume.cpp" name="math/volume.cpp">
|
||||
<area shape="rect" id="node1" title="Implmentations for the volume of various 3D shapes." alt="" coords="104,5,228,32"/>
|
||||
<area shape="rect" id="node2" title=" " alt="" coords="5,80,71,107"/>
|
||||
<area shape="rect" id="node3" title=" " alt="" coords="95,80,154,107"/>
|
||||
<area shape="rect" id="node4" title=" " alt="" coords="179,80,239,107"/>
|
||||
<area shape="rect" id="node5" title=" " alt="" coords="263,80,336,107"/>
|
||||
</map>
|
||||
1
dd/d5e/volume_8cpp__incl.md5
Normal file
@@ -0,0 +1 @@
|
||||
029f4c2b113bf48f91b49702b124a6cd
|
||||
82
dd/d5e/volume_8cpp__incl.svg
Normal file
@@ -0,0 +1,82 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.49.2 (20211016.1639)
|
||||
-->
|
||||
<!-- Title: math/volume.cpp Pages: 1 -->
|
||||
<svg width="256pt" height="84pt"
|
||||
viewBox="0.00 0.00 256.00 84.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 80)">
|
||||
<title>math/volume.cpp</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-80 252,-80 252,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="Implmentations for the volume of various 3D shapes.">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="74,-56.5 74,-75.5 167,-75.5 167,-56.5 74,-56.5"/>
|
||||
<text text-anchor="middle" x="120.5" y="-63.5" font-family="Helvetica,sans-Serif" font-size="10.00">math/volume.cpp</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:title=" ">
|
||||
<polygon fill="white" stroke="#bfbfbf" points="0,-0.5 0,-19.5 49,-19.5 49,-0.5 0,-0.5"/>
|
||||
<text text-anchor="middle" x="24.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M105.08,-56.32C89.96,-47.82 66.68,-34.73 49.03,-24.8"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="50.32,-21.51 39.89,-19.65 46.89,-27.61 50.32,-21.51"/>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a xlink:title=" ">
|
||||
<polygon fill="white" stroke="#bfbfbf" points="67.5,-0.5 67.5,-19.5 111.5,-19.5 111.5,-0.5 67.5,-0.5"/>
|
||||
<text text-anchor="middle" x="89.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">cmath</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<path fill="none" stroke="midnightblue" d="M115.38,-56.08C111.09,-48.61 104.84,-37.72 99.56,-28.52"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="102.54,-26.68 94.52,-19.75 96.47,-30.17 102.54,-26.68"/>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="node4" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_node4"><a xlink:title=" ">
|
||||
<polygon fill="white" stroke="#bfbfbf" points="130,-0.5 130,-19.5 175,-19.5 175,-0.5 130,-0.5"/>
|
||||
<text text-anchor="middle" x="152.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">cstdint</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node4 -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<path fill="none" stroke="midnightblue" d="M125.78,-56.08C130.21,-48.61 136.66,-37.72 142.12,-28.52"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="145.23,-30.14 147.31,-19.75 139.21,-26.57 145.23,-30.14"/>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="node5" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_node5"><a xlink:title=" ">
|
||||
<polygon fill="white" stroke="#bfbfbf" points="193,-0.5 193,-19.5 248,-19.5 248,-0.5 193,-0.5"/>
|
||||
<text text-anchor="middle" x="220.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node5 -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>Node1->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M136.57,-56.32C152.46,-47.74 177.01,-34.49 195.46,-24.52"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="197.34,-27.49 204.47,-19.65 194.01,-21.33 197.34,-27.49"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.5 KiB |