Documentation for 6376bf46af
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: math/factorial.cpp File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
@@ -116,19 +116,19 @@ Include dependency graph for factorial.cpp:</div>
|
||||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
|
||||
Namespaces</h2></td></tr>
|
||||
<tr class="memitem:dd/d47/namespacemath"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d47/namespacemath.html">math</a></td></tr>
|
||||
<tr class="memitem:dd/d47/namespacemath" id="r_dd/d47/namespacemath"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d47/namespacemath.html">math</a></td></tr>
|
||||
<tr class="memdesc:dd/d47/namespacemath"><td class="mdescLeft"> </td><td class="mdescRight">for IO operations <br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a7e78996673df791014cfe540b183456a"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d47/namespacemath.html#a7e78996673df791014cfe540b183456a">math::factorial</a> (uint8_t n)</td></tr>
|
||||
<tr class="memitem:a7e78996673df791014cfe540b183456a" id="r_a7e78996673df791014cfe540b183456a"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d47/namespacemath.html#a7e78996673df791014cfe540b183456a">math::factorial</a> (uint8_t n)</td></tr>
|
||||
<tr class="memdesc:a7e78996673df791014cfe540b183456a"><td class="mdescLeft"> </td><td class="mdescRight">function to find factorial of given number <br /></td></tr>
|
||||
<tr class="separator:a7e78996673df791014cfe540b183456a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a483bb8ccf42aaf7375a83e91490eda1e"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d00/factorial_8cpp.html#a483bb8ccf42aaf7375a83e91490eda1e">tests</a> ()</td></tr>
|
||||
<tr class="memitem:a483bb8ccf42aaf7375a83e91490eda1e" id="r_a483bb8ccf42aaf7375a83e91490eda1e"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d00/factorial_8cpp.html#a483bb8ccf42aaf7375a83e91490eda1e">tests</a> ()</td></tr>
|
||||
<tr class="memdesc:a483bb8ccf42aaf7375a83e91490eda1e"><td class="mdescLeft"> </td><td class="mdescRight">Self-test implementations. <br /></td></tr>
|
||||
<tr class="separator:a483bb8ccf42aaf7375a83e91490eda1e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d00/factorial_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d00/factorial_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <br /></td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
@@ -221,7 +221,7 @@ Here is the call graph for this function:</div>
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_296d53ceaeaa7e099814a6def439fe8a.html">math</a></li><li class="navelem"><a class="el" href="../../d9/d00/factorial_8cpp.html">factorial.cpp</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<map id="tests" name="tests">
|
||||
<area shape="rect" id="Node000001" title="Self-test implementations." alt="" coords="5,29,56,55"/>
|
||||
<area shape="rect" id="Node000002" href="$dd/d47/namespacemath.html#a7e78996673df791014cfe540b183456a" title="function to find factorial of given number" alt="" coords="104,29,208,55"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="56,40,89,40,89,45,56,45"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000002" title=" " alt="" coords="134,30,130,21,132,11,141,5,156,3,172,6,180,13,177,17,170,10,156,8,143,10,137,14,135,20,139,28"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="56,40,88,40,88,45,56,45"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000002" title=" " alt="" coords="134,30,130,21,132,11,141,5,156,3,172,5,180,12,176,16,169,10,156,8,143,10,137,14,135,20,139,28"/>
|
||||
</map>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 8.1.0 (20230707.0739)
|
||||
<!-- Generated by graphviz version 9.0.0 (20230911.1827)
|
||||
-->
|
||||
<!-- Title: tests Pages: 1 -->
|
||||
<svg width="160pt" height="45pt"
|
||||
@@ -40,8 +40,8 @@
|
||||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M38.05,-9.62C45.27,-9.62 53.96,-9.62 62.8,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="62.57,-13.13 72.57,-9.62 62.57,-6.13 62.57,-13.13"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M38.05,-9.62C45.11,-9.62 53.58,-9.62 62.22,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="62.06,-13.13 72.06,-9.63 62.06,-6.13 62.06,-13.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -49,8 +49,8 @@
|
||||
<g id="edge2_Node000002_Node000002" class="edge">
|
||||
<title>Node2->Node2</title>
|
||||
<g id="a_edge2_Node000002_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M98.16,-19.54C91.45,-28.15 96.35,-37.25 112.88,-37.25 122.17,-37.25 127.79,-34.37 129.73,-30.32"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="132.97,-29.67 127.59,-20.54 126.1,-31.03 132.97,-29.67"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M98.16,-19.54C91.45,-28.15 96.35,-37.25 112.88,-37.25 121.91,-37.25 127.47,-34.53 129.56,-30.65"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="133.05,-30.26 127.86,-21.03 126.15,-31.49 133.05,-30.26"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 8.1.0 (20230707.0739)
|
||||
<!-- Generated by graphviz version 9.0.0 (20230911.1827)
|
||||
-->
|
||||
<!-- Title: tests Pages: 1 -->
|
||||
<svg width="160pt" height="45pt"
|
||||
@@ -30,8 +30,8 @@
|
||||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M38.05,-9.62C45.27,-9.62 53.96,-9.62 62.8,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="62.57,-13.13 72.57,-9.62 62.57,-6.13 62.57,-13.13"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M38.05,-9.62C45.11,-9.62 53.58,-9.62 62.22,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="62.06,-13.13 72.06,-9.63 62.06,-6.13 62.06,-13.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -39,8 +39,8 @@
|
||||
<g id="edge2_Node000002_Node000002" class="edge">
|
||||
<title>Node2->Node2</title>
|
||||
<g id="a_edge2_Node000002_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M98.16,-19.54C91.45,-28.15 96.35,-37.25 112.88,-37.25 122.17,-37.25 127.79,-34.37 129.73,-30.32"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="132.97,-29.67 127.59,-20.54 126.1,-31.03 132.97,-29.67"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M98.16,-19.54C91.45,-28.15 96.35,-37.25 112.88,-37.25 121.91,-37.25 127.47,-34.53 129.56,-30.65"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="133.05,-30.26 127.86,-21.03 126.15,-31.49 133.05,-30.26"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
@@ -4,5 +4,5 @@
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="55,40,88,40,88,45,55,45"/>
|
||||
<area shape="rect" id="Node000003" href="$dd/d47/namespacemath.html#a7e78996673df791014cfe540b183456a" title="function to find factorial of given number" alt="" coords="201,29,305,55"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="153,40,186,40,186,45,153,45"/>
|
||||
<area shape="poly" id="edge3_Node000003_Node000003" title=" " alt="" coords="231,30,227,21,230,11,239,5,253,3,269,6,277,13,274,17,267,10,253,8,241,10,234,14,232,20,236,28"/>
|
||||
<area shape="poly" id="edge3_Node000003_Node000003" title=" " alt="" coords="231,30,227,21,230,11,239,5,253,3,269,5,277,12,274,16,267,10,253,8,241,10,234,14,232,20,236,28"/>
|
||||
</map>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 8.1.0 (20230707.0739)
|
||||
<!-- Generated by graphviz version 9.0.0 (20230911.1827)
|
||||
-->
|
||||
<!-- Title: main Pages: 1 -->
|
||||
<svg width="233pt" height="45pt"
|
||||
@@ -40,8 +40,8 @@
|
||||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M37.14,-9.62C44.64,-9.62 53.57,-9.62 61.98,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.94,-13.13 71.94,-9.62 61.94,-6.13 61.94,-13.13"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M37.14,-9.62C44.55,-9.62 53.37,-9.62 61.69,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.43,-13.13 71.43,-9.63 61.43,-6.13 61.43,-13.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -58,8 +58,8 @@
|
||||
<g id="edge2_Node000002_Node000003" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M111.05,-9.62C118.27,-9.62 126.96,-9.62 135.8,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="135.57,-13.13 145.57,-9.62 135.57,-6.13 135.57,-13.13"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M111.05,-9.62C118.11,-9.62 126.58,-9.62 135.22,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="135.06,-13.13 145.06,-9.63 135.06,-6.13 135.06,-13.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -67,8 +67,8 @@
|
||||
<g id="edge3_Node000003_Node000003" class="edge">
|
||||
<title>Node3->Node3</title>
|
||||
<g id="a_edge3_Node000003_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M171.16,-19.54C164.45,-28.15 169.35,-37.25 185.88,-37.25 195.17,-37.25 200.79,-34.37 202.73,-30.32"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="205.97,-29.67 200.59,-20.54 199.1,-31.03 205.97,-29.67"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M171.16,-19.54C164.45,-28.15 169.35,-37.25 185.88,-37.25 194.91,-37.25 200.47,-34.53 202.56,-30.65"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="206.05,-30.26 200.86,-21.03 199.15,-31.49 206.05,-30.26"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 8.1.0 (20230707.0739)
|
||||
<!-- Generated by graphviz version 9.0.0 (20230911.1827)
|
||||
-->
|
||||
<!-- Title: main Pages: 1 -->
|
||||
<svg width="233pt" height="45pt"
|
||||
@@ -30,8 +30,8 @@
|
||||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M37.14,-9.62C44.64,-9.62 53.57,-9.62 61.98,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.94,-13.13 71.94,-9.62 61.94,-6.13 61.94,-13.13"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M37.14,-9.62C44.55,-9.62 53.37,-9.62 61.69,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.43,-13.13 71.43,-9.63 61.43,-6.13 61.43,-13.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -48,8 +48,8 @@
|
||||
<g id="edge2_Node000002_Node000003" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M111.05,-9.62C118.27,-9.62 126.96,-9.62 135.8,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="135.57,-13.13 145.57,-9.62 135.57,-6.13 135.57,-13.13"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M111.05,-9.62C118.11,-9.62 126.58,-9.62 135.22,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="135.06,-13.13 145.06,-9.63 135.06,-6.13 135.06,-13.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -57,8 +57,8 @@
|
||||
<g id="edge3_Node000003_Node000003" class="edge">
|
||||
<title>Node3->Node3</title>
|
||||
<g id="a_edge3_Node000003_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M171.16,-19.54C164.45,-28.15 169.35,-37.25 185.88,-37.25 195.17,-37.25 200.79,-34.37 202.73,-30.32"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="205.97,-29.67 200.59,-20.54 199.1,-31.03 205.97,-29.67"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M171.16,-19.54C164.45,-28.15 169.35,-37.25 185.88,-37.25 194.91,-37.25 200.47,-34.53 202.56,-30.65"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="206.05,-30.26 200.86,-21.03 199.15,-31.49 206.05,-30.26"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |