Documentation for b957b1dfef

This commit is contained in:
realstealthninja
2024-10-07 00:47:15 +00:00
parent 64513a6a7d
commit 81ec715c16
23 changed files with 722 additions and 578 deletions

View File

@@ -164,6 +164,10 @@ Functions</h2></td></tr>
<tr class="memitem:ac5803413618fcfb922cb32c6db0fc864"><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../dd/d47/namespacemath.html#ac5803413618fcfb922cb32c6db0fc864">math::cylinder_surface_area</a> (T radius, T <a class="el" href="../../d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83">height</a>)</td></tr>
<tr class="memdesc:ac5803413618fcfb922cb32c6db0fc864"><td class="mdescLeft">&#160;</td><td class="mdescRight">surface area of a <a href="https://en.wikipedia.org/wiki/Cylinder" target="_blank">cylinder</a> (2 * pi * r * h + 2 * pi * r^2) <br /></td></tr>
<tr class="separator:ac5803413618fcfb922cb32c6db0fc864"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3277e65a8f380e7632791975bfba0efb" id="r_a3277e65a8f380e7632791975bfba0efb"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a3277e65a8f380e7632791975bfba0efb"><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../dd/d47/namespacemath.html#a3277e65a8f380e7632791975bfba0efb">math::hemi_sphere_surface_area</a> (T radius)</td></tr>
<tr class="memdesc:a3277e65a8f380e7632791975bfba0efb"><td class="mdescLeft">&#160;</td><td class="mdescRight">surface area of a <a href="https://en.wikipedia.org/wiki/Surface_area" target="_blank">hemi-sphere</a> ( 3 * pi * r^2) <br /></td></tr>
<tr class="separator:a3277e65a8f380e7632791975bfba0efb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d" id="r_aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
<tr class="memdesc:aa8dca7b867074164d5f45b0f3851269d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Self-test implementations. <br /></td></tr>
<tr class="separator:aa8dca7b867074164d5f45b0f3851269d"><td class="memSeparator" colspan="2">&#160;</td></tr>
@@ -193,15 +197,15 @@ Functions</h2></td></tr>
<p>Main function. </p>
<dl class="section return"><dt>Returns</dt><dd>0 on exit </dd></dl>
<div class="fragment"><div class="line"><span class="lineno"> 276</span> {</div>
<div class="line"><span class="lineno"> 277</span> <a class="code hl_function" href="#aa8dca7b867074164d5f45b0f3851269d">test</a>(); <span class="comment">// run self-test implementations</span></div>
<div class="line"><span class="lineno"> 278</span> <span class="keywordflow">return</span> 0;</div>
<div class="line"><span class="lineno"> 279</span>}</div>
<div class="ttc" id="aarea_8cpp_html_aa8dca7b867074164d5f45b0f3851269d"><div class="ttname"><a href="#aa8dca7b867074164d5f45b0f3851269d">test</a></div><div class="ttdeci">static void test()</div><div class="ttdoc">Self-test implementations.</div><div class="ttdef"><b>Definition</b> area.cpp:118</div></div>
<div class="fragment"><div class="line"><span class="lineno"> 300</span> {</div>
<div class="line"><span class="lineno"> 301</span> <a class="code hl_function" href="#aa8dca7b867074164d5f45b0f3851269d">test</a>(); <span class="comment">// run self-test implementations</span></div>
<div class="line"><span class="lineno"> 302</span> <span class="keywordflow">return</span> 0;</div>
<div class="line"><span class="lineno"> 303</span>}</div>
<div class="ttc" id="aarea_8cpp_html_aa8dca7b867074164d5f45b0f3851269d"><div class="ttname"><a href="#aa8dca7b867074164d5f45b0f3851269d">test</a></div><div class="ttdeci">static void test()</div><div class="ttdoc">Self-test implementations.</div><div class="ttdef"><b>Definition</b> area.cpp:130</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="../../dc/d82/area_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg" width="610" height="431"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../dc/d82/area_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg" width="639" height="480"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
@@ -231,161 +235,174 @@ Here is the call graph for this function:</div>
<p>Self-test implementations. </p>
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
<div class="fragment"><div class="line"><span class="lineno"> 118</span> {</div>
<div class="line"><span class="lineno"> 119</span> <span class="comment">// I/O variables for testing</span></div>
<div class="line"><span class="lineno"> 120</span> uint16_t int_length = 0; <span class="comment">// 16 bit integer length input</span></div>
<div class="line"><span class="lineno"> 121</span> uint16_t int_width = 0; <span class="comment">// 16 bit integer width input</span></div>
<div class="line"><span class="lineno"> 122</span> uint16_t int_base = 0; <span class="comment">// 16 bit integer base input</span></div>
<div class="line"><span class="lineno"> 123</span> uint16_t int_height = 0; <span class="comment">// 16 bit integer height input</span></div>
<div class="line"><span class="lineno"> 124</span> uint16_t int_expected = 0; <span class="comment">// 16 bit integer expected output</span></div>
<div class="line"><span class="lineno"> 125</span> uint16_t int_area = 0; <span class="comment">// 16 bit integer output</span></div>
<div class="line"><span class="lineno"> 126</span> </div>
<div class="line"><span class="lineno"> 127</span> <span class="keywordtype">float</span> float_length = NAN; <span class="comment">// float length input</span></div>
<div class="line"><span class="lineno"> 128</span> <span class="keywordtype">float</span> float_expected = NAN; <span class="comment">// float expected output</span></div>
<div class="line"><span class="lineno"> 129</span> <span class="keywordtype">float</span> float_area = NAN; <span class="comment">// float output</span></div>
<div class="line"><span class="lineno"> 130</span> </div>
<div class="line"><span class="lineno"> 131</span> <span class="keywordtype">double</span> double_length = NAN; <span class="comment">// double length input</span></div>
<div class="line"><span class="lineno"> 132</span> <span class="keywordtype">double</span> double_width = NAN; <span class="comment">// double width input</span></div>
<div class="line"><span class="lineno"> 133</span> <span class="keywordtype">double</span> double_radius = NAN; <span class="comment">// double radius input</span></div>
<div class="line"><span class="lineno"> 134</span> <span class="keywordtype">double</span> double_height = NAN; <span class="comment">// double height input</span></div>
<div class="line"><span class="lineno"> 135</span> <span class="keywordtype">double</span> double_expected = NAN; <span class="comment">// double expected output</span></div>
<div class="line"><span class="lineno"> 136</span> <span class="keywordtype">double</span> double_area = NAN; <span class="comment">// double output</span></div>
<div class="line"><span class="lineno"> 137</span> </div>
<div class="line"><span class="lineno"> 138</span> <span class="comment">// 1st test</span></div>
<div class="line"><span class="lineno"> 139</span> int_length = 5;</div>
<div class="line"><span class="lineno"> 140</span> int_expected = 25;</div>
<div class="line"><span class="lineno"> 141</span> int_area = <a class="code hl_function" href="../../dd/d47/namespacemath.html#a971ce57e368f2f631cf1f4ff3f864049">math::square_area</a>(int_length);</div>
<div class="fragment"><div class="line"><span class="lineno"> 130</span> {</div>
<div class="line"><span class="lineno"> 131</span> <span class="comment">// I/O variables for testing</span></div>
<div class="line"><span class="lineno"> 132</span> uint16_t int_length = 0; <span class="comment">// 16 bit integer length input</span></div>
<div class="line"><span class="lineno"> 133</span> uint16_t int_width = 0; <span class="comment">// 16 bit integer width input</span></div>
<div class="line"><span class="lineno"> 134</span> uint16_t int_base = 0; <span class="comment">// 16 bit integer base input</span></div>
<div class="line"><span class="lineno"> 135</span> uint16_t int_height = 0; <span class="comment">// 16 bit integer height input</span></div>
<div class="line"><span class="lineno"> 136</span> uint16_t int_expected = 0; <span class="comment">// 16 bit integer expected output</span></div>
<div class="line"><span class="lineno"> 137</span> uint16_t int_area = 0; <span class="comment">// 16 bit integer output</span></div>
<div class="line"><span class="lineno"> 138</span> </div>
<div class="line"><span class="lineno"> 139</span> <span class="keywordtype">float</span> float_length = NAN; <span class="comment">// float length input</span></div>
<div class="line"><span class="lineno"> 140</span> <span class="keywordtype">float</span> float_expected = NAN; <span class="comment">// float expected output</span></div>
<div class="line"><span class="lineno"> 141</span> <span class="keywordtype">float</span> float_area = NAN; <span class="comment">// float output</span></div>
<div class="line"><span class="lineno"> 142</span> </div>
<div class="line"><span class="lineno"> 143</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;AREA OF A SQUARE (int)&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 144</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Length: &quot;</span> &lt;&lt; int_length &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 145</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Expected Output: &quot;</span> &lt;&lt; int_expected &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 146</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Output: &quot;</span> &lt;&lt; int_area &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 147</span> assert(int_area == int_expected);</div>
<div class="line"><span class="lineno"> 148</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;TEST PASSED&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 143</span> <span class="keywordtype">double</span> double_length = NAN; <span class="comment">// double length input</span></div>
<div class="line"><span class="lineno"> 144</span> <span class="keywordtype">double</span> double_width = NAN; <span class="comment">// double width input</span></div>
<div class="line"><span class="lineno"> 145</span> <span class="keywordtype">double</span> double_radius = NAN; <span class="comment">// double radius input</span></div>
<div class="line"><span class="lineno"> 146</span> <span class="keywordtype">double</span> double_height = NAN; <span class="comment">// double height input</span></div>
<div class="line"><span class="lineno"> 147</span> <span class="keywordtype">double</span> double_expected = NAN; <span class="comment">// double expected output</span></div>
<div class="line"><span class="lineno"> 148</span> <span class="keywordtype">double</span> double_area = NAN; <span class="comment">// double output</span></div>
<div class="line"><span class="lineno"> 149</span> </div>
<div class="line"><span class="lineno"> 150</span> <span class="comment">// 2nd test</span></div>
<div class="line"><span class="lineno"> 151</span> float_length = 2.5;</div>
<div class="line"><span class="lineno"> 152</span> float_expected = 6.25;</div>
<div class="line"><span class="lineno"> 153</span> float_area = <a class="code hl_function" href="../../dd/d47/namespacemath.html#a971ce57e368f2f631cf1f4ff3f864049">math::square_area</a>(float_length);</div>
<div class="line"><span class="lineno"> 150</span> <span class="comment">// 1st test</span></div>
<div class="line"><span class="lineno"> 151</span> int_length = 5;</div>
<div class="line"><span class="lineno"> 152</span> int_expected = 25;</div>
<div class="line"><span class="lineno"> 153</span> int_area = <a class="code hl_function" href="../../dd/d47/namespacemath.html#a971ce57e368f2f631cf1f4ff3f864049">math::square_area</a>(int_length);</div>
<div class="line"><span class="lineno"> 154</span> </div>
<div class="line"><span class="lineno"> 155</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;AREA OF A SQUARE (float)&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 156</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Length: &quot;</span> &lt;&lt; float_length &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 157</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Expected Output: &quot;</span> &lt;&lt; float_expected &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 158</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Output: &quot;</span> &lt;&lt; float_area &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 159</span> assert(float_area == float_expected);</div>
<div class="line"><span class="lineno"> 155</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;AREA OF A SQUARE (int)&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 156</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Length: &quot;</span> &lt;&lt; int_length &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 157</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Expected Output: &quot;</span> &lt;&lt; int_expected &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 158</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Output: &quot;</span> &lt;&lt; int_area &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 159</span> assert(int_area == int_expected);</div>
<div class="line"><span class="lineno"> 160</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;TEST PASSED&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 161</span> </div>
<div class="line"><span class="lineno"> 162</span> <span class="comment">// 3rd test</span></div>
<div class="line"><span class="lineno"> 163</span> int_length = 4;</div>
<div class="line"><span class="lineno"> 164</span> int_width = 7;</div>
<div class="line"><span class="lineno"> 165</span> int_expected = 28;</div>
<div class="line"><span class="lineno"> 166</span> int_area = <a class="code hl_function" href="../../dd/d47/namespacemath.html#ab31d141f7c5b551746b1eee0eb4dedca">math::rect_area</a>(int_length, int_width);</div>
<div class="line"><span class="lineno"> 167</span> </div>
<div class="line"><span class="lineno"> 168</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;AREA OF A RECTANGLE (int)&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 169</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Length: &quot;</span> &lt;&lt; int_length &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 170</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Width: &quot;</span> &lt;&lt; int_width &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 171</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Expected Output: &quot;</span> &lt;&lt; int_expected &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 172</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Output: &quot;</span> &lt;&lt; int_area &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 173</span> assert(int_area == int_expected);</div>
<div class="line"><span class="lineno"> 174</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;TEST PASSED&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 175</span> </div>
<div class="line"><span class="lineno"> 176</span> <span class="comment">// 4th test</span></div>
<div class="line"><span class="lineno"> 177</span> double_length = 2.5;</div>
<div class="line"><span class="lineno"> 178</span> double_width = 5.7;</div>
<div class="line"><span class="lineno"> 179</span> double_expected = 14.25;</div>
<div class="line"><span class="lineno"> 180</span> double_area = <a class="code hl_function" href="../../dd/d47/namespacemath.html#ab31d141f7c5b551746b1eee0eb4dedca">math::rect_area</a>(double_length, double_width);</div>
<div class="line"><span class="lineno"> 181</span> </div>
<div class="line"><span class="lineno"> 182</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;AREA OF A RECTANGLE (double)&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 183</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Length: &quot;</span> &lt;&lt; double_length &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 184</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Width: &quot;</span> &lt;&lt; double_width &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 185</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Expected Output: &quot;</span> &lt;&lt; double_expected &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 186</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Output: &quot;</span> &lt;&lt; double_area &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 187</span> assert(double_area == double_expected);</div>
<div class="line"><span class="lineno"> 188</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;TEST PASSED&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 189</span> </div>
<div class="line"><span class="lineno"> 190</span> <span class="comment">// 5th test</span></div>
<div class="line"><span class="lineno"> 191</span> int_base = 10;</div>
<div class="line"><span class="lineno"> 192</span> int_height = 3;</div>
<div class="line"><span class="lineno"> 193</span> int_expected = 15;</div>
<div class="line"><span class="lineno"> 194</span> int_area = <a class="code hl_function" href="../../dd/d47/namespacemath.html#ab3b920cc56442abd92279ba23b50f4dc">math::triangle_area</a>(int_base, int_height);</div>
<div class="line"><span class="lineno"> 195</span> </div>
<div class="line"><span class="lineno"> 196</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;AREA OF A TRIANGLE&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 197</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Base: &quot;</span> &lt;&lt; int_base &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 198</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Height: &quot;</span> &lt;&lt; int_height &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 199</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Expected Output: &quot;</span> &lt;&lt; int_expected &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 200</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Output: &quot;</span> &lt;&lt; int_area &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 201</span> assert(int_area == int_expected);</div>
<div class="line"><span class="lineno"> 202</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;TEST PASSED&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 203</span> </div>
<div class="line"><span class="lineno"> 204</span> <span class="comment">// 6th test</span></div>
<div class="line"><span class="lineno"> 205</span> double_radius = 6;</div>
<div class="line"><span class="lineno"> 206</span> double_expected =</div>
<div class="line"><span class="lineno"> 207</span> 113.09733552923255; <span class="comment">// rounded down because the double datatype</span></div>
<div class="line"><span class="lineno"> 208</span> <span class="comment">// truncates after 14 decimal places</span></div>
<div class="line"><span class="lineno"> 209</span> double_area = <a class="code hl_function" href="../../dd/d47/namespacemath.html#a40e36c67da78d2131408c57ee091ad75">math::circle_area</a>(double_radius);</div>
<div class="line"><span class="lineno"> 210</span> </div>
<div class="line"><span class="lineno"> 211</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;AREA OF A CIRCLE&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 212</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Radius: &quot;</span> &lt;&lt; double_radius &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 213</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Expected Output: &quot;</span> &lt;&lt; double_expected &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 214</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Output: &quot;</span> &lt;&lt; double_area &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 215</span> assert(double_area == double_expected);</div>
<div class="line"><span class="lineno"> 216</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;TEST PASSED&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 217</span> </div>
<div class="line"><span class="lineno"> 218</span> <span class="comment">// 7th test</span></div>
<div class="line"><span class="lineno"> 219</span> int_base = 6;</div>
<div class="line"><span class="lineno"> 220</span> int_height = 7;</div>
<div class="line"><span class="lineno"> 221</span> int_expected = 42;</div>
<div class="line"><span class="lineno"> 222</span> int_area = <a class="code hl_function" href="../../dd/d47/namespacemath.html#a5de184925e68658f15415dd53954df4f">math::parallelogram_area</a>(int_base, int_height);</div>
<div class="line"><span class="lineno"> 223</span> </div>
<div class="line"><span class="lineno"> 224</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;AREA OF A PARALLELOGRAM&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 225</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Base: &quot;</span> &lt;&lt; int_base &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 226</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Height: &quot;</span> &lt;&lt; int_height &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 227</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Expected Output: &quot;</span> &lt;&lt; int_expected &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 228</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Output: &quot;</span> &lt;&lt; int_area &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 229</span> assert(int_area == int_expected);</div>
<div class="line"><span class="lineno"> 230</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;TEST PASSED&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 231</span> </div>
<div class="line"><span class="lineno"> 232</span> <span class="comment">// 8th test</span></div>
<div class="line"><span class="lineno"> 233</span> double_length = 5.5;</div>
<div class="line"><span class="lineno"> 234</span> double_expected = 181.5;</div>
<div class="line"><span class="lineno"> 235</span> double_area = <a class="code hl_function" href="../../dd/d47/namespacemath.html#abc46c784a297fc1d2eb8b33a327fba4c">math::cube_surface_area</a>(double_length);</div>
<div class="line"><span class="lineno"> 236</span> </div>
<div class="line"><span class="lineno"> 237</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;SURFACE AREA OF A CUBE&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 238</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Length: &quot;</span> &lt;&lt; double_length &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 239</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Expected Output: &quot;</span> &lt;&lt; double_expected &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 240</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Output: &quot;</span> &lt;&lt; double_area &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 241</span> assert(double_area == double_expected);</div>
<div class="line"><span class="lineno"> 162</span> <span class="comment">// 2nd test</span></div>
<div class="line"><span class="lineno"> 163</span> float_length = 2.5;</div>
<div class="line"><span class="lineno"> 164</span> float_expected = 6.25;</div>
<div class="line"><span class="lineno"> 165</span> float_area = <a class="code hl_function" href="../../dd/d47/namespacemath.html#a971ce57e368f2f631cf1f4ff3f864049">math::square_area</a>(float_length);</div>
<div class="line"><span class="lineno"> 166</span> </div>
<div class="line"><span class="lineno"> 167</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;AREA OF A SQUARE (float)&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 168</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Length: &quot;</span> &lt;&lt; float_length &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 169</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Expected Output: &quot;</span> &lt;&lt; float_expected &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 170</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Output: &quot;</span> &lt;&lt; float_area &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 171</span> assert(float_area == float_expected);</div>
<div class="line"><span class="lineno"> 172</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;TEST PASSED&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 173</span> </div>
<div class="line"><span class="lineno"> 174</span> <span class="comment">// 3rd test</span></div>
<div class="line"><span class="lineno"> 175</span> int_length = 4;</div>
<div class="line"><span class="lineno"> 176</span> int_width = 7;</div>
<div class="line"><span class="lineno"> 177</span> int_expected = 28;</div>
<div class="line"><span class="lineno"> 178</span> int_area = <a class="code hl_function" href="../../dd/d47/namespacemath.html#ab31d141f7c5b551746b1eee0eb4dedca">math::rect_area</a>(int_length, int_width);</div>
<div class="line"><span class="lineno"> 179</span> </div>
<div class="line"><span class="lineno"> 180</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;AREA OF A RECTANGLE (int)&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 181</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Length: &quot;</span> &lt;&lt; int_length &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 182</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Width: &quot;</span> &lt;&lt; int_width &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 183</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Expected Output: &quot;</span> &lt;&lt; int_expected &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 184</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Output: &quot;</span> &lt;&lt; int_area &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 185</span> assert(int_area == int_expected);</div>
<div class="line"><span class="lineno"> 186</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;TEST PASSED&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 187</span> </div>
<div class="line"><span class="lineno"> 188</span> <span class="comment">// 4th test</span></div>
<div class="line"><span class="lineno"> 189</span> double_length = 2.5;</div>
<div class="line"><span class="lineno"> 190</span> double_width = 5.7;</div>
<div class="line"><span class="lineno"> 191</span> double_expected = 14.25;</div>
<div class="line"><span class="lineno"> 192</span> double_area = <a class="code hl_function" href="../../dd/d47/namespacemath.html#ab31d141f7c5b551746b1eee0eb4dedca">math::rect_area</a>(double_length, double_width);</div>
<div class="line"><span class="lineno"> 193</span> </div>
<div class="line"><span class="lineno"> 194</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;AREA OF A RECTANGLE (double)&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 195</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Length: &quot;</span> &lt;&lt; double_length &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 196</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Width: &quot;</span> &lt;&lt; double_width &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 197</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Expected Output: &quot;</span> &lt;&lt; double_expected &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 198</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Output: &quot;</span> &lt;&lt; double_area &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 199</span> assert(double_area == double_expected);</div>
<div class="line"><span class="lineno"> 200</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;TEST PASSED&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 201</span> </div>
<div class="line"><span class="lineno"> 202</span> <span class="comment">// 5th test</span></div>
<div class="line"><span class="lineno"> 203</span> int_base = 10;</div>
<div class="line"><span class="lineno"> 204</span> int_height = 3;</div>
<div class="line"><span class="lineno"> 205</span> int_expected = 15;</div>
<div class="line"><span class="lineno"> 206</span> int_area = <a class="code hl_function" href="../../dd/d47/namespacemath.html#ab3b920cc56442abd92279ba23b50f4dc">math::triangle_area</a>(int_base, int_height);</div>
<div class="line"><span class="lineno"> 207</span> </div>
<div class="line"><span class="lineno"> 208</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;AREA OF A TRIANGLE&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 209</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Base: &quot;</span> &lt;&lt; int_base &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 210</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Height: &quot;</span> &lt;&lt; int_height &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 211</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Expected Output: &quot;</span> &lt;&lt; int_expected &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 212</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Output: &quot;</span> &lt;&lt; int_area &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 213</span> assert(int_area == int_expected);</div>
<div class="line"><span class="lineno"> 214</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;TEST PASSED&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 215</span> </div>
<div class="line"><span class="lineno"> 216</span> <span class="comment">// 6th test</span></div>
<div class="line"><span class="lineno"> 217</span> double_radius = 6;</div>
<div class="line"><span class="lineno"> 218</span> double_expected =</div>
<div class="line"><span class="lineno"> 219</span> 113.09733552923255; <span class="comment">// rounded down because the double datatype</span></div>
<div class="line"><span class="lineno"> 220</span> <span class="comment">// truncates after 14 decimal places</span></div>
<div class="line"><span class="lineno"> 221</span> double_area = <a class="code hl_function" href="../../dd/d47/namespacemath.html#a40e36c67da78d2131408c57ee091ad75">math::circle_area</a>(double_radius);</div>
<div class="line"><span class="lineno"> 222</span> </div>
<div class="line"><span class="lineno"> 223</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;AREA OF A CIRCLE&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 224</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Radius: &quot;</span> &lt;&lt; double_radius &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 225</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Expected Output: &quot;</span> &lt;&lt; double_expected &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 226</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Output: &quot;</span> &lt;&lt; double_area &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 227</span> assert(double_area == double_expected);</div>
<div class="line"><span class="lineno"> 228</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;TEST PASSED&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 229</span> </div>
<div class="line"><span class="lineno"> 230</span> <span class="comment">// 7th test</span></div>
<div class="line"><span class="lineno"> 231</span> int_base = 6;</div>
<div class="line"><span class="lineno"> 232</span> int_height = 7;</div>
<div class="line"><span class="lineno"> 233</span> int_expected = 42;</div>
<div class="line"><span class="lineno"> 234</span> int_area = <a class="code hl_function" href="../../dd/d47/namespacemath.html#a5de184925e68658f15415dd53954df4f">math::parallelogram_area</a>(int_base, int_height);</div>
<div class="line"><span class="lineno"> 235</span> </div>
<div class="line"><span class="lineno"> 236</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;AREA OF A PARALLELOGRAM&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 237</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Base: &quot;</span> &lt;&lt; int_base &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 238</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Height: &quot;</span> &lt;&lt; int_height &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 239</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Expected Output: &quot;</span> &lt;&lt; int_expected &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 240</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Output: &quot;</span> &lt;&lt; int_area &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 241</span> assert(int_area == int_expected);</div>
<div class="line"><span class="lineno"> 242</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;TEST PASSED&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 243</span> </div>
<div class="line"><span class="lineno"> 244</span> <span class="comment">// 9th test</span></div>
<div class="line"><span class="lineno"> 245</span> double_radius = 10.0;</div>
<div class="line"><span class="lineno"> 246</span> double_expected = 1256.6370614359172; <span class="comment">// rounded down because the whole</span></div>
<div class="line"><span class="lineno"> 247</span> <span class="comment">// value gets truncated</span></div>
<div class="line"><span class="lineno"> 248</span> double_area = <a class="code hl_function" href="../../dd/d47/namespacemath.html#ab7f29862d30df351c317eedd60a0c656">math::sphere_surface_area</a>(double_radius);</div>
<div class="line"><span class="lineno"> 249</span> </div>
<div class="line"><span class="lineno"> 250</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;SURFACE AREA OF A SPHERE&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 251</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Radius: &quot;</span> &lt;&lt; double_radius &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 252</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Expected Output: &quot;</span> &lt;&lt; double_expected &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 253</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Output: &quot;</span> &lt;&lt; double_area &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 254</span> assert(double_area == double_expected);</div>
<div class="line"><span class="lineno"> 255</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;TEST PASSED&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 256</span> </div>
<div class="line"><span class="lineno"> 257</span> <span class="comment">// 10th test</span></div>
<div class="line"><span class="lineno"> 258</span> double_radius = 4.0;</div>
<div class="line"><span class="lineno"> 259</span> double_height = 7.0;</div>
<div class="line"><span class="lineno"> 260</span> double_expected = 276.46015351590177;</div>
<div class="line"><span class="lineno"> 261</span> double_area = <a class="code hl_function" href="../../dd/d47/namespacemath.html#ac5803413618fcfb922cb32c6db0fc864">math::cylinder_surface_area</a>(double_radius, double_height);</div>
<div class="line"><span class="lineno"> 262</span> </div>
<div class="line"><span class="lineno"> 263</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;SURFACE AREA OF A CYLINDER&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 264</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Radius: &quot;</span> &lt;&lt; double_radius &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 265</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Height: &quot;</span> &lt;&lt; double_height &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 266</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Expected Output: &quot;</span> &lt;&lt; double_expected &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 267</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Output: &quot;</span> &lt;&lt; double_area &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 268</span> assert(double_area == double_expected);</div>
<div class="line"><span class="lineno"> 269</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;TEST PASSED&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 270</span>}</div>
<div class="line"><span class="lineno"> 244</span> <span class="comment">// 8th test</span></div>
<div class="line"><span class="lineno"> 245</span> double_length = 5.5;</div>
<div class="line"><span class="lineno"> 246</span> double_expected = 181.5;</div>
<div class="line"><span class="lineno"> 247</span> double_area = <a class="code hl_function" href="../../dd/d47/namespacemath.html#abc46c784a297fc1d2eb8b33a327fba4c">math::cube_surface_area</a>(double_length);</div>
<div class="line"><span class="lineno"> 248</span> </div>
<div class="line"><span class="lineno"> 249</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;SURFACE AREA OF A CUBE&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 250</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Length: &quot;</span> &lt;&lt; double_length &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 251</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Expected Output: &quot;</span> &lt;&lt; double_expected &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 252</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Output: &quot;</span> &lt;&lt; double_area &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 253</span> assert(double_area == double_expected);</div>
<div class="line"><span class="lineno"> 254</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;TEST PASSED&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 255</span> </div>
<div class="line"><span class="lineno"> 256</span> <span class="comment">// 9th test</span></div>
<div class="line"><span class="lineno"> 257</span> double_radius = 10.0;</div>
<div class="line"><span class="lineno"> 258</span> double_expected = 1256.6370614359172; <span class="comment">// rounded down because the whole</span></div>
<div class="line"><span class="lineno"> 259</span> <span class="comment">// value gets truncated</span></div>
<div class="line"><span class="lineno"> 260</span> double_area = <a class="code hl_function" href="../../dd/d47/namespacemath.html#ab7f29862d30df351c317eedd60a0c656">math::sphere_surface_area</a>(double_radius);</div>
<div class="line"><span class="lineno"> 261</span> </div>
<div class="line"><span class="lineno"> 262</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;SURFACE AREA OF A SPHERE&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 263</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Radius: &quot;</span> &lt;&lt; double_radius &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 264</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Expected Output: &quot;</span> &lt;&lt; double_expected &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 265</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Output: &quot;</span> &lt;&lt; double_area &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 266</span> assert(double_area == double_expected);</div>
<div class="line"><span class="lineno"> 267</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;TEST PASSED&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 268</span> </div>
<div class="line"><span class="lineno"> 269</span> <span class="comment">// 10th test</span></div>
<div class="line"><span class="lineno"> 270</span> double_radius = 4.0;</div>
<div class="line"><span class="lineno"> 271</span> double_height = 7.0;</div>
<div class="line"><span class="lineno"> 272</span> double_expected = 276.46015351590177;</div>
<div class="line"><span class="lineno"> 273</span> double_area = <a class="code hl_function" href="../../dd/d47/namespacemath.html#ac5803413618fcfb922cb32c6db0fc864">math::cylinder_surface_area</a>(double_radius, double_height);</div>
<div class="line"><span class="lineno"> 274</span> </div>
<div class="line"><span class="lineno"> 275</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;SURFACE AREA OF A CYLINDER&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 276</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Radius: &quot;</span> &lt;&lt; double_radius &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 277</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Height: &quot;</span> &lt;&lt; double_height &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 278</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Expected Output: &quot;</span> &lt;&lt; double_expected &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 279</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Output: &quot;</span> &lt;&lt; double_area &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 280</span> assert(double_area == double_expected);</div>
<div class="line"><span class="lineno"> 281</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;TEST PASSED&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 282</span> </div>
<div class="line"><span class="lineno"> 283</span> <span class="comment">// 11th test</span></div>
<div class="line"><span class="lineno"> 284</span> double_radius = 10.0;</div>
<div class="line"><span class="lineno"> 285</span> double_expected = 942.4777960769379;</div>
<div class="line"><span class="lineno"> 286</span> double_area = <a class="code hl_function" href="../../dd/d47/namespacemath.html#a3277e65a8f380e7632791975bfba0efb">math::hemi_sphere_surface_area</a>(double_radius);</div>
<div class="line"><span class="lineno"> 287</span> </div>
<div class="line"><span class="lineno"> 288</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;SURFACE AREA OF A HEMI-SPHERE&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 289</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Input Radius: &quot;</span> &lt;&lt; double_radius &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 290</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Expected Output: &quot;</span> &lt;&lt; double_expected &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 291</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Output: &quot;</span> &lt;&lt; double_area &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 292</span> assert(double_area == double_expected);</div>
<div class="line"><span class="lineno"> 293</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;TEST PASSED&quot;</span> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 294</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 class="ttc" id="aendl_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a></div><div class="ttdeci">T endl(T... args)</div></div>
<div class="ttc" id="anamespacemath_html_a3277e65a8f380e7632791975bfba0efb"><div class="ttname"><a href="../../dd/d47/namespacemath.html#a3277e65a8f380e7632791975bfba0efb">math::hemi_sphere_surface_area</a></div><div class="ttdeci">T hemi_sphere_surface_area(T radius)</div><div class="ttdoc">surface area of a hemi-sphere ( 3 * pi * r^2)</div><div class="ttdef"><b>Definition</b> area.cpp:121</div></div>
<div class="ttc" id="anamespacemath_html_a40e36c67da78d2131408c57ee091ad75"><div class="ttname"><a href="../../dd/d47/namespacemath.html#a40e36c67da78d2131408c57ee091ad75">math::circle_area</a></div><div class="ttdeci">T circle_area(T radius)</div><div class="ttdoc">area of a circle (pi</div><div class="ttdef"><b>Definition</b> area.cpp:63</div></div>
<div class="ttc" id="anamespacemath_html_a5de184925e68658f15415dd53954df4f"><div class="ttname"><a href="../../dd/d47/namespacemath.html#a5de184925e68658f15415dd53954df4f">math::parallelogram_area</a></div><div class="ttdeci">T parallelogram_area(T base, T height)</div><div class="ttdoc">area of a parallelogram (b * h)</div><div class="ttdef"><b>Definition</b> area.cpp:75</div></div>
<div class="ttc" id="anamespacemath_html_a971ce57e368f2f631cf1f4ff3f864049"><div class="ttname"><a href="../../dd/d47/namespacemath.html#a971ce57e368f2f631cf1f4ff3f864049">math::square_area</a></div><div class="ttdeci">T square_area(T length)</div><div class="ttdoc">area of a square (l * l)</div><div class="ttdef"><b>Definition</b> area.cpp:29</div></div>
@@ -397,7 +414,7 @@ Here is the call graph for this function:</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="../../dc/d82/area_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.svg" width="512" height="431"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../dc/d82/area_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.svg" width="542" height="480"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>

View File

@@ -3,6 +3,7 @@ var area_8cpp =
[ "circle_area", "dc/d82/area_8cpp.html#a40e36c67da78d2131408c57ee091ad75", null ],
[ "cube_surface_area", "dc/d82/area_8cpp.html#abc46c784a297fc1d2eb8b33a327fba4c", null ],
[ "cylinder_surface_area", "dc/d82/area_8cpp.html#ac5803413618fcfb922cb32c6db0fc864", null ],
[ "hemi_sphere_surface_area", "dc/d82/area_8cpp.html#a3277e65a8f380e7632791975bfba0efb", null ],
[ "main", "dc/d82/area_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4", null ],
[ "parallelogram_area", "dc/d82/area_8cpp.html#a5de184925e68658f15415dd53954df4f", null ],
[ "rect_area", "dc/d82/area_8cpp.html#ab31d141f7c5b551746b1eee0eb4dedca", null ],

View File

@@ -1,28 +1,30 @@
<map id="test" name="test">
<area shape="rect" id="Node000001" title="Self&#45;test implementations." alt="" coords="5,203,49,228"/>
<area shape="rect" id="Node000002" href="$dd/d47/namespacemath.html#a40e36c67da78d2131408c57ee091ad75" title="area of a circle (pi" alt="" coords="129,5,250,31"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="27,202,32,169,43,126,64,80,78,59,95,40,113,28,116,33,98,44,82,62,68,82,49,127,37,170,32,203"/>
<area shape="rect" id="Node000003" href="$dd/d47/namespacemath.html#abc46c784a297fc1d2eb8b33a327fba4c" title="surface area of a cube ( 6 * (l" alt="" coords="105,55,274,80"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="29,201,51,147,70,116,95,89,100,86,103,90,98,94,74,119,55,150,34,203"/>
<area shape="rect" id="Node000004" href="$dd/d47/namespacemath.html#ac5803413618fcfb922cb32c6db0fc864" title="surface area of a cylinder (2 * pi * r * h + 2 * pi * r^2)" alt="" coords="97,104,282,130"/>
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="35,201,59,169,95,139,104,134,107,138,98,143,63,173,39,204"/>
<area shape="rect" id="Node000007" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="154,153,225,179"/>
<area shape="poly" id="edge7_Node000001_Node000007" title=" " alt="" coords="48,205,96,188,138,176,139,181,97,193,50,210"/>
<area shape="rect" id="Node000008" href="$dd/d47/namespacemath.html#a5de184925e68658f15415dd53954df4f" title="area of a parallelogram (b * h)" alt="" coords="106,203,273,228"/>
<area shape="poly" id="edge8_Node000001_Node000008" title=" " alt="" coords="49,213,90,213,90,218,49,218"/>
<area shape="rect" id="Node000009" href="$dd/d47/namespacemath.html#ab31d141f7c5b551746b1eee0eb4dedca" title="area of a rectangle (l * w)" alt="" coords="133,252,246,278"/>
<area shape="poly" id="edge10_Node000001_Node000009" title=" " alt="" coords="50,221,97,238,120,245,118,250,96,243,48,226"/>
<area shape="rect" id="Node000010" href="$dd/d47/namespacemath.html#ab7f29862d30df351c317eedd60a0c656" title="surface area of a sphere ( 4 * pi * r^2)" alt="" coords="100,301,279,327"/>
<area shape="poly" id="edge11_Node000001_Node000010" title=" " alt="" coords="39,227,63,258,98,288,107,293,104,297,95,292,59,262,35,230"/>
<area shape="rect" id="Node000011" href="$dd/d47/namespacemath.html#a971ce57e368f2f631cf1f4ff3f864049" title="area of a square (l * l)" alt="" coords="125,351,254,376"/>
<area shape="poly" id="edge12_Node000001_Node000011" title=" " alt="" coords="34,228,55,281,74,312,98,337,112,346,109,350,95,342,70,315,51,284,29,230"/>
<area shape="rect" id="Node000012" href="$dd/d47/namespacemath.html#ab3b920cc56442abd92279ba23b50f4dc" title="area of a triangle (b * h / 2)" alt="" coords="123,400,256,426"/>
<area shape="poly" id="edge13_Node000001_Node000012" title=" " alt="" coords="32,228,37,261,49,304,68,349,82,369,98,387,110,395,107,400,95,391,78,372,64,351,43,305,32,262,27,229"/>
<area shape="rect" id="Node000005" href="$d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83" title=" " alt="" coords="330,203,386,228"/>
<area shape="poly" id="edge4_Node000004_Node000005" title=" " alt="" coords="259,128,283,139,315,162,340,189,336,193,311,166,281,143,257,133"/>
<area shape="poly" id="edge5_Node000005_Node000005" title=" " alt="" coords="338,203,335,194,337,185,345,178,358,176,372,179,380,186,376,189,370,184,358,181,347,183,341,188,340,194,343,201"/>
<area shape="rect" id="Node000006" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/max.html#" title=" " alt="" coords="434,203,507,228"/>
<area shape="poly" id="edge6_Node000005_Node000006" title=" " alt="" coords="387,213,418,213,418,218,387,218"/>
<area shape="poly" id="edge9_Node000008_Node000005" title=" " alt="" coords="273,213,315,213,315,218,273,218"/>
<area shape="poly" id="edge14_Node000012_Node000005" title=" " alt="" coords="254,401,280,387,308,354,329,315,342,276,350,243,355,244,347,278,333,317,313,357,284,391,257,406"/>
<area shape="rect" id="Node000001" title="Self&#45;test implementations." alt="" coords="5,228,49,254"/>
<area shape="rect" id="Node000002" href="$dd/d47/namespacemath.html#a40e36c67da78d2131408c57ee091ad75" title="area of a circle (pi" alt="" coords="143,5,264,31"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="26,228,29,191,40,140,60,86,75,62,95,40,110,30,127,22,129,27,113,34,98,44,80,65,65,89,45,141,35,191,31,228"/>
<area shape="rect" id="Node000003" href="$dd/d47/namespacemath.html#abc46c784a297fc1d2eb8b33a327fba4c" title="surface area of a cube ( 6 * (l" alt="" coords="120,55,288,80"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="28,227,34,198,46,161,66,122,95,90,104,83,107,87,98,93,71,125,51,163,39,200,33,228"/>
<area shape="rect" id="Node000004" href="$dd/d47/namespacemath.html#ac5803413618fcfb922cb32c6db0fc864" title="surface area of a cylinder (2 * pi * r * h + 2 * pi * r^2)" alt="" coords="111,104,296,130"/>
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="31,226,54,183,73,159,95,139,102,134,105,139,98,143,76,162,59,186,36,229"/>
<area shape="rect" id="Node000007" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="168,153,240,179"/>
<area shape="poly" id="edge7_Node000001_Node000007" title=" " alt="" coords="41,226,65,206,96,188,152,170,154,175,98,193,68,210,44,230"/>
<area shape="rect" id="Node000008" href="$dd/d47/namespacemath.html#a3277e65a8f380e7632791975bfba0efb" title="surface area of a hemi&#45;sphere ( 3 * pi * r^2)" alt="" coords="97,203,311,228"/>
<area shape="poly" id="edge8_Node000001_Node000008" title=" " alt="" coords="49,235,95,229,95,234,49,240"/>
<area shape="rect" id="Node000009" href="$dd/d47/namespacemath.html#a5de184925e68658f15415dd53954df4f" title="area of a parallelogram (b * h)" alt="" coords="120,252,288,278"/>
<area shape="poly" id="edge9_Node000001_Node000009" title=" " alt="" coords="49,241,105,249,105,254,49,246"/>
<area shape="rect" id="Node000010" href="$dd/d47/namespacemath.html#ab31d141f7c5b551746b1eee0eb4dedca" title="area of a rectangle (l * w)" alt="" coords="148,301,260,327"/>
<area shape="poly" id="edge11_Node000001_Node000010" title=" " alt="" coords="45,252,69,271,98,288,133,300,132,305,96,293,66,275,41,256"/>
<area shape="rect" id="Node000011" href="$dd/d47/namespacemath.html#ab7f29862d30df351c317eedd60a0c656" title="surface area of a sphere ( 4 * pi * r^2)" alt="" coords="114,351,294,376"/>
<area shape="poly" id="edge12_Node000001_Node000011" title=" " alt="" coords="36,253,59,295,77,318,98,337,105,341,102,346,95,342,73,322,54,298,31,255"/>
<area shape="rect" id="Node000012" href="$dd/d47/namespacemath.html#a971ce57e368f2f631cf1f4ff3f864049" title="area of a square (l * l)" alt="" coords="139,400,268,426"/>
<area shape="poly" id="edge13_Node000001_Node000012" title=" " alt="" coords="33,254,40,282,52,318,71,355,98,387,126,402,123,406,95,391,66,358,47,320,34,283,28,255"/>
<area shape="rect" id="Node000013" href="$dd/d47/namespacemath.html#ab3b920cc56442abd92279ba23b50f4dc" title="area of a triangle (b * h / 2)" alt="" coords="138,449,270,475"/>
<area shape="poly" id="edge14_Node000001_Node000013" title=" " alt="" coords="31,254,35,291,45,340,65,392,80,416,98,436,124,451,121,456,95,440,76,419,60,395,40,342,30,291,26,255"/>
<area shape="rect" id="Node000005" href="$d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83" title=" " alt="" coords="359,252,415,278"/>
<area shape="poly" id="edge4_Node000004_Node000005" title=" " alt="" coords="293,128,313,139,336,160,355,186,379,236,374,239,350,189,332,164,309,143,291,133"/>
<area shape="poly" id="edge5_Node000005_Node000005" title=" " alt="" coords="367,253,364,243,366,234,374,228,387,225,401,228,409,235,405,239,399,233,387,231,376,233,370,237,369,243,372,251"/>
<area shape="rect" id="Node000006" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/max.html#" title=" " alt="" coords="463,252,536,278"/>
<area shape="poly" id="edge6_Node000005_Node000006" title=" " alt="" coords="416,262,447,262,447,268,416,268"/>
<area shape="poly" id="edge10_Node000009_Node000005" title=" " alt="" coords="288,262,344,262,344,268,288,268"/>
<area shape="poly" id="edge15_Node000013_Node000005" title=" " alt="" coords="270,455,291,447,309,436,338,404,358,365,371,326,379,293,384,294,376,328,363,367,342,407,313,440,293,452,271,460"/>
</map>

View File

@@ -1 +1 @@
6562ff2e4de0d19ae4123b3e9b23591f
1e1de9672f73bb85eb30c13febc5363d

View File

@@ -4,8 +4,8 @@
<!-- Generated by graphviz version 12.1.1 (20240910.0053)
-->
<!-- Title: test Pages: 1 -->
<svg width="384pt" height="323pt"
viewBox="0.00 0.00 384.00 323.25" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg width="406pt" height="360pt"
viewBox="0.00 0.00 405.75 360.25" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
@@ -17,14 +17,14 @@
]]></style>
<script type="application/ecmascript" xlink:href="../../svg.min.js"/>
<svg id="graph" class="graph">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 319.25)">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 356.25)">
<title>test</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Self&#45;test implementations.">
<polygon fill="#999999" stroke="#666666" points="32.5,-167.25 0,-167.25 0,-148 32.5,-148 32.5,-167.25"/>
<text text-anchor="middle" x="16.25" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
<polygon fill="#999999" stroke="#666666" points="32.5,-185.25 0,-185.25 0,-166 32.5,-166 32.5,-185.25"/>
<text text-anchor="middle" x="16.25" y="-171.75" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
</a>
</g>
</g>
@@ -32,8 +32,8 @@
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a xlink:href="../../dd/d47/namespacemath.html#a40e36c67da78d2131408c57ee091ad75" target="_top" xlink:title="area of a circle (pi">
<polygon fill="white" stroke="#666666" points="183.5,-315.25 92.5,-315.25 92.5,-296 183.5,-296 183.5,-315.25"/>
<text text-anchor="middle" x="138" y="-301.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::circle_area</text>
<polygon fill="white" stroke="#666666" points="194.38,-352.25 103.38,-352.25 103.38,-333 194.38,-333 194.38,-352.25"/>
<text text-anchor="middle" x="148.88" y="-338.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::circle_area</text>
</a>
</g>
</g>
@@ -41,8 +41,8 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M18.15,-167.47C20.92,-191.72 31.49,-254.76 68.5,-287.62 72.49,-291.16 77.08,-294.02 81.98,-296.32"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="80.32,-299.44 90.91,-299.77 82.84,-292.91 80.32,-299.44"/>
<path fill="none" stroke="#63b8ff" d="M17.51,-185.37C18.78,-212.01 26.15,-286.63 68.5,-324.62 75.16,-330.6 83.37,-334.72 91.97,-337.53"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="90.95,-340.88 101.51,-340.06 92.74,-334.12 90.95,-340.88"/>
</a>
</g>
</g>
@@ -50,8 +50,8 @@
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a xlink:href="../../dd/d47/namespacemath.html#abc46c784a297fc1d2eb8b33a327fba4c" target="_top" xlink:title="surface area of a cube ( 6 * (l">
<polygon fill="white" stroke="#666666" points="201.12,-278.25 74.88,-278.25 74.88,-259 201.12,-259 201.12,-278.25"/>
<text text-anchor="middle" x="138" y="-264.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::cube_surface_area</text>
<polygon fill="white" stroke="#666666" points="212,-315.25 85.75,-315.25 85.75,-296 212,-296 212,-315.25"/>
<text text-anchor="middle" x="148.88" y="-301.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::cube_surface_area</text>
</a>
</g>
</g>
@@ -59,8 +59,8 @@
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M19.85,-167.48C25.4,-186.57 40.29,-228.64 68.5,-250.62 69.65,-251.52 70.83,-252.37 72.05,-253.17"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="70.18,-256.14 80.64,-257.85 73.53,-249.99 70.18,-256.14"/>
<path fill="none" stroke="#63b8ff" d="M18.77,-185.49C22.7,-207.47 35.31,-260.66 68.5,-287.62 70.63,-289.35 72.89,-290.92 75.25,-292.35"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="73.59,-295.43 84.1,-296.76 76.71,-289.17 73.59,-295.43"/>
</a>
</g>
</g>
@@ -68,8 +68,8 @@
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_Node000004"><a xlink:href="../../dd/d47/namespacemath.html#ac5803413618fcfb922cb32c6db0fc864" target="_top" xlink:title="surface area of a cylinder (2 * pi * r * h + 2 * pi * r^2)">
<polygon fill="white" stroke="#666666" points="207.5,-241.25 68.5,-241.25 68.5,-222 207.5,-222 207.5,-241.25"/>
<text text-anchor="middle" x="138" y="-227.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::cylinder_surface_area</text>
<polygon fill="white" stroke="#666666" points="218.38,-278.25 79.38,-278.25 79.38,-259 218.38,-259 218.38,-278.25"/>
<text text-anchor="middle" x="148.88" y="-264.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::cylinder_surface_area</text>
</a>
</g>
</g>
@@ -77,8 +77,8 @@
<g id="edge3_Node000001_Node000004" class="edge">
<title>Node1&#45;&gt;Node4</title>
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M23.61,-167.53C32.25,-180.16 48.87,-201.77 68.5,-213.62 70.64,-214.92 72.87,-216.12 75.16,-217.23"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="73.57,-220.36 84.15,-221 76.28,-213.9 73.57,-220.36"/>
<path fill="none" stroke="#63b8ff" d="M21.21,-185.68C28.18,-202.01 44.24,-234.13 68.5,-250.62 70.11,-251.72 71.77,-252.74 73.48,-253.71"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="71.79,-256.78 82.32,-257.94 74.81,-250.47 71.79,-256.78"/>
</a>
</g>
</g>
@@ -86,8 +86,8 @@
<g id="Node000007" class="node">
<title>Node7</title>
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="164.75,-204.25 111.25,-204.25 111.25,-185 164.75,-185 164.75,-204.25"/>
<text text-anchor="middle" x="138" y="-190.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
<polygon fill="white" stroke="#666666" points="175.62,-241.25 122.12,-241.25 122.12,-222 175.62,-222 175.62,-241.25"/>
<text text-anchor="middle" x="148.88" y="-227.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>
</g>
</g>
@@ -95,17 +95,17 @@
<g id="edge7_Node000001_Node000007" class="edge">
<title>Node1&#45;&gt;Node7</title>
<g id="a_edge7_Node000001_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M32.81,-163.85C42.9,-167.77 56.37,-172.79 68.5,-176.62 78.55,-179.8 89.55,-182.87 99.74,-185.54"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="98.78,-188.91 109.34,-188.01 100.52,-182.13 98.78,-188.91"/>
<path fill="none" stroke="#63b8ff" d="M27.79,-185.53C37.6,-194.2 53,-206.51 68.5,-213.62 81.74,-219.71 97.2,-223.81 110.93,-226.54"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="110.03,-229.93 120.49,-228.26 111.26,-223.04 110.03,-229.93"/>
</a>
</g>
</g>
<!-- Node8 -->
<g id="Node000008" class="node">
<title>Node8</title>
<g id="a_Node000008"><a xlink:href="../../dd/d47/namespacemath.html#a5de184925e68658f15415dd53954df4f" target="_top" xlink:title="area of a parallelogram (b * h)">
<polygon fill="white" stroke="#666666" points="200.75,-167.25 75.25,-167.25 75.25,-148 200.75,-148 200.75,-167.25"/>
<text text-anchor="middle" x="138" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::parallelogram_area</text>
<g id="a_Node000008"><a xlink:href="../../dd/d47/namespacemath.html#a3277e65a8f380e7632791975bfba0efb" target="_top" xlink:title="surface area of a hemi&#45;sphere ( 3 * pi * r^2)">
<polygon fill="white" stroke="#666666" points="229.25,-204.25 68.5,-204.25 68.5,-185 229.25,-185 229.25,-204.25"/>
<text text-anchor="middle" x="148.88" y="-190.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::hemi_sphere_surface_area</text>
</a>
</g>
</g>
@@ -113,35 +113,35 @@
<g id="edge8_Node000001_Node000008" class="edge">
<title>Node1&#45;&gt;Node8</title>
<g id="a_edge8_Node000001_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M32.91,-157.62C41.22,-157.62 52.1,-157.62 63.69,-157.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="63.44,-161.13 73.44,-157.63 63.44,-154.13 63.44,-161.13"/>
<path fill="none" stroke="#63b8ff" d="M32.75,-177.88C41.83,-179.2 54.07,-180.98 67.19,-182.89"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="66.48,-186.32 76.88,-184.3 67.48,-179.39 66.48,-186.32"/>
</a>
</g>
</g>
<!-- Node9 -->
<g id="Node000009" class="node">
<title>Node9</title>
<g id="a_Node000009"><a xlink:href="../../dd/d47/namespacemath.html#ab31d141f7c5b551746b1eee0eb4dedca" target="_top" xlink:title="area of a rectangle (l * w)">
<polygon fill="white" stroke="#666666" points="180.12,-130.25 95.88,-130.25 95.88,-111 180.12,-111 180.12,-130.25"/>
<text text-anchor="middle" x="138" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::rect_area</text>
<g id="a_Node000009"><a xlink:href="../../dd/d47/namespacemath.html#a5de184925e68658f15415dd53954df4f" target="_top" xlink:title="area of a parallelogram (b * h)">
<polygon fill="white" stroke="#666666" points="211.62,-167.25 86.12,-167.25 86.12,-148 211.62,-148 211.62,-167.25"/>
<text text-anchor="middle" x="148.88" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::parallelogram_area</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node9 -->
<g id="edge10_Node000001_Node000009" class="edge">
<g id="edge9_Node000001_Node000009" class="edge">
<title>Node1&#45;&gt;Node9</title>
<g id="a_edge10_Node000001_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M32.81,-151.4C42.9,-147.48 56.37,-142.46 68.5,-138.62 73.86,-136.93 79.49,-135.27 85.12,-133.68"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="85.7,-137.15 94.42,-131.13 83.85,-130.4 85.7,-137.15"/>
<g id="a_edge9_Node000001_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M32.75,-173.49C43.56,-172 58.87,-169.89 74.8,-167.69"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="74.95,-171.21 84.38,-166.37 74,-164.27 74.95,-171.21"/>
</a>
</g>
</g>
<!-- Node10 -->
<g id="Node000010" class="node">
<title>Node10</title>
<g id="a_Node000010"><a xlink:href="../../dd/d47/namespacemath.html#ab7f29862d30df351c317eedd60a0c656" target="_top" xlink:title="surface area of a sphere ( 4 * pi * r^2)">
<polygon fill="white" stroke="#666666" points="205.25,-93.25 70.75,-93.25 70.75,-74 205.25,-74 205.25,-93.25"/>
<text text-anchor="middle" x="138" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::sphere_surface_area</text>
<g id="a_Node000010"><a xlink:href="../../dd/d47/namespacemath.html#ab31d141f7c5b551746b1eee0eb4dedca" target="_top" xlink:title="area of a rectangle (l * w)">
<polygon fill="white" stroke="#666666" points="191,-130.25 106.75,-130.25 106.75,-111 191,-111 191,-130.25"/>
<text text-anchor="middle" x="148.88" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::rect_area</text>
</a>
</g>
</g>
@@ -149,17 +149,17 @@
<g id="edge11_Node000001_Node000010" class="edge">
<title>Node1&#45;&gt;Node10</title>
<g id="a_edge11_Node000001_Node000010"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M23.61,-147.72C32.25,-135.09 48.87,-113.48 68.5,-101.62 70.64,-100.33 72.87,-99.13 75.16,-98.02"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="76.28,-101.35 84.15,-94.25 73.57,-94.89 76.28,-101.35"/>
<path fill="none" stroke="#63b8ff" d="M28.23,-165.67C38.08,-157.25 53.3,-145.49 68.5,-138.62 76.92,-134.82 86.22,-131.79 95.4,-129.38"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="96.09,-132.81 105,-127.09 94.46,-126 96.09,-132.81"/>
</a>
</g>
</g>
<!-- Node11 -->
<g id="Node000011" class="node">
<title>Node11</title>
<g id="a_Node000011"><a xlink:href="../../dd/d47/namespacemath.html#a971ce57e368f2f631cf1f4ff3f864049" target="_top" xlink:title="area of a square (l * l)">
<polygon fill="white" stroke="#666666" points="186.5,-56.25 89.5,-56.25 89.5,-37 186.5,-37 186.5,-56.25"/>
<text text-anchor="middle" x="138" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::square_area</text>
<g id="a_Node000011"><a xlink:href="../../dd/d47/namespacemath.html#ab7f29862d30df351c317eedd60a0c656" target="_top" xlink:title="surface area of a sphere ( 4 * pi * r^2)">
<polygon fill="white" stroke="#666666" points="216.12,-93.25 81.62,-93.25 81.62,-74 216.12,-74 216.12,-93.25"/>
<text text-anchor="middle" x="148.88" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::sphere_surface_area</text>
</a>
</g>
</g>
@@ -167,17 +167,17 @@
<g id="edge12_Node000001_Node000011" class="edge">
<title>Node1&#45;&gt;Node11</title>
<g id="a_edge12_Node000001_Node000011"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M19.85,-147.77C25.4,-128.68 40.29,-86.61 68.5,-64.62 71.65,-62.17 75.1,-60.05 78.73,-58.21"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="80.06,-61.45 87.93,-54.36 77.35,-55 80.06,-61.45"/>
<path fill="none" stroke="#63b8ff" d="M21.25,-165.7C28.27,-149.59 44.41,-117.89 68.5,-101.62 70.11,-100.54 71.78,-99.51 73.49,-98.55"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="74.82,-101.8 82.34,-94.34 71.81,-95.48 74.82,-101.8"/>
</a>
</g>
</g>
<!-- Node12 -->
<g id="Node000012" class="node">
<title>Node12</title>
<g id="a_Node000012"><a xlink:href="../../dd/d47/namespacemath.html#ab3b920cc56442abd92279ba23b50f4dc" target="_top" xlink:title="area of a triangle (b * h / 2)">
<polygon fill="white" stroke="#666666" points="187.62,-19.25 88.38,-19.25 88.38,0 187.62,0 187.62,-19.25"/>
<text text-anchor="middle" x="138" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::triangle_area</text>
<g id="a_Node000012"><a xlink:href="../../dd/d47/namespacemath.html#a971ce57e368f2f631cf1f4ff3f864049" target="_top" xlink:title="area of a square (l * l)">
<polygon fill="white" stroke="#666666" points="197.38,-56.25 100.38,-56.25 100.38,-37 197.38,-37 197.38,-56.25"/>
<text text-anchor="middle" x="148.88" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::square_area</text>
</a>
</g>
</g>
@@ -185,8 +185,26 @@
<g id="edge13_Node000001_Node000012" class="edge">
<title>Node1&#45;&gt;Node12</title>
<g id="a_edge13_Node000001_Node000012"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M18.15,-147.78C20.92,-123.53 31.49,-60.49 68.5,-27.62 71.3,-25.13 74.41,-22.98 77.71,-21.12"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="79.07,-24.35 86.7,-17.01 76.15,-17.99 79.07,-24.35"/>
<path fill="none" stroke="#63b8ff" d="M18.86,-165.52C22.91,-143.53 35.67,-91.21 68.5,-64.62 74.62,-59.67 81.84,-56.02 89.39,-53.34"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="90.13,-56.77 98.74,-50.59 88.16,-50.05 90.13,-56.77"/>
</a>
</g>
</g>
<!-- Node13 -->
<g id="Node000013" class="node">
<title>Node13</title>
<g id="a_Node000013"><a xlink:href="../../dd/d47/namespacemath.html#ab3b920cc56442abd92279ba23b50f4dc" target="_top" xlink:title="area of a triangle (b * h / 2)">
<polygon fill="white" stroke="#666666" points="198.5,-19.25 99.25,-19.25 99.25,0 198.5,0 198.5,-19.25"/>
<text text-anchor="middle" x="148.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::triangle_area</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node13 -->
<g id="edge14_Node000001_Node000013" class="edge">
<title>Node1&#45;&gt;Node13</title>
<g id="a_edge14_Node000001_Node000013"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M17.56,-165.56C18.94,-138.76 26.57,-65.17 68.5,-27.62 74.09,-22.62 80.78,-18.91 87.87,-16.19"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="88.91,-19.53 97.41,-13.21 86.82,-12.85 88.91,-19.53"/>
</a>
</g>
</g>
@@ -194,8 +212,8 @@
<g id="Node000005" class="node">
<title>Node5</title>
<g id="a_Node000005"><a xlink:href="../../d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83" target="_top" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="285.75,-167.25 243.5,-167.25 243.5,-148 285.75,-148 285.75,-167.25"/>
<text text-anchor="middle" x="264.62" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">height</text>
<polygon fill="white" stroke="#666666" points="307.5,-167.25 265.25,-167.25 265.25,-148 307.5,-148 307.5,-167.25"/>
<text text-anchor="middle" x="286.38" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">height</text>
</a>
</g>
</g>
@@ -203,8 +221,8 @@
<g id="edge4_Node000004_Node000005" class="edge">
<title>Node4&#45;&gt;Node5</title>
<g id="a_edge4_Node000004_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M189.6,-221.61C195.83,-219.44 201.95,-216.81 207.5,-213.62 224.06,-204.13 239.14,-188.49 249.49,-176.15"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="251.95,-178.68 255.49,-168.69 246.49,-174.3 251.95,-178.68"/>
<path fill="none" stroke="#63b8ff" d="M215.05,-258.54C220.09,-256.38 224.9,-253.77 229.25,-250.62 254.28,-232.55 270.24,-199.57 278.51,-178.13"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="281.7,-179.6 281.8,-169 275.11,-177.22 281.7,-179.6"/>
</a>
</g>
</g>
@@ -212,8 +230,8 @@
<g id="edge5_Node000005_Node000005" class="edge">
<title>Node5&#45;&gt;Node5</title>
<g id="a_edge5_Node000005_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M251.44,-167.54C245.42,-176.15 249.82,-185.25 264.62,-185.25 272.72,-185.25 277.71,-182.53 279.58,-178.65"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="283.08,-178.36 278.05,-169.03 276.16,-179.46 283.08,-178.36"/>
<path fill="none" stroke="#63b8ff" d="M273.19,-167.54C267.17,-176.15 271.57,-185.25 286.38,-185.25 294.47,-185.25 299.46,-182.53 301.33,-178.65"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="304.83,-178.36 299.8,-169.03 297.91,-179.46 304.83,-178.36"/>
</a>
</g>
</g>
@@ -221,8 +239,8 @@
<g id="Node000006" class="node">
<title>Node6</title>
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="376,-167.25 321.75,-167.25 321.75,-148 376,-148 376,-167.25"/>
<text text-anchor="middle" x="348.88" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::max</text>
<polygon fill="white" stroke="#666666" points="397.75,-167.25 343.5,-167.25 343.5,-148 397.75,-148 397.75,-167.25"/>
<text text-anchor="middle" x="370.62" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::max</text>
</a>
</g>
</g>
@@ -230,26 +248,26 @@
<g id="edge6_Node000005_Node000006" class="edge">
<title>Node5&#45;&gt;Node6</title>
<g id="a_edge6_Node000005_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M285.96,-157.62C293.2,-157.62 301.61,-157.62 309.85,-157.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="309.74,-161.13 319.74,-157.63 309.74,-154.13 309.74,-161.13"/>
<path fill="none" stroke="#63b8ff" d="M307.71,-157.62C314.95,-157.62 323.36,-157.62 331.6,-157.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="331.49,-161.13 341.49,-157.63 331.49,-154.13 331.49,-161.13"/>
</a>
</g>
</g>
<!-- Node8&#45;&gt;Node5 -->
<g id="edge9_Node000008_Node000005" class="edge">
<title>Node8&#45;&gt;Node5</title>
<g id="a_edge9_Node000008_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M200.95,-157.62C211.69,-157.62 222.44,-157.62 231.93,-157.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="231.67,-161.13 241.67,-157.63 231.67,-154.13 231.67,-161.13"/>
<!-- Node9&#45;&gt;Node5 -->
<g id="edge10_Node000009_Node000005" class="edge">
<title>Node9&#45;&gt;Node5</title>
<g id="a_edge10_Node000009_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M212.07,-157.62C226.52,-157.62 241.3,-157.62 253.78,-157.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="253.43,-161.13 263.43,-157.63 253.43,-154.13 253.43,-161.13"/>
</a>
</g>
</g>
<!-- Node12&#45;&gt;Node5 -->
<g id="edge14_Node000012_Node000005" class="edge">
<title>Node12&#45;&gt;Node5</title>
<g id="a_edge14_Node000012_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M187.79,-16.53C194.95,-19.15 201.81,-22.74 207.5,-27.62 240.63,-56.1 254.81,-107.69 260.38,-136.57"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="256.91,-137.01 262.07,-146.27 263.8,-135.82 256.91,-137.01"/>
<!-- Node13&#45;&gt;Node5 -->
<g id="edge15_Node000013_Node000005" class="edge">
<title>Node13&#45;&gt;Node5</title>
<g id="a_edge15_Node000013_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M198.92,-13.31C209.82,-16.05 220.66,-20.49 229.25,-27.62 262.85,-55.54 276.85,-107.34 282.27,-136.41"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="278.8,-136.9 283.89,-146.19 285.7,-135.75 278.8,-136.9"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -4,16 +4,16 @@
<!-- Generated by graphviz version 12.1.1 (20240910.0053)
-->
<!-- Title: test Pages: 1 -->
<svg width="384pt" height="323pt"
viewBox="0.00 0.00 384.00 323.25" 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 319.25)">
<svg width="406pt" height="360pt"
viewBox="0.00 0.00 405.75 360.25" 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 356.25)">
<title>test</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Self&#45;test implementations.">
<polygon fill="#999999" stroke="#666666" points="32.5,-167.25 0,-167.25 0,-148 32.5,-148 32.5,-167.25"/>
<text text-anchor="middle" x="16.25" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
<polygon fill="#999999" stroke="#666666" points="32.5,-185.25 0,-185.25 0,-166 32.5,-166 32.5,-185.25"/>
<text text-anchor="middle" x="16.25" y="-171.75" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
</a>
</g>
</g>
@@ -21,8 +21,8 @@
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a xlink:href="../../dd/d47/namespacemath.html#a40e36c67da78d2131408c57ee091ad75" target="_top" xlink:title="area of a circle (pi">
<polygon fill="white" stroke="#666666" points="183.5,-315.25 92.5,-315.25 92.5,-296 183.5,-296 183.5,-315.25"/>
<text text-anchor="middle" x="138" y="-301.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::circle_area</text>
<polygon fill="white" stroke="#666666" points="194.38,-352.25 103.38,-352.25 103.38,-333 194.38,-333 194.38,-352.25"/>
<text text-anchor="middle" x="148.88" y="-338.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::circle_area</text>
</a>
</g>
</g>
@@ -30,8 +30,8 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M18.15,-167.47C20.92,-191.72 31.49,-254.76 68.5,-287.62 72.49,-291.16 77.08,-294.02 81.98,-296.32"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="80.32,-299.44 90.91,-299.77 82.84,-292.91 80.32,-299.44"/>
<path fill="none" stroke="#63b8ff" d="M17.51,-185.37C18.78,-212.01 26.15,-286.63 68.5,-324.62 75.16,-330.6 83.37,-334.72 91.97,-337.53"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="90.95,-340.88 101.51,-340.06 92.74,-334.12 90.95,-340.88"/>
</a>
</g>
</g>
@@ -39,8 +39,8 @@
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a xlink:href="../../dd/d47/namespacemath.html#abc46c784a297fc1d2eb8b33a327fba4c" target="_top" xlink:title="surface area of a cube ( 6 * (l">
<polygon fill="white" stroke="#666666" points="201.12,-278.25 74.88,-278.25 74.88,-259 201.12,-259 201.12,-278.25"/>
<text text-anchor="middle" x="138" y="-264.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::cube_surface_area</text>
<polygon fill="white" stroke="#666666" points="212,-315.25 85.75,-315.25 85.75,-296 212,-296 212,-315.25"/>
<text text-anchor="middle" x="148.88" y="-301.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::cube_surface_area</text>
</a>
</g>
</g>
@@ -48,8 +48,8 @@
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M19.85,-167.48C25.4,-186.57 40.29,-228.64 68.5,-250.62 69.65,-251.52 70.83,-252.37 72.05,-253.17"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="70.18,-256.14 80.64,-257.85 73.53,-249.99 70.18,-256.14"/>
<path fill="none" stroke="#63b8ff" d="M18.77,-185.49C22.7,-207.47 35.31,-260.66 68.5,-287.62 70.63,-289.35 72.89,-290.92 75.25,-292.35"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="73.59,-295.43 84.1,-296.76 76.71,-289.17 73.59,-295.43"/>
</a>
</g>
</g>
@@ -57,8 +57,8 @@
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_Node000004"><a xlink:href="../../dd/d47/namespacemath.html#ac5803413618fcfb922cb32c6db0fc864" target="_top" xlink:title="surface area of a cylinder (2 * pi * r * h + 2 * pi * r^2)">
<polygon fill="white" stroke="#666666" points="207.5,-241.25 68.5,-241.25 68.5,-222 207.5,-222 207.5,-241.25"/>
<text text-anchor="middle" x="138" y="-227.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::cylinder_surface_area</text>
<polygon fill="white" stroke="#666666" points="218.38,-278.25 79.38,-278.25 79.38,-259 218.38,-259 218.38,-278.25"/>
<text text-anchor="middle" x="148.88" y="-264.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::cylinder_surface_area</text>
</a>
</g>
</g>
@@ -66,8 +66,8 @@
<g id="edge3_Node000001_Node000004" class="edge">
<title>Node1&#45;&gt;Node4</title>
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M23.61,-167.53C32.25,-180.16 48.87,-201.77 68.5,-213.62 70.64,-214.92 72.87,-216.12 75.16,-217.23"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="73.57,-220.36 84.15,-221 76.28,-213.9 73.57,-220.36"/>
<path fill="none" stroke="#63b8ff" d="M21.21,-185.68C28.18,-202.01 44.24,-234.13 68.5,-250.62 70.11,-251.72 71.77,-252.74 73.48,-253.71"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="71.79,-256.78 82.32,-257.94 74.81,-250.47 71.79,-256.78"/>
</a>
</g>
</g>
@@ -75,8 +75,8 @@
<g id="Node000007" class="node">
<title>Node7</title>
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="164.75,-204.25 111.25,-204.25 111.25,-185 164.75,-185 164.75,-204.25"/>
<text text-anchor="middle" x="138" y="-190.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
<polygon fill="white" stroke="#666666" points="175.62,-241.25 122.12,-241.25 122.12,-222 175.62,-222 175.62,-241.25"/>
<text text-anchor="middle" x="148.88" y="-227.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>
</g>
</g>
@@ -84,17 +84,17 @@
<g id="edge7_Node000001_Node000007" class="edge">
<title>Node1&#45;&gt;Node7</title>
<g id="a_edge7_Node000001_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M32.81,-163.85C42.9,-167.77 56.37,-172.79 68.5,-176.62 78.55,-179.8 89.55,-182.87 99.74,-185.54"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="98.78,-188.91 109.34,-188.01 100.52,-182.13 98.78,-188.91"/>
<path fill="none" stroke="#63b8ff" d="M27.79,-185.53C37.6,-194.2 53,-206.51 68.5,-213.62 81.74,-219.71 97.2,-223.81 110.93,-226.54"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="110.03,-229.93 120.49,-228.26 111.26,-223.04 110.03,-229.93"/>
</a>
</g>
</g>
<!-- Node8 -->
<g id="Node000008" class="node">
<title>Node8</title>
<g id="a_Node000008"><a xlink:href="../../dd/d47/namespacemath.html#a5de184925e68658f15415dd53954df4f" target="_top" xlink:title="area of a parallelogram (b * h)">
<polygon fill="white" stroke="#666666" points="200.75,-167.25 75.25,-167.25 75.25,-148 200.75,-148 200.75,-167.25"/>
<text text-anchor="middle" x="138" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::parallelogram_area</text>
<g id="a_Node000008"><a xlink:href="../../dd/d47/namespacemath.html#a3277e65a8f380e7632791975bfba0efb" target="_top" xlink:title="surface area of a hemi&#45;sphere ( 3 * pi * r^2)">
<polygon fill="white" stroke="#666666" points="229.25,-204.25 68.5,-204.25 68.5,-185 229.25,-185 229.25,-204.25"/>
<text text-anchor="middle" x="148.88" y="-190.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::hemi_sphere_surface_area</text>
</a>
</g>
</g>
@@ -102,35 +102,35 @@
<g id="edge8_Node000001_Node000008" class="edge">
<title>Node1&#45;&gt;Node8</title>
<g id="a_edge8_Node000001_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M32.91,-157.62C41.22,-157.62 52.1,-157.62 63.69,-157.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="63.44,-161.13 73.44,-157.63 63.44,-154.13 63.44,-161.13"/>
<path fill="none" stroke="#63b8ff" d="M32.75,-177.88C41.83,-179.2 54.07,-180.98 67.19,-182.89"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="66.48,-186.32 76.88,-184.3 67.48,-179.39 66.48,-186.32"/>
</a>
</g>
</g>
<!-- Node9 -->
<g id="Node000009" class="node">
<title>Node9</title>
<g id="a_Node000009"><a xlink:href="../../dd/d47/namespacemath.html#ab31d141f7c5b551746b1eee0eb4dedca" target="_top" xlink:title="area of a rectangle (l * w)">
<polygon fill="white" stroke="#666666" points="180.12,-130.25 95.88,-130.25 95.88,-111 180.12,-111 180.12,-130.25"/>
<text text-anchor="middle" x="138" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::rect_area</text>
<g id="a_Node000009"><a xlink:href="../../dd/d47/namespacemath.html#a5de184925e68658f15415dd53954df4f" target="_top" xlink:title="area of a parallelogram (b * h)">
<polygon fill="white" stroke="#666666" points="211.62,-167.25 86.12,-167.25 86.12,-148 211.62,-148 211.62,-167.25"/>
<text text-anchor="middle" x="148.88" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::parallelogram_area</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node9 -->
<g id="edge10_Node000001_Node000009" class="edge">
<g id="edge9_Node000001_Node000009" class="edge">
<title>Node1&#45;&gt;Node9</title>
<g id="a_edge10_Node000001_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M32.81,-151.4C42.9,-147.48 56.37,-142.46 68.5,-138.62 73.86,-136.93 79.49,-135.27 85.12,-133.68"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="85.7,-137.15 94.42,-131.13 83.85,-130.4 85.7,-137.15"/>
<g id="a_edge9_Node000001_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M32.75,-173.49C43.56,-172 58.87,-169.89 74.8,-167.69"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="74.95,-171.21 84.38,-166.37 74,-164.27 74.95,-171.21"/>
</a>
</g>
</g>
<!-- Node10 -->
<g id="Node000010" class="node">
<title>Node10</title>
<g id="a_Node000010"><a xlink:href="../../dd/d47/namespacemath.html#ab7f29862d30df351c317eedd60a0c656" target="_top" xlink:title="surface area of a sphere ( 4 * pi * r^2)">
<polygon fill="white" stroke="#666666" points="205.25,-93.25 70.75,-93.25 70.75,-74 205.25,-74 205.25,-93.25"/>
<text text-anchor="middle" x="138" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::sphere_surface_area</text>
<g id="a_Node000010"><a xlink:href="../../dd/d47/namespacemath.html#ab31d141f7c5b551746b1eee0eb4dedca" target="_top" xlink:title="area of a rectangle (l * w)">
<polygon fill="white" stroke="#666666" points="191,-130.25 106.75,-130.25 106.75,-111 191,-111 191,-130.25"/>
<text text-anchor="middle" x="148.88" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::rect_area</text>
</a>
</g>
</g>
@@ -138,17 +138,17 @@
<g id="edge11_Node000001_Node000010" class="edge">
<title>Node1&#45;&gt;Node10</title>
<g id="a_edge11_Node000001_Node000010"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M23.61,-147.72C32.25,-135.09 48.87,-113.48 68.5,-101.62 70.64,-100.33 72.87,-99.13 75.16,-98.02"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="76.28,-101.35 84.15,-94.25 73.57,-94.89 76.28,-101.35"/>
<path fill="none" stroke="#63b8ff" d="M28.23,-165.67C38.08,-157.25 53.3,-145.49 68.5,-138.62 76.92,-134.82 86.22,-131.79 95.4,-129.38"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="96.09,-132.81 105,-127.09 94.46,-126 96.09,-132.81"/>
</a>
</g>
</g>
<!-- Node11 -->
<g id="Node000011" class="node">
<title>Node11</title>
<g id="a_Node000011"><a xlink:href="../../dd/d47/namespacemath.html#a971ce57e368f2f631cf1f4ff3f864049" target="_top" xlink:title="area of a square (l * l)">
<polygon fill="white" stroke="#666666" points="186.5,-56.25 89.5,-56.25 89.5,-37 186.5,-37 186.5,-56.25"/>
<text text-anchor="middle" x="138" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::square_area</text>
<g id="a_Node000011"><a xlink:href="../../dd/d47/namespacemath.html#ab7f29862d30df351c317eedd60a0c656" target="_top" xlink:title="surface area of a sphere ( 4 * pi * r^2)">
<polygon fill="white" stroke="#666666" points="216.12,-93.25 81.62,-93.25 81.62,-74 216.12,-74 216.12,-93.25"/>
<text text-anchor="middle" x="148.88" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::sphere_surface_area</text>
</a>
</g>
</g>
@@ -156,17 +156,17 @@
<g id="edge12_Node000001_Node000011" class="edge">
<title>Node1&#45;&gt;Node11</title>
<g id="a_edge12_Node000001_Node000011"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M19.85,-147.77C25.4,-128.68 40.29,-86.61 68.5,-64.62 71.65,-62.17 75.1,-60.05 78.73,-58.21"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="80.06,-61.45 87.93,-54.36 77.35,-55 80.06,-61.45"/>
<path fill="none" stroke="#63b8ff" d="M21.25,-165.7C28.27,-149.59 44.41,-117.89 68.5,-101.62 70.11,-100.54 71.78,-99.51 73.49,-98.55"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="74.82,-101.8 82.34,-94.34 71.81,-95.48 74.82,-101.8"/>
</a>
</g>
</g>
<!-- Node12 -->
<g id="Node000012" class="node">
<title>Node12</title>
<g id="a_Node000012"><a xlink:href="../../dd/d47/namespacemath.html#ab3b920cc56442abd92279ba23b50f4dc" target="_top" xlink:title="area of a triangle (b * h / 2)">
<polygon fill="white" stroke="#666666" points="187.62,-19.25 88.38,-19.25 88.38,0 187.62,0 187.62,-19.25"/>
<text text-anchor="middle" x="138" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::triangle_area</text>
<g id="a_Node000012"><a xlink:href="../../dd/d47/namespacemath.html#a971ce57e368f2f631cf1f4ff3f864049" target="_top" xlink:title="area of a square (l * l)">
<polygon fill="white" stroke="#666666" points="197.38,-56.25 100.38,-56.25 100.38,-37 197.38,-37 197.38,-56.25"/>
<text text-anchor="middle" x="148.88" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::square_area</text>
</a>
</g>
</g>
@@ -174,8 +174,26 @@
<g id="edge13_Node000001_Node000012" class="edge">
<title>Node1&#45;&gt;Node12</title>
<g id="a_edge13_Node000001_Node000012"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M18.15,-147.78C20.92,-123.53 31.49,-60.49 68.5,-27.62 71.3,-25.13 74.41,-22.98 77.71,-21.12"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="79.07,-24.35 86.7,-17.01 76.15,-17.99 79.07,-24.35"/>
<path fill="none" stroke="#63b8ff" d="M18.86,-165.52C22.91,-143.53 35.67,-91.21 68.5,-64.62 74.62,-59.67 81.84,-56.02 89.39,-53.34"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="90.13,-56.77 98.74,-50.59 88.16,-50.05 90.13,-56.77"/>
</a>
</g>
</g>
<!-- Node13 -->
<g id="Node000013" class="node">
<title>Node13</title>
<g id="a_Node000013"><a xlink:href="../../dd/d47/namespacemath.html#ab3b920cc56442abd92279ba23b50f4dc" target="_top" xlink:title="area of a triangle (b * h / 2)">
<polygon fill="white" stroke="#666666" points="198.5,-19.25 99.25,-19.25 99.25,0 198.5,0 198.5,-19.25"/>
<text text-anchor="middle" x="148.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::triangle_area</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node13 -->
<g id="edge14_Node000001_Node000013" class="edge">
<title>Node1&#45;&gt;Node13</title>
<g id="a_edge14_Node000001_Node000013"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M17.56,-165.56C18.94,-138.76 26.57,-65.17 68.5,-27.62 74.09,-22.62 80.78,-18.91 87.87,-16.19"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="88.91,-19.53 97.41,-13.21 86.82,-12.85 88.91,-19.53"/>
</a>
</g>
</g>
@@ -183,8 +201,8 @@
<g id="Node000005" class="node">
<title>Node5</title>
<g id="a_Node000005"><a xlink:href="../../d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83" target="_top" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="285.75,-167.25 243.5,-167.25 243.5,-148 285.75,-148 285.75,-167.25"/>
<text text-anchor="middle" x="264.62" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">height</text>
<polygon fill="white" stroke="#666666" points="307.5,-167.25 265.25,-167.25 265.25,-148 307.5,-148 307.5,-167.25"/>
<text text-anchor="middle" x="286.38" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">height</text>
</a>
</g>
</g>
@@ -192,8 +210,8 @@
<g id="edge4_Node000004_Node000005" class="edge">
<title>Node4&#45;&gt;Node5</title>
<g id="a_edge4_Node000004_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M189.6,-221.61C195.83,-219.44 201.95,-216.81 207.5,-213.62 224.06,-204.13 239.14,-188.49 249.49,-176.15"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="251.95,-178.68 255.49,-168.69 246.49,-174.3 251.95,-178.68"/>
<path fill="none" stroke="#63b8ff" d="M215.05,-258.54C220.09,-256.38 224.9,-253.77 229.25,-250.62 254.28,-232.55 270.24,-199.57 278.51,-178.13"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="281.7,-179.6 281.8,-169 275.11,-177.22 281.7,-179.6"/>
</a>
</g>
</g>
@@ -201,8 +219,8 @@
<g id="edge5_Node000005_Node000005" class="edge">
<title>Node5&#45;&gt;Node5</title>
<g id="a_edge5_Node000005_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M251.44,-167.54C245.42,-176.15 249.82,-185.25 264.62,-185.25 272.72,-185.25 277.71,-182.53 279.58,-178.65"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="283.08,-178.36 278.05,-169.03 276.16,-179.46 283.08,-178.36"/>
<path fill="none" stroke="#63b8ff" d="M273.19,-167.54C267.17,-176.15 271.57,-185.25 286.38,-185.25 294.47,-185.25 299.46,-182.53 301.33,-178.65"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="304.83,-178.36 299.8,-169.03 297.91,-179.46 304.83,-178.36"/>
</a>
</g>
</g>
@@ -210,8 +228,8 @@
<g id="Node000006" class="node">
<title>Node6</title>
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="376,-167.25 321.75,-167.25 321.75,-148 376,-148 376,-167.25"/>
<text text-anchor="middle" x="348.88" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::max</text>
<polygon fill="white" stroke="#666666" points="397.75,-167.25 343.5,-167.25 343.5,-148 397.75,-148 397.75,-167.25"/>
<text text-anchor="middle" x="370.62" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::max</text>
</a>
</g>
</g>
@@ -219,26 +237,26 @@
<g id="edge6_Node000005_Node000006" class="edge">
<title>Node5&#45;&gt;Node6</title>
<g id="a_edge6_Node000005_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M285.96,-157.62C293.2,-157.62 301.61,-157.62 309.85,-157.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="309.74,-161.13 319.74,-157.63 309.74,-154.13 309.74,-161.13"/>
<path fill="none" stroke="#63b8ff" d="M307.71,-157.62C314.95,-157.62 323.36,-157.62 331.6,-157.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="331.49,-161.13 341.49,-157.63 331.49,-154.13 331.49,-161.13"/>
</a>
</g>
</g>
<!-- Node8&#45;&gt;Node5 -->
<g id="edge9_Node000008_Node000005" class="edge">
<title>Node8&#45;&gt;Node5</title>
<g id="a_edge9_Node000008_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M200.95,-157.62C211.69,-157.62 222.44,-157.62 231.93,-157.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="231.67,-161.13 241.67,-157.63 231.67,-154.13 231.67,-161.13"/>
<!-- Node9&#45;&gt;Node5 -->
<g id="edge10_Node000009_Node000005" class="edge">
<title>Node9&#45;&gt;Node5</title>
<g id="a_edge10_Node000009_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M212.07,-157.62C226.52,-157.62 241.3,-157.62 253.78,-157.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="253.43,-161.13 263.43,-157.63 253.43,-154.13 253.43,-161.13"/>
</a>
</g>
</g>
<!-- Node12&#45;&gt;Node5 -->
<g id="edge14_Node000012_Node000005" class="edge">
<title>Node12&#45;&gt;Node5</title>
<g id="a_edge14_Node000012_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M187.79,-16.53C194.95,-19.15 201.81,-22.74 207.5,-27.62 240.63,-56.1 254.81,-107.69 260.38,-136.57"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="256.91,-137.01 262.07,-146.27 263.8,-135.82 256.91,-137.01"/>
<!-- Node13&#45;&gt;Node5 -->
<g id="edge15_Node000013_Node000005" class="edge">
<title>Node13&#45;&gt;Node5</title>
<g id="a_edge15_Node000013_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M198.92,-13.31C209.82,-16.05 220.66,-20.49 229.25,-27.62 262.85,-55.54 276.85,-107.34 282.27,-136.41"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="278.8,-136.9 283.89,-146.19 285.7,-135.75 278.8,-136.9"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -1,30 +1,32 @@
<map id="main" name="main">
<area shape="rect" id="Node000001" title="Main function." alt="" coords="5,203,55,228"/>
<area shape="rect" id="Node000002" href="$dc/d82/area_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" title="Self&#45;test implementations." alt="" coords="103,203,146,228"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="55,213,87,213,87,218,55,218"/>
<area shape="rect" id="Node000003" href="$dd/d47/namespacemath.html#a40e36c67da78d2131408c57ee091ad75" title="area of a circle (pi" alt="" coords="226,5,347,31"/>
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="124,202,129,169,141,126,161,80,175,59,192,40,211,28,213,33,196,44,179,62,166,82,146,127,135,170,130,203"/>
<area shape="rect" id="Node000004" href="$dd/d47/namespacemath.html#abc46c784a297fc1d2eb8b33a327fba4c" title="surface area of a cube ( 6 * (l" alt="" coords="202,55,371,80"/>
<area shape="poly" id="edge3_Node000002_Node000004" title=" " alt="" coords="127,201,148,147,167,116,192,89,197,86,200,90,196,94,171,119,153,150,132,203"/>
<area shape="rect" id="Node000005" href="$dd/d47/namespacemath.html#ac5803413618fcfb922cb32c6db0fc864" title="surface area of a cylinder (2 * pi * r * h + 2 * pi * r^2)" alt="" coords="194,104,379,130"/>
<area shape="poly" id="edge4_Node000002_Node000005" title=" " alt="" coords="132,201,157,169,192,139,202,134,204,138,196,143,161,173,136,204"/>
<area shape="rect" id="Node000008" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="251,153,322,179"/>
<area shape="poly" id="edge8_Node000002_Node000008" title=" " alt="" coords="146,205,193,188,235,176,236,181,195,193,147,210"/>
<area shape="rect" id="Node000009" href="$dd/d47/namespacemath.html#a5de184925e68658f15415dd53954df4f" title="area of a parallelogram (b * h)" alt="" coords="203,203,370,228"/>
<area shape="poly" id="edge9_Node000002_Node000009" title=" " alt="" coords="147,213,188,213,188,218,147,218"/>
<area shape="rect" id="Node000010" href="$dd/d47/namespacemath.html#ab31d141f7c5b551746b1eee0eb4dedca" title="area of a rectangle (l * w)" alt="" coords="230,252,343,278"/>
<area shape="poly" id="edge11_Node000002_Node000010" title=" " alt="" coords="147,221,195,238,217,245,215,250,193,243,146,226"/>
<area shape="rect" id="Node000011" href="$dd/d47/namespacemath.html#ab7f29862d30df351c317eedd60a0c656" title="surface area of a sphere ( 4 * pi * r^2)" alt="" coords="197,301,376,327"/>
<area shape="poly" id="edge12_Node000002_Node000011" title=" " alt="" coords="136,227,161,258,196,288,204,293,202,297,192,292,157,262,132,230"/>
<area shape="rect" id="Node000012" href="$dd/d47/namespacemath.html#a971ce57e368f2f631cf1f4ff3f864049" title="area of a square (l * l)" alt="" coords="222,351,351,376"/>
<area shape="poly" id="edge13_Node000002_Node000012" title=" " alt="" coords="132,228,153,281,171,312,196,337,209,346,206,350,192,342,167,315,148,284,127,230"/>
<area shape="rect" id="Node000013" href="$dd/d47/namespacemath.html#ab3b920cc56442abd92279ba23b50f4dc" title="area of a triangle (b * h / 2)" alt="" coords="220,400,353,426"/>
<area shape="poly" id="edge14_Node000002_Node000013" title=" " alt="" coords="130,228,135,261,146,304,166,349,179,369,196,387,208,395,205,400,192,391,175,372,161,351,141,305,129,262,124,229"/>
<area shape="rect" id="Node000006" href="$d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83" title=" " alt="" coords="427,203,484,228"/>
<area shape="poly" id="edge5_Node000005_Node000006" title=" " alt="" coords="357,128,381,139,412,162,437,189,433,193,409,166,378,143,354,133"/>
<area shape="poly" id="edge6_Node000006_Node000006" title=" " alt="" coords="435,203,432,194,434,185,442,178,456,176,470,179,477,186,474,189,467,184,455,181,444,183,439,188,437,194,440,201"/>
<area shape="rect" id="Node000007" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/max.html#" title=" " alt="" coords="532,203,604,228"/>
<area shape="poly" id="edge7_Node000006_Node000007" title=" " alt="" coords="484,213,516,213,516,218,484,218"/>
<area shape="poly" id="edge10_Node000009_Node000006" title=" " alt="" coords="371,213,412,213,412,218,371,218"/>
<area shape="poly" id="edge15_Node000013_Node000006" title=" " alt="" coords="352,401,378,387,406,354,426,315,439,276,447,243,452,244,444,278,431,317,410,357,381,391,354,406"/>
<area shape="rect" id="Node000001" title="Main function." alt="" coords="5,228,55,254"/>
<area shape="rect" id="Node000002" href="$dc/d82/area_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" title="Self&#45;test implementations." alt="" coords="103,228,146,254"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="55,238,87,238,87,244,55,244"/>
<area shape="rect" id="Node000003" href="$dd/d47/namespacemath.html#a40e36c67da78d2131408c57ee091ad75" title="area of a circle (pi" alt="" coords="240,5,362,31"/>
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="123,228,127,191,137,140,157,86,173,62,192,40,207,30,224,22,226,27,210,34,196,44,177,65,162,89,142,141,132,191,129,228"/>
<area shape="rect" id="Node000004" href="$dd/d47/namespacemath.html#abc46c784a297fc1d2eb8b33a327fba4c" title="surface area of a cube ( 6 * (l" alt="" coords="217,55,385,80"/>
<area shape="poly" id="edge3_Node000002_Node000004" title=" " alt="" coords="125,227,131,198,144,161,163,122,192,90,201,83,205,87,196,93,168,125,149,163,137,200,130,228"/>
<area shape="rect" id="Node000005" href="$dd/d47/namespacemath.html#ac5803413618fcfb922cb32c6db0fc864" title="surface area of a cylinder (2 * pi * r * h + 2 * pi * r^2)" alt="" coords="208,104,394,130"/>
<area shape="poly" id="edge4_Node000002_Node000005" title=" " alt="" coords="129,226,152,183,170,159,192,139,199,134,202,139,196,143,174,162,156,186,133,229"/>
<area shape="rect" id="Node000008" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="266,153,337,179"/>
<area shape="poly" id="edge8_Node000002_Node000008" title=" " alt="" coords="138,226,162,206,193,188,250,170,251,175,195,193,166,210,141,230"/>
<area shape="rect" id="Node000009" href="$dd/d47/namespacemath.html#a3277e65a8f380e7632791975bfba0efb" title="surface area of a hemi&#45;sphere ( 3 * pi * r^2)" alt="" coords="194,203,408,228"/>
<area shape="poly" id="edge9_Node000002_Node000009" title=" " alt="" coords="146,235,192,229,193,234,147,240"/>
<area shape="rect" id="Node000010" href="$dd/d47/namespacemath.html#a5de184925e68658f15415dd53954df4f" title="area of a parallelogram (b * h)" alt="" coords="218,252,385,278"/>
<area shape="poly" id="edge10_Node000002_Node000010" title=" " alt="" coords="147,241,203,249,202,254,146,246"/>
<area shape="rect" id="Node000011" href="$dd/d47/namespacemath.html#ab31d141f7c5b551746b1eee0eb4dedca" title="area of a rectangle (l * w)" alt="" coords="245,301,357,327"/>
<area shape="poly" id="edge12_Node000002_Node000011" title=" " alt="" coords="142,252,166,271,195,288,231,300,229,305,193,293,163,275,139,256"/>
<area shape="rect" id="Node000012" href="$dd/d47/namespacemath.html#ab7f29862d30df351c317eedd60a0c656" title="surface area of a sphere ( 4 * pi * r^2)" alt="" coords="212,351,391,376"/>
<area shape="poly" id="edge13_Node000002_Node000012" title=" " alt="" coords="133,253,156,295,174,318,196,337,202,341,199,346,192,342,170,322,152,298,129,255"/>
<area shape="rect" id="Node000013" href="$dd/d47/namespacemath.html#a971ce57e368f2f631cf1f4ff3f864049" title="area of a square (l * l)" alt="" coords="236,400,366,426"/>
<area shape="poly" id="edge14_Node000002_Node000013" title=" " alt="" coords="130,254,137,282,149,318,168,355,196,387,223,402,221,406,192,391,164,358,144,320,132,283,125,255"/>
<area shape="rect" id="Node000014" href="$dd/d47/namespacemath.html#ab3b920cc56442abd92279ba23b50f4dc" title="area of a triangle (b * h / 2)" alt="" coords="235,449,367,475"/>
<area shape="poly" id="edge15_Node000002_Node000014" title=" " alt="" coords="129,254,132,291,142,340,162,392,177,416,196,436,221,451,218,456,192,440,173,419,158,395,137,342,127,291,123,255"/>
<area shape="rect" id="Node000006" href="$d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83" title=" " alt="" coords="456,252,513,278"/>
<area shape="poly" id="edge5_Node000005_Node000006" title=" " alt="" coords="391,128,410,139,433,160,452,186,476,236,472,239,447,189,429,164,407,143,388,133"/>
<area shape="poly" id="edge6_Node000006_Node000006" title=" " alt="" coords="464,253,461,243,463,234,471,228,485,225,499,228,506,235,503,239,496,233,484,231,473,233,468,237,466,243,469,251"/>
<area shape="rect" id="Node000007" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/max.html#" title=" " alt="" coords="561,252,633,278"/>
<area shape="poly" id="edge7_Node000006_Node000007" title=" " alt="" coords="513,262,545,262,545,268,513,268"/>
<area shape="poly" id="edge11_Node000010_Node000006" title=" " alt="" coords="385,262,441,262,441,268,385,268"/>
<area shape="poly" id="edge16_Node000014_Node000006" title=" " alt="" coords="367,455,388,447,407,436,435,404,455,365,469,326,476,293,482,294,474,328,460,367,439,407,410,440,390,452,369,460"/>
</map>

View File

@@ -1 +1 @@
1f952485b33337740c864377f484556e
4a744117c6941c5796e6d1ca5cf59e82

View File

@@ -4,8 +4,8 @@
<!-- Generated by graphviz version 12.1.1 (20240910.0053)
-->
<!-- Title: main Pages: 1 -->
<svg width="457pt" height="323pt"
viewBox="0.00 0.00 457.00 323.25" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg width="479pt" height="360pt"
viewBox="0.00 0.00 478.75 360.25" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
@@ -17,14 +17,14 @@
]]></style>
<script type="application/ecmascript" xlink:href="../../svg.min.js"/>
<svg id="graph" class="graph">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 319.25)">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 356.25)">
<title>main</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Main function.">
<polygon fill="#999999" stroke="#666666" points="37,-167.25 0,-167.25 0,-148 37,-148 37,-167.25"/>
<text text-anchor="middle" x="18.5" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
<polygon fill="#999999" stroke="#666666" points="37,-185.25 0,-185.25 0,-166 37,-166 37,-185.25"/>
<text text-anchor="middle" x="18.5" y="-171.75" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
</a>
</g>
</g>
@@ -32,8 +32,8 @@
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a xlink:href="../../dc/d82/area_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" target="_top" xlink:title="Self&#45;test implementations.">
<polygon fill="white" stroke="#666666" points="105.5,-167.25 73,-167.25 73,-148 105.5,-148 105.5,-167.25"/>
<text text-anchor="middle" x="89.25" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
<polygon fill="white" stroke="#666666" points="105.5,-185.25 73,-185.25 73,-166 105.5,-166 105.5,-185.25"/>
<text text-anchor="middle" x="89.25" y="-171.75" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
</a>
</g>
</g>
@@ -41,8 +41,8 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M37.2,-157.62C44.58,-157.62 53.31,-157.62 61.45,-157.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.2,-161.13 71.2,-157.63 61.2,-154.13 61.2,-161.13"/>
<path fill="none" stroke="#63b8ff" d="M37.2,-175.62C44.58,-175.62 53.31,-175.62 61.45,-175.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.2,-179.13 71.2,-175.63 61.2,-172.13 61.2,-179.13"/>
</a>
</g>
</g>
@@ -50,8 +50,8 @@
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a xlink:href="../../dd/d47/namespacemath.html#a40e36c67da78d2131408c57ee091ad75" target="_top" xlink:title="area of a circle (pi">
<polygon fill="white" stroke="#666666" points="256.5,-315.25 165.5,-315.25 165.5,-296 256.5,-296 256.5,-315.25"/>
<text text-anchor="middle" x="211" y="-301.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::circle_area</text>
<polygon fill="white" stroke="#666666" points="267.38,-352.25 176.38,-352.25 176.38,-333 267.38,-333 267.38,-352.25"/>
<text text-anchor="middle" x="221.88" y="-338.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::circle_area</text>
</a>
</g>
</g>
@@ -59,8 +59,8 @@
<g id="edge2_Node000002_Node000003" class="edge">
<title>Node2&#45;&gt;Node3</title>
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M91.15,-167.47C93.92,-191.72 104.49,-254.76 141.5,-287.62 145.49,-291.16 150.08,-294.02 154.98,-296.32"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="153.32,-299.44 163.91,-299.77 155.84,-292.91 153.32,-299.44"/>
<path fill="none" stroke="#63b8ff" d="M90.51,-185.37C91.78,-212.01 99.15,-286.63 141.5,-324.62 148.16,-330.6 156.37,-334.72 164.97,-337.53"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="163.95,-340.88 174.51,-340.06 165.74,-334.12 163.95,-340.88"/>
</a>
</g>
</g>
@@ -68,8 +68,8 @@
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_Node000004"><a xlink:href="../../dd/d47/namespacemath.html#abc46c784a297fc1d2eb8b33a327fba4c" target="_top" xlink:title="surface area of a cube ( 6 * (l">
<polygon fill="white" stroke="#666666" points="274.12,-278.25 147.88,-278.25 147.88,-259 274.12,-259 274.12,-278.25"/>
<text text-anchor="middle" x="211" y="-264.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::cube_surface_area</text>
<polygon fill="white" stroke="#666666" points="285,-315.25 158.75,-315.25 158.75,-296 285,-296 285,-315.25"/>
<text text-anchor="middle" x="221.88" y="-301.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::cube_surface_area</text>
</a>
</g>
</g>
@@ -77,8 +77,8 @@
<g id="edge3_Node000002_Node000004" class="edge">
<title>Node2&#45;&gt;Node4</title>
<g id="a_edge3_Node000002_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M92.85,-167.48C98.4,-186.57 113.29,-228.64 141.5,-250.62 142.65,-251.52 143.83,-252.37 145.05,-253.17"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="143.18,-256.14 153.64,-257.85 146.53,-249.99 143.18,-256.14"/>
<path fill="none" stroke="#63b8ff" d="M91.77,-185.49C95.7,-207.47 108.31,-260.66 141.5,-287.62 143.63,-289.35 145.89,-290.92 148.25,-292.35"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="146.59,-295.43 157.1,-296.76 149.71,-289.17 146.59,-295.43"/>
</a>
</g>
</g>
@@ -86,8 +86,8 @@
<g id="Node000005" class="node">
<title>Node5</title>
<g id="a_Node000005"><a xlink:href="../../dd/d47/namespacemath.html#ac5803413618fcfb922cb32c6db0fc864" target="_top" xlink:title="surface area of a cylinder (2 * pi * r * h + 2 * pi * r^2)">
<polygon fill="white" stroke="#666666" points="280.5,-241.25 141.5,-241.25 141.5,-222 280.5,-222 280.5,-241.25"/>
<text text-anchor="middle" x="211" y="-227.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::cylinder_surface_area</text>
<polygon fill="white" stroke="#666666" points="291.38,-278.25 152.38,-278.25 152.38,-259 291.38,-259 291.38,-278.25"/>
<text text-anchor="middle" x="221.88" y="-264.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::cylinder_surface_area</text>
</a>
</g>
</g>
@@ -95,8 +95,8 @@
<g id="edge4_Node000002_Node000005" class="edge">
<title>Node2&#45;&gt;Node5</title>
<g id="a_edge4_Node000002_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M96.61,-167.53C105.25,-180.16 121.87,-201.77 141.5,-213.62 143.64,-214.92 145.87,-216.12 148.16,-217.23"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="146.57,-220.36 157.15,-221 149.28,-213.9 146.57,-220.36"/>
<path fill="none" stroke="#63b8ff" d="M94.21,-185.68C101.18,-202.01 117.24,-234.13 141.5,-250.62 143.11,-251.72 144.77,-252.74 146.48,-253.71"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="144.79,-256.78 155.32,-257.94 147.81,-250.47 144.79,-256.78"/>
</a>
</g>
</g>
@@ -104,8 +104,8 @@
<g id="Node000008" class="node">
<title>Node8</title>
<g id="a_Node000008"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="237.75,-204.25 184.25,-204.25 184.25,-185 237.75,-185 237.75,-204.25"/>
<text text-anchor="middle" x="211" y="-190.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
<polygon fill="white" stroke="#666666" points="248.62,-241.25 195.12,-241.25 195.12,-222 248.62,-222 248.62,-241.25"/>
<text text-anchor="middle" x="221.88" y="-227.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>
</g>
</g>
@@ -113,17 +113,17 @@
<g id="edge8_Node000002_Node000008" class="edge">
<title>Node2&#45;&gt;Node8</title>
<g id="a_edge8_Node000002_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M105.81,-163.85C115.9,-167.77 129.37,-172.79 141.5,-176.62 151.55,-179.8 162.55,-182.87 172.74,-185.54"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="171.78,-188.91 182.34,-188.01 173.52,-182.13 171.78,-188.91"/>
<path fill="none" stroke="#63b8ff" d="M100.79,-185.53C110.6,-194.2 126,-206.51 141.5,-213.62 154.74,-219.71 170.2,-223.81 183.93,-226.54"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="183.03,-229.93 193.49,-228.26 184.26,-223.04 183.03,-229.93"/>
</a>
</g>
</g>
<!-- Node9 -->
<g id="Node000009" class="node">
<title>Node9</title>
<g id="a_Node000009"><a xlink:href="../../dd/d47/namespacemath.html#a5de184925e68658f15415dd53954df4f" target="_top" xlink:title="area of a parallelogram (b * h)">
<polygon fill="white" stroke="#666666" points="273.75,-167.25 148.25,-167.25 148.25,-148 273.75,-148 273.75,-167.25"/>
<text text-anchor="middle" x="211" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::parallelogram_area</text>
<g id="a_Node000009"><a xlink:href="../../dd/d47/namespacemath.html#a3277e65a8f380e7632791975bfba0efb" target="_top" xlink:title="surface area of a hemi&#45;sphere ( 3 * pi * r^2)">
<polygon fill="white" stroke="#666666" points="302.25,-204.25 141.5,-204.25 141.5,-185 302.25,-185 302.25,-204.25"/>
<text text-anchor="middle" x="221.88" y="-190.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::hemi_sphere_surface_area</text>
</a>
</g>
</g>
@@ -131,35 +131,35 @@
<g id="edge9_Node000002_Node000009" class="edge">
<title>Node2&#45;&gt;Node9</title>
<g id="a_edge9_Node000002_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M105.91,-157.62C114.22,-157.62 125.1,-157.62 136.69,-157.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="136.44,-161.13 146.44,-157.63 136.44,-154.13 136.44,-161.13"/>
<path fill="none" stroke="#63b8ff" d="M105.75,-177.88C114.83,-179.2 127.07,-180.98 140.19,-182.89"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="139.48,-186.32 149.88,-184.3 140.48,-179.39 139.48,-186.32"/>
</a>
</g>
</g>
<!-- Node10 -->
<g id="Node000010" class="node">
<title>Node10</title>
<g id="a_Node000010"><a xlink:href="../../dd/d47/namespacemath.html#ab31d141f7c5b551746b1eee0eb4dedca" target="_top" xlink:title="area of a rectangle (l * w)">
<polygon fill="white" stroke="#666666" points="253.12,-130.25 168.88,-130.25 168.88,-111 253.12,-111 253.12,-130.25"/>
<text text-anchor="middle" x="211" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::rect_area</text>
<g id="a_Node000010"><a xlink:href="../../dd/d47/namespacemath.html#a5de184925e68658f15415dd53954df4f" target="_top" xlink:title="area of a parallelogram (b * h)">
<polygon fill="white" stroke="#666666" points="284.62,-167.25 159.12,-167.25 159.12,-148 284.62,-148 284.62,-167.25"/>
<text text-anchor="middle" x="221.88" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::parallelogram_area</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node10 -->
<g id="edge11_Node000002_Node000010" class="edge">
<g id="edge10_Node000002_Node000010" class="edge">
<title>Node2&#45;&gt;Node10</title>
<g id="a_edge11_Node000002_Node000010"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M105.81,-151.4C115.9,-147.48 129.37,-142.46 141.5,-138.62 146.86,-136.93 152.49,-135.27 158.12,-133.68"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="158.7,-137.15 167.42,-131.13 156.85,-130.4 158.7,-137.15"/>
<g id="a_edge10_Node000002_Node000010"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M105.75,-173.49C116.56,-172 131.87,-169.89 147.8,-167.69"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="147.95,-171.21 157.38,-166.37 147,-164.27 147.95,-171.21"/>
</a>
</g>
</g>
<!-- Node11 -->
<g id="Node000011" class="node">
<title>Node11</title>
<g id="a_Node000011"><a xlink:href="../../dd/d47/namespacemath.html#ab7f29862d30df351c317eedd60a0c656" target="_top" xlink:title="surface area of a sphere ( 4 * pi * r^2)">
<polygon fill="white" stroke="#666666" points="278.25,-93.25 143.75,-93.25 143.75,-74 278.25,-74 278.25,-93.25"/>
<text text-anchor="middle" x="211" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::sphere_surface_area</text>
<g id="a_Node000011"><a xlink:href="../../dd/d47/namespacemath.html#ab31d141f7c5b551746b1eee0eb4dedca" target="_top" xlink:title="area of a rectangle (l * w)">
<polygon fill="white" stroke="#666666" points="264,-130.25 179.75,-130.25 179.75,-111 264,-111 264,-130.25"/>
<text text-anchor="middle" x="221.88" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::rect_area</text>
</a>
</g>
</g>
@@ -167,17 +167,17 @@
<g id="edge12_Node000002_Node000011" class="edge">
<title>Node2&#45;&gt;Node11</title>
<g id="a_edge12_Node000002_Node000011"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M96.61,-147.72C105.25,-135.09 121.87,-113.48 141.5,-101.62 143.64,-100.33 145.87,-99.13 148.16,-98.02"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="149.28,-101.35 157.15,-94.25 146.57,-94.89 149.28,-101.35"/>
<path fill="none" stroke="#63b8ff" d="M101.23,-165.67C111.08,-157.25 126.3,-145.49 141.5,-138.62 149.92,-134.82 159.22,-131.79 168.4,-129.38"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="169.09,-132.81 178,-127.09 167.46,-126 169.09,-132.81"/>
</a>
</g>
</g>
<!-- Node12 -->
<g id="Node000012" class="node">
<title>Node12</title>
<g id="a_Node000012"><a xlink:href="../../dd/d47/namespacemath.html#a971ce57e368f2f631cf1f4ff3f864049" target="_top" xlink:title="area of a square (l * l)">
<polygon fill="white" stroke="#666666" points="259.5,-56.25 162.5,-56.25 162.5,-37 259.5,-37 259.5,-56.25"/>
<text text-anchor="middle" x="211" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::square_area</text>
<g id="a_Node000012"><a xlink:href="../../dd/d47/namespacemath.html#ab7f29862d30df351c317eedd60a0c656" target="_top" xlink:title="surface area of a sphere ( 4 * pi * r^2)">
<polygon fill="white" stroke="#666666" points="289.12,-93.25 154.62,-93.25 154.62,-74 289.12,-74 289.12,-93.25"/>
<text text-anchor="middle" x="221.88" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::sphere_surface_area</text>
</a>
</g>
</g>
@@ -185,17 +185,17 @@
<g id="edge13_Node000002_Node000012" class="edge">
<title>Node2&#45;&gt;Node12</title>
<g id="a_edge13_Node000002_Node000012"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M92.85,-147.77C98.4,-128.68 113.29,-86.61 141.5,-64.62 144.65,-62.17 148.1,-60.05 151.73,-58.21"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="153.06,-61.45 160.93,-54.36 150.35,-55 153.06,-61.45"/>
<path fill="none" stroke="#63b8ff" d="M94.25,-165.7C101.27,-149.59 117.41,-117.89 141.5,-101.62 143.11,-100.54 144.78,-99.51 146.49,-98.55"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="147.82,-101.8 155.34,-94.34 144.81,-95.48 147.82,-101.8"/>
</a>
</g>
</g>
<!-- Node13 -->
<g id="Node000013" class="node">
<title>Node13</title>
<g id="a_Node000013"><a xlink:href="../../dd/d47/namespacemath.html#ab3b920cc56442abd92279ba23b50f4dc" target="_top" xlink:title="area of a triangle (b * h / 2)">
<polygon fill="white" stroke="#666666" points="260.62,-19.25 161.38,-19.25 161.38,0 260.62,0 260.62,-19.25"/>
<text text-anchor="middle" x="211" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::triangle_area</text>
<g id="a_Node000013"><a xlink:href="../../dd/d47/namespacemath.html#a971ce57e368f2f631cf1f4ff3f864049" target="_top" xlink:title="area of a square (l * l)">
<polygon fill="white" stroke="#666666" points="270.38,-56.25 173.38,-56.25 173.38,-37 270.38,-37 270.38,-56.25"/>
<text text-anchor="middle" x="221.88" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::square_area</text>
</a>
</g>
</g>
@@ -203,8 +203,26 @@
<g id="edge14_Node000002_Node000013" class="edge">
<title>Node2&#45;&gt;Node13</title>
<g id="a_edge14_Node000002_Node000013"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M91.15,-147.78C93.92,-123.53 104.49,-60.49 141.5,-27.62 144.3,-25.13 147.41,-22.98 150.71,-21.12"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="152.07,-24.35 159.7,-17.01 149.15,-17.99 152.07,-24.35"/>
<path fill="none" stroke="#63b8ff" d="M91.86,-165.52C95.91,-143.53 108.67,-91.21 141.5,-64.62 147.62,-59.67 154.84,-56.02 162.39,-53.34"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="163.13,-56.77 171.74,-50.59 161.16,-50.05 163.13,-56.77"/>
</a>
</g>
</g>
<!-- Node14 -->
<g id="Node000014" class="node">
<title>Node14</title>
<g id="a_Node000014"><a xlink:href="../../dd/d47/namespacemath.html#ab3b920cc56442abd92279ba23b50f4dc" target="_top" xlink:title="area of a triangle (b * h / 2)">
<polygon fill="white" stroke="#666666" points="271.5,-19.25 172.25,-19.25 172.25,0 271.5,0 271.5,-19.25"/>
<text text-anchor="middle" x="221.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::triangle_area</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node14 -->
<g id="edge15_Node000002_Node000014" class="edge">
<title>Node2&#45;&gt;Node14</title>
<g id="a_edge15_Node000002_Node000014"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M90.56,-165.56C91.94,-138.76 99.57,-65.17 141.5,-27.62 147.09,-22.62 153.78,-18.91 160.87,-16.19"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="161.91,-19.53 170.41,-13.21 159.82,-12.85 161.91,-19.53"/>
</a>
</g>
</g>
@@ -212,8 +230,8 @@
<g id="Node000006" class="node">
<title>Node6</title>
<g id="a_Node000006"><a xlink:href="../../d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83" target="_top" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="358.75,-167.25 316.5,-167.25 316.5,-148 358.75,-148 358.75,-167.25"/>
<text text-anchor="middle" x="337.62" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">height</text>
<polygon fill="white" stroke="#666666" points="380.5,-167.25 338.25,-167.25 338.25,-148 380.5,-148 380.5,-167.25"/>
<text text-anchor="middle" x="359.38" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">height</text>
</a>
</g>
</g>
@@ -221,8 +239,8 @@
<g id="edge5_Node000005_Node000006" class="edge">
<title>Node5&#45;&gt;Node6</title>
<g id="a_edge5_Node000005_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M262.6,-221.61C268.83,-219.44 274.95,-216.81 280.5,-213.62 297.06,-204.13 312.14,-188.49 322.49,-176.15"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="324.95,-178.68 328.49,-168.69 319.49,-174.3 324.95,-178.68"/>
<path fill="none" stroke="#63b8ff" d="M288.05,-258.54C293.09,-256.38 297.9,-253.77 302.25,-250.62 327.28,-232.55 343.24,-199.57 351.51,-178.13"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="354.7,-179.6 354.8,-169 348.11,-177.22 354.7,-179.6"/>
</a>
</g>
</g>
@@ -230,8 +248,8 @@
<g id="edge6_Node000006_Node000006" class="edge">
<title>Node6&#45;&gt;Node6</title>
<g id="a_edge6_Node000006_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M324.44,-167.54C318.42,-176.15 322.82,-185.25 337.62,-185.25 345.72,-185.25 350.71,-182.53 352.58,-178.65"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="356.08,-178.36 351.05,-169.03 349.16,-179.46 356.08,-178.36"/>
<path fill="none" stroke="#63b8ff" d="M346.19,-167.54C340.17,-176.15 344.57,-185.25 359.38,-185.25 367.47,-185.25 372.46,-182.53 374.33,-178.65"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="377.83,-178.36 372.8,-169.03 370.91,-179.46 377.83,-178.36"/>
</a>
</g>
</g>
@@ -239,8 +257,8 @@
<g id="Node000007" class="node">
<title>Node7</title>
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="449,-167.25 394.75,-167.25 394.75,-148 449,-148 449,-167.25"/>
<text text-anchor="middle" x="421.88" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::max</text>
<polygon fill="white" stroke="#666666" points="470.75,-167.25 416.5,-167.25 416.5,-148 470.75,-148 470.75,-167.25"/>
<text text-anchor="middle" x="443.62" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::max</text>
</a>
</g>
</g>
@@ -248,26 +266,26 @@
<g id="edge7_Node000006_Node000007" class="edge">
<title>Node6&#45;&gt;Node7</title>
<g id="a_edge7_Node000006_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M358.96,-157.62C366.2,-157.62 374.61,-157.62 382.85,-157.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="382.74,-161.13 392.74,-157.63 382.74,-154.13 382.74,-161.13"/>
<path fill="none" stroke="#63b8ff" d="M380.71,-157.62C387.95,-157.62 396.36,-157.62 404.6,-157.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="404.49,-161.13 414.49,-157.63 404.49,-154.13 404.49,-161.13"/>
</a>
</g>
</g>
<!-- Node9&#45;&gt;Node6 -->
<g id="edge10_Node000009_Node000006" class="edge">
<title>Node9&#45;&gt;Node6</title>
<g id="a_edge10_Node000009_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M273.95,-157.62C284.69,-157.62 295.44,-157.62 304.93,-157.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="304.67,-161.13 314.67,-157.63 304.67,-154.13 304.67,-161.13"/>
<!-- Node10&#45;&gt;Node6 -->
<g id="edge11_Node000010_Node000006" class="edge">
<title>Node10&#45;&gt;Node6</title>
<g id="a_edge11_Node000010_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M285.07,-157.62C299.52,-157.62 314.3,-157.62 326.78,-157.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="326.43,-161.13 336.43,-157.63 326.43,-154.13 326.43,-161.13"/>
</a>
</g>
</g>
<!-- Node13&#45;&gt;Node6 -->
<g id="edge15_Node000013_Node000006" class="edge">
<title>Node13&#45;&gt;Node6</title>
<g id="a_edge15_Node000013_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M260.79,-16.53C267.95,-19.15 274.81,-22.74 280.5,-27.62 313.63,-56.1 327.81,-107.69 333.38,-136.57"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="329.91,-137.01 335.07,-146.27 336.8,-135.82 329.91,-137.01"/>
<!-- Node14&#45;&gt;Node6 -->
<g id="edge16_Node000014_Node000006" class="edge">
<title>Node14&#45;&gt;Node6</title>
<g id="a_edge16_Node000014_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M271.92,-13.31C282.82,-16.05 293.66,-20.49 302.25,-27.62 335.85,-55.54 349.85,-107.34 355.27,-136.41"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="351.8,-136.9 356.89,-146.19 358.7,-135.75 351.8,-136.9"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -4,16 +4,16 @@
<!-- Generated by graphviz version 12.1.1 (20240910.0053)
-->
<!-- Title: main Pages: 1 -->
<svg width="457pt" height="323pt"
viewBox="0.00 0.00 457.00 323.25" 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 319.25)">
<svg width="479pt" height="360pt"
viewBox="0.00 0.00 478.75 360.25" 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 356.25)">
<title>main</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Main function.">
<polygon fill="#999999" stroke="#666666" points="37,-167.25 0,-167.25 0,-148 37,-148 37,-167.25"/>
<text text-anchor="middle" x="18.5" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
<polygon fill="#999999" stroke="#666666" points="37,-185.25 0,-185.25 0,-166 37,-166 37,-185.25"/>
<text text-anchor="middle" x="18.5" y="-171.75" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
</a>
</g>
</g>
@@ -21,8 +21,8 @@
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a xlink:href="../../dc/d82/area_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" target="_top" xlink:title="Self&#45;test implementations.">
<polygon fill="white" stroke="#666666" points="105.5,-167.25 73,-167.25 73,-148 105.5,-148 105.5,-167.25"/>
<text text-anchor="middle" x="89.25" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
<polygon fill="white" stroke="#666666" points="105.5,-185.25 73,-185.25 73,-166 105.5,-166 105.5,-185.25"/>
<text text-anchor="middle" x="89.25" y="-171.75" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
</a>
</g>
</g>
@@ -30,8 +30,8 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M37.2,-157.62C44.58,-157.62 53.31,-157.62 61.45,-157.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.2,-161.13 71.2,-157.63 61.2,-154.13 61.2,-161.13"/>
<path fill="none" stroke="#63b8ff" d="M37.2,-175.62C44.58,-175.62 53.31,-175.62 61.45,-175.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.2,-179.13 71.2,-175.63 61.2,-172.13 61.2,-179.13"/>
</a>
</g>
</g>
@@ -39,8 +39,8 @@
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a xlink:href="../../dd/d47/namespacemath.html#a40e36c67da78d2131408c57ee091ad75" target="_top" xlink:title="area of a circle (pi">
<polygon fill="white" stroke="#666666" points="256.5,-315.25 165.5,-315.25 165.5,-296 256.5,-296 256.5,-315.25"/>
<text text-anchor="middle" x="211" y="-301.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::circle_area</text>
<polygon fill="white" stroke="#666666" points="267.38,-352.25 176.38,-352.25 176.38,-333 267.38,-333 267.38,-352.25"/>
<text text-anchor="middle" x="221.88" y="-338.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::circle_area</text>
</a>
</g>
</g>
@@ -48,8 +48,8 @@
<g id="edge2_Node000002_Node000003" class="edge">
<title>Node2&#45;&gt;Node3</title>
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M91.15,-167.47C93.92,-191.72 104.49,-254.76 141.5,-287.62 145.49,-291.16 150.08,-294.02 154.98,-296.32"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="153.32,-299.44 163.91,-299.77 155.84,-292.91 153.32,-299.44"/>
<path fill="none" stroke="#63b8ff" d="M90.51,-185.37C91.78,-212.01 99.15,-286.63 141.5,-324.62 148.16,-330.6 156.37,-334.72 164.97,-337.53"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="163.95,-340.88 174.51,-340.06 165.74,-334.12 163.95,-340.88"/>
</a>
</g>
</g>
@@ -57,8 +57,8 @@
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_Node000004"><a xlink:href="../../dd/d47/namespacemath.html#abc46c784a297fc1d2eb8b33a327fba4c" target="_top" xlink:title="surface area of a cube ( 6 * (l">
<polygon fill="white" stroke="#666666" points="274.12,-278.25 147.88,-278.25 147.88,-259 274.12,-259 274.12,-278.25"/>
<text text-anchor="middle" x="211" y="-264.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::cube_surface_area</text>
<polygon fill="white" stroke="#666666" points="285,-315.25 158.75,-315.25 158.75,-296 285,-296 285,-315.25"/>
<text text-anchor="middle" x="221.88" y="-301.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::cube_surface_area</text>
</a>
</g>
</g>
@@ -66,8 +66,8 @@
<g id="edge3_Node000002_Node000004" class="edge">
<title>Node2&#45;&gt;Node4</title>
<g id="a_edge3_Node000002_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M92.85,-167.48C98.4,-186.57 113.29,-228.64 141.5,-250.62 142.65,-251.52 143.83,-252.37 145.05,-253.17"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="143.18,-256.14 153.64,-257.85 146.53,-249.99 143.18,-256.14"/>
<path fill="none" stroke="#63b8ff" d="M91.77,-185.49C95.7,-207.47 108.31,-260.66 141.5,-287.62 143.63,-289.35 145.89,-290.92 148.25,-292.35"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="146.59,-295.43 157.1,-296.76 149.71,-289.17 146.59,-295.43"/>
</a>
</g>
</g>
@@ -75,8 +75,8 @@
<g id="Node000005" class="node">
<title>Node5</title>
<g id="a_Node000005"><a xlink:href="../../dd/d47/namespacemath.html#ac5803413618fcfb922cb32c6db0fc864" target="_top" xlink:title="surface area of a cylinder (2 * pi * r * h + 2 * pi * r^2)">
<polygon fill="white" stroke="#666666" points="280.5,-241.25 141.5,-241.25 141.5,-222 280.5,-222 280.5,-241.25"/>
<text text-anchor="middle" x="211" y="-227.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::cylinder_surface_area</text>
<polygon fill="white" stroke="#666666" points="291.38,-278.25 152.38,-278.25 152.38,-259 291.38,-259 291.38,-278.25"/>
<text text-anchor="middle" x="221.88" y="-264.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::cylinder_surface_area</text>
</a>
</g>
</g>
@@ -84,8 +84,8 @@
<g id="edge4_Node000002_Node000005" class="edge">
<title>Node2&#45;&gt;Node5</title>
<g id="a_edge4_Node000002_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M96.61,-167.53C105.25,-180.16 121.87,-201.77 141.5,-213.62 143.64,-214.92 145.87,-216.12 148.16,-217.23"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="146.57,-220.36 157.15,-221 149.28,-213.9 146.57,-220.36"/>
<path fill="none" stroke="#63b8ff" d="M94.21,-185.68C101.18,-202.01 117.24,-234.13 141.5,-250.62 143.11,-251.72 144.77,-252.74 146.48,-253.71"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="144.79,-256.78 155.32,-257.94 147.81,-250.47 144.79,-256.78"/>
</a>
</g>
</g>
@@ -93,8 +93,8 @@
<g id="Node000008" class="node">
<title>Node8</title>
<g id="a_Node000008"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="237.75,-204.25 184.25,-204.25 184.25,-185 237.75,-185 237.75,-204.25"/>
<text text-anchor="middle" x="211" y="-190.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
<polygon fill="white" stroke="#666666" points="248.62,-241.25 195.12,-241.25 195.12,-222 248.62,-222 248.62,-241.25"/>
<text text-anchor="middle" x="221.88" y="-227.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>
</g>
</g>
@@ -102,17 +102,17 @@
<g id="edge8_Node000002_Node000008" class="edge">
<title>Node2&#45;&gt;Node8</title>
<g id="a_edge8_Node000002_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M105.81,-163.85C115.9,-167.77 129.37,-172.79 141.5,-176.62 151.55,-179.8 162.55,-182.87 172.74,-185.54"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="171.78,-188.91 182.34,-188.01 173.52,-182.13 171.78,-188.91"/>
<path fill="none" stroke="#63b8ff" d="M100.79,-185.53C110.6,-194.2 126,-206.51 141.5,-213.62 154.74,-219.71 170.2,-223.81 183.93,-226.54"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="183.03,-229.93 193.49,-228.26 184.26,-223.04 183.03,-229.93"/>
</a>
</g>
</g>
<!-- Node9 -->
<g id="Node000009" class="node">
<title>Node9</title>
<g id="a_Node000009"><a xlink:href="../../dd/d47/namespacemath.html#a5de184925e68658f15415dd53954df4f" target="_top" xlink:title="area of a parallelogram (b * h)">
<polygon fill="white" stroke="#666666" points="273.75,-167.25 148.25,-167.25 148.25,-148 273.75,-148 273.75,-167.25"/>
<text text-anchor="middle" x="211" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::parallelogram_area</text>
<g id="a_Node000009"><a xlink:href="../../dd/d47/namespacemath.html#a3277e65a8f380e7632791975bfba0efb" target="_top" xlink:title="surface area of a hemi&#45;sphere ( 3 * pi * r^2)">
<polygon fill="white" stroke="#666666" points="302.25,-204.25 141.5,-204.25 141.5,-185 302.25,-185 302.25,-204.25"/>
<text text-anchor="middle" x="221.88" y="-190.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::hemi_sphere_surface_area</text>
</a>
</g>
</g>
@@ -120,35 +120,35 @@
<g id="edge9_Node000002_Node000009" class="edge">
<title>Node2&#45;&gt;Node9</title>
<g id="a_edge9_Node000002_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M105.91,-157.62C114.22,-157.62 125.1,-157.62 136.69,-157.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="136.44,-161.13 146.44,-157.63 136.44,-154.13 136.44,-161.13"/>
<path fill="none" stroke="#63b8ff" d="M105.75,-177.88C114.83,-179.2 127.07,-180.98 140.19,-182.89"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="139.48,-186.32 149.88,-184.3 140.48,-179.39 139.48,-186.32"/>
</a>
</g>
</g>
<!-- Node10 -->
<g id="Node000010" class="node">
<title>Node10</title>
<g id="a_Node000010"><a xlink:href="../../dd/d47/namespacemath.html#ab31d141f7c5b551746b1eee0eb4dedca" target="_top" xlink:title="area of a rectangle (l * w)">
<polygon fill="white" stroke="#666666" points="253.12,-130.25 168.88,-130.25 168.88,-111 253.12,-111 253.12,-130.25"/>
<text text-anchor="middle" x="211" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::rect_area</text>
<g id="a_Node000010"><a xlink:href="../../dd/d47/namespacemath.html#a5de184925e68658f15415dd53954df4f" target="_top" xlink:title="area of a parallelogram (b * h)">
<polygon fill="white" stroke="#666666" points="284.62,-167.25 159.12,-167.25 159.12,-148 284.62,-148 284.62,-167.25"/>
<text text-anchor="middle" x="221.88" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::parallelogram_area</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node10 -->
<g id="edge11_Node000002_Node000010" class="edge">
<g id="edge10_Node000002_Node000010" class="edge">
<title>Node2&#45;&gt;Node10</title>
<g id="a_edge11_Node000002_Node000010"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M105.81,-151.4C115.9,-147.48 129.37,-142.46 141.5,-138.62 146.86,-136.93 152.49,-135.27 158.12,-133.68"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="158.7,-137.15 167.42,-131.13 156.85,-130.4 158.7,-137.15"/>
<g id="a_edge10_Node000002_Node000010"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M105.75,-173.49C116.56,-172 131.87,-169.89 147.8,-167.69"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="147.95,-171.21 157.38,-166.37 147,-164.27 147.95,-171.21"/>
</a>
</g>
</g>
<!-- Node11 -->
<g id="Node000011" class="node">
<title>Node11</title>
<g id="a_Node000011"><a xlink:href="../../dd/d47/namespacemath.html#ab7f29862d30df351c317eedd60a0c656" target="_top" xlink:title="surface area of a sphere ( 4 * pi * r^2)">
<polygon fill="white" stroke="#666666" points="278.25,-93.25 143.75,-93.25 143.75,-74 278.25,-74 278.25,-93.25"/>
<text text-anchor="middle" x="211" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::sphere_surface_area</text>
<g id="a_Node000011"><a xlink:href="../../dd/d47/namespacemath.html#ab31d141f7c5b551746b1eee0eb4dedca" target="_top" xlink:title="area of a rectangle (l * w)">
<polygon fill="white" stroke="#666666" points="264,-130.25 179.75,-130.25 179.75,-111 264,-111 264,-130.25"/>
<text text-anchor="middle" x="221.88" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::rect_area</text>
</a>
</g>
</g>
@@ -156,17 +156,17 @@
<g id="edge12_Node000002_Node000011" class="edge">
<title>Node2&#45;&gt;Node11</title>
<g id="a_edge12_Node000002_Node000011"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M96.61,-147.72C105.25,-135.09 121.87,-113.48 141.5,-101.62 143.64,-100.33 145.87,-99.13 148.16,-98.02"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="149.28,-101.35 157.15,-94.25 146.57,-94.89 149.28,-101.35"/>
<path fill="none" stroke="#63b8ff" d="M101.23,-165.67C111.08,-157.25 126.3,-145.49 141.5,-138.62 149.92,-134.82 159.22,-131.79 168.4,-129.38"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="169.09,-132.81 178,-127.09 167.46,-126 169.09,-132.81"/>
</a>
</g>
</g>
<!-- Node12 -->
<g id="Node000012" class="node">
<title>Node12</title>
<g id="a_Node000012"><a xlink:href="../../dd/d47/namespacemath.html#a971ce57e368f2f631cf1f4ff3f864049" target="_top" xlink:title="area of a square (l * l)">
<polygon fill="white" stroke="#666666" points="259.5,-56.25 162.5,-56.25 162.5,-37 259.5,-37 259.5,-56.25"/>
<text text-anchor="middle" x="211" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::square_area</text>
<g id="a_Node000012"><a xlink:href="../../dd/d47/namespacemath.html#ab7f29862d30df351c317eedd60a0c656" target="_top" xlink:title="surface area of a sphere ( 4 * pi * r^2)">
<polygon fill="white" stroke="#666666" points="289.12,-93.25 154.62,-93.25 154.62,-74 289.12,-74 289.12,-93.25"/>
<text text-anchor="middle" x="221.88" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::sphere_surface_area</text>
</a>
</g>
</g>
@@ -174,17 +174,17 @@
<g id="edge13_Node000002_Node000012" class="edge">
<title>Node2&#45;&gt;Node12</title>
<g id="a_edge13_Node000002_Node000012"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M92.85,-147.77C98.4,-128.68 113.29,-86.61 141.5,-64.62 144.65,-62.17 148.1,-60.05 151.73,-58.21"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="153.06,-61.45 160.93,-54.36 150.35,-55 153.06,-61.45"/>
<path fill="none" stroke="#63b8ff" d="M94.25,-165.7C101.27,-149.59 117.41,-117.89 141.5,-101.62 143.11,-100.54 144.78,-99.51 146.49,-98.55"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="147.82,-101.8 155.34,-94.34 144.81,-95.48 147.82,-101.8"/>
</a>
</g>
</g>
<!-- Node13 -->
<g id="Node000013" class="node">
<title>Node13</title>
<g id="a_Node000013"><a xlink:href="../../dd/d47/namespacemath.html#ab3b920cc56442abd92279ba23b50f4dc" target="_top" xlink:title="area of a triangle (b * h / 2)">
<polygon fill="white" stroke="#666666" points="260.62,-19.25 161.38,-19.25 161.38,0 260.62,0 260.62,-19.25"/>
<text text-anchor="middle" x="211" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::triangle_area</text>
<g id="a_Node000013"><a xlink:href="../../dd/d47/namespacemath.html#a971ce57e368f2f631cf1f4ff3f864049" target="_top" xlink:title="area of a square (l * l)">
<polygon fill="white" stroke="#666666" points="270.38,-56.25 173.38,-56.25 173.38,-37 270.38,-37 270.38,-56.25"/>
<text text-anchor="middle" x="221.88" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::square_area</text>
</a>
</g>
</g>
@@ -192,8 +192,26 @@
<g id="edge14_Node000002_Node000013" class="edge">
<title>Node2&#45;&gt;Node13</title>
<g id="a_edge14_Node000002_Node000013"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M91.15,-147.78C93.92,-123.53 104.49,-60.49 141.5,-27.62 144.3,-25.13 147.41,-22.98 150.71,-21.12"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="152.07,-24.35 159.7,-17.01 149.15,-17.99 152.07,-24.35"/>
<path fill="none" stroke="#63b8ff" d="M91.86,-165.52C95.91,-143.53 108.67,-91.21 141.5,-64.62 147.62,-59.67 154.84,-56.02 162.39,-53.34"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="163.13,-56.77 171.74,-50.59 161.16,-50.05 163.13,-56.77"/>
</a>
</g>
</g>
<!-- Node14 -->
<g id="Node000014" class="node">
<title>Node14</title>
<g id="a_Node000014"><a xlink:href="../../dd/d47/namespacemath.html#ab3b920cc56442abd92279ba23b50f4dc" target="_top" xlink:title="area of a triangle (b * h / 2)">
<polygon fill="white" stroke="#666666" points="271.5,-19.25 172.25,-19.25 172.25,0 271.5,0 271.5,-19.25"/>
<text text-anchor="middle" x="221.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::triangle_area</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node14 -->
<g id="edge15_Node000002_Node000014" class="edge">
<title>Node2&#45;&gt;Node14</title>
<g id="a_edge15_Node000002_Node000014"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M90.56,-165.56C91.94,-138.76 99.57,-65.17 141.5,-27.62 147.09,-22.62 153.78,-18.91 160.87,-16.19"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="161.91,-19.53 170.41,-13.21 159.82,-12.85 161.91,-19.53"/>
</a>
</g>
</g>
@@ -201,8 +219,8 @@
<g id="Node000006" class="node">
<title>Node6</title>
<g id="a_Node000006"><a xlink:href="../../d8/dee/avltree_8cpp.html#ae4a66d8b0c2b0d626aea45977e358c83" target="_top" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="358.75,-167.25 316.5,-167.25 316.5,-148 358.75,-148 358.75,-167.25"/>
<text text-anchor="middle" x="337.62" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">height</text>
<polygon fill="white" stroke="#666666" points="380.5,-167.25 338.25,-167.25 338.25,-148 380.5,-148 380.5,-167.25"/>
<text text-anchor="middle" x="359.38" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">height</text>
</a>
</g>
</g>
@@ -210,8 +228,8 @@
<g id="edge5_Node000005_Node000006" class="edge">
<title>Node5&#45;&gt;Node6</title>
<g id="a_edge5_Node000005_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M262.6,-221.61C268.83,-219.44 274.95,-216.81 280.5,-213.62 297.06,-204.13 312.14,-188.49 322.49,-176.15"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="324.95,-178.68 328.49,-168.69 319.49,-174.3 324.95,-178.68"/>
<path fill="none" stroke="#63b8ff" d="M288.05,-258.54C293.09,-256.38 297.9,-253.77 302.25,-250.62 327.28,-232.55 343.24,-199.57 351.51,-178.13"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="354.7,-179.6 354.8,-169 348.11,-177.22 354.7,-179.6"/>
</a>
</g>
</g>
@@ -219,8 +237,8 @@
<g id="edge6_Node000006_Node000006" class="edge">
<title>Node6&#45;&gt;Node6</title>
<g id="a_edge6_Node000006_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M324.44,-167.54C318.42,-176.15 322.82,-185.25 337.62,-185.25 345.72,-185.25 350.71,-182.53 352.58,-178.65"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="356.08,-178.36 351.05,-169.03 349.16,-179.46 356.08,-178.36"/>
<path fill="none" stroke="#63b8ff" d="M346.19,-167.54C340.17,-176.15 344.57,-185.25 359.38,-185.25 367.47,-185.25 372.46,-182.53 374.33,-178.65"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="377.83,-178.36 372.8,-169.03 370.91,-179.46 377.83,-178.36"/>
</a>
</g>
</g>
@@ -228,8 +246,8 @@
<g id="Node000007" class="node">
<title>Node7</title>
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="449,-167.25 394.75,-167.25 394.75,-148 449,-148 449,-167.25"/>
<text text-anchor="middle" x="421.88" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::max</text>
<polygon fill="white" stroke="#666666" points="470.75,-167.25 416.5,-167.25 416.5,-148 470.75,-148 470.75,-167.25"/>
<text text-anchor="middle" x="443.62" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::max</text>
</a>
</g>
</g>
@@ -237,26 +255,26 @@
<g id="edge7_Node000006_Node000007" class="edge">
<title>Node6&#45;&gt;Node7</title>
<g id="a_edge7_Node000006_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M358.96,-157.62C366.2,-157.62 374.61,-157.62 382.85,-157.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="382.74,-161.13 392.74,-157.63 382.74,-154.13 382.74,-161.13"/>
<path fill="none" stroke="#63b8ff" d="M380.71,-157.62C387.95,-157.62 396.36,-157.62 404.6,-157.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="404.49,-161.13 414.49,-157.63 404.49,-154.13 404.49,-161.13"/>
</a>
</g>
</g>
<!-- Node9&#45;&gt;Node6 -->
<g id="edge10_Node000009_Node000006" class="edge">
<title>Node9&#45;&gt;Node6</title>
<g id="a_edge10_Node000009_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M273.95,-157.62C284.69,-157.62 295.44,-157.62 304.93,-157.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="304.67,-161.13 314.67,-157.63 304.67,-154.13 304.67,-161.13"/>
<!-- Node10&#45;&gt;Node6 -->
<g id="edge11_Node000010_Node000006" class="edge">
<title>Node10&#45;&gt;Node6</title>
<g id="a_edge11_Node000010_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M285.07,-157.62C299.52,-157.62 314.3,-157.62 326.78,-157.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="326.43,-161.13 336.43,-157.63 326.43,-154.13 326.43,-161.13"/>
</a>
</g>
</g>
<!-- Node13&#45;&gt;Node6 -->
<g id="edge15_Node000013_Node000006" class="edge">
<title>Node13&#45;&gt;Node6</title>
<g id="a_edge15_Node000013_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M260.79,-16.53C267.95,-19.15 274.81,-22.74 280.5,-27.62 313.63,-56.1 327.81,-107.69 333.38,-136.57"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="329.91,-137.01 335.07,-146.27 336.8,-135.82 329.91,-137.01"/>
<!-- Node14&#45;&gt;Node6 -->
<g id="edge16_Node000014_Node000006" class="edge">
<title>Node14&#45;&gt;Node6</title>
<g id="a_edge16_Node000014_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M271.92,-13.31C282.82,-16.05 293.66,-20.49 302.25,-27.62 335.85,-55.54 349.85,-107.34 355.27,-136.41"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="351.8,-136.9 356.89,-146.19 358.7,-135.75 351.8,-136.9"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 14 KiB