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++: dynamic_programming/armstrong_number.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');
|
||||
@@ -117,20 +117,20 @@ Include dependency graph for armstrong_number.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/d24/namespacedynamic__programming"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d24/namespacedynamic__programming.html">dynamic_programming</a></td></tr>
|
||||
<tr class="memitem:dd/d24/namespacedynamic__programming" id="r_dd/d24/namespacedynamic__programming"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d24/namespacedynamic__programming.html">dynamic_programming</a></td></tr>
|
||||
<tr class="memdesc:dd/d24/namespacedynamic__programming"><td class="mdescLeft"> </td><td class="mdescRight">Dynamic Programming algorithms. <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:af046365a8d77a1267acc082f86135a26"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:af046365a8d77a1267acc082f86135a26" id="r_af046365a8d77a1267acc082f86135a26"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:af046365a8d77a1267acc082f86135a26"><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../dd/d24/namespacedynamic__programming.html#af046365a8d77a1267acc082f86135a26">dynamic_programming::is_armstrong</a> (const T &number)</td></tr>
|
||||
<tr class="memdesc:af046365a8d77a1267acc082f86135a26"><td class="mdescLeft"> </td><td class="mdescRight">Checks if the given number is armstrong or not. <br /></td></tr>
|
||||
<tr class="separator:af046365a8d77a1267acc082f86135a26"><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="../../d1/db7/dynamic__programming_2armstrong__number_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="../../d1/db7/dynamic__programming_2armstrong__number_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="../../d1/db7/dynamic__programming_2armstrong__number_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="../../d1/db7/dynamic__programming_2armstrong__number_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>
|
||||
@@ -229,7 +229,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_8a20dd5bfd5341a725342bf72b6b686f.html">dynamic_programming</a></li><li class="navelem"><a class="el" href="../../d1/db7/dynamic__programming_2armstrong__number_8cpp.html">armstrong_number.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,7 +1,7 @@
|
||||
<map id="tests" name="tests">
|
||||
<area shape="rect" id="Node000001" title="Self-test implementations." alt="" coords="5,13,56,39"/>
|
||||
<area shape="rect" id="Node000002" href="$dd/d24/namespacedynamic__programming.html#af046365a8d77a1267acc082f86135a26" title="Checks if the given number is armstrong or not." alt="" coords="104,5,256,46"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="56,23,89,23,89,28,56,28"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="56,23,88,23,88,28,56,28"/>
|
||||
<area shape="rect" id="Node000003" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/pow.html#" title=" " alt="" coords="304,13,375,39"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="257,23,289,23,289,28,257,28"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="257,23,288,23,288,28,257,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="286pt" height="39pt"
|
||||
@@ -41,8 +41,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.04,-15.25C45.14,-15.25 53.77,-15.25 62.85,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="62.66,-18.75 72.66,-15.25 62.66,-11.75 62.66,-18.75"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M38.04,-15.25C44.99,-15.25 53.39,-15.25 62.26,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="62.15,-18.75 72.15,-15.25 62.15,-11.75 62.15,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -59,8 +59,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="M188.4,-15.25C196.65,-15.25 204.97,-15.25 212.71,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="212.54,-18.75 222.54,-15.25 212.54,-11.75 212.54,-18.75"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M188.4,-15.25C196.46,-15.25 204.59,-15.25 212.17,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="212.03,-18.75 222.03,-15.25 212.03,-11.75 212.03,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 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="286pt" height="39pt"
|
||||
@@ -31,8 +31,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.04,-15.25C45.14,-15.25 53.77,-15.25 62.85,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="62.66,-18.75 72.66,-15.25 62.66,-11.75 62.66,-18.75"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M38.04,-15.25C44.99,-15.25 53.39,-15.25 62.26,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="62.15,-18.75 72.15,-15.25 62.15,-11.75 62.15,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -49,8 +49,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="M188.4,-15.25C196.65,-15.25 204.97,-15.25 212.71,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="212.54,-18.75 222.54,-15.25 212.54,-11.75 212.54,-18.75"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M188.4,-15.25C196.46,-15.25 204.59,-15.25 212.17,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="212.03,-18.75 222.03,-15.25 212.03,-11.75 212.03,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.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="359pt" height="39pt"
|
||||
@@ -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,-15.25C44.64,-15.25 53.57,-15.25 61.98,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.94,-18.75 71.94,-15.25 61.94,-11.75 61.94,-18.75"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M37.14,-15.25C44.55,-15.25 53.37,-15.25 61.69,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.43,-18.75 71.43,-15.25 61.43,-11.75 61.43,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -59,8 +59,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.04,-15.25C118.14,-15.25 126.77,-15.25 135.85,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="135.66,-18.75 145.66,-15.25 135.66,-11.75 135.66,-18.75"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M111.04,-15.25C117.99,-15.25 126.39,-15.25 135.26,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="135.15,-18.75 145.15,-15.25 135.15,-11.75 135.15,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -77,8 +77,8 @@
|
||||
<g id="edge3_Node000003_Node000004" class="edge">
|
||||
<title>Node3->Node4</title>
|
||||
<g id="a_edge3_Node000003_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M261.4,-15.25C269.65,-15.25 277.97,-15.25 285.71,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="285.54,-18.75 295.54,-15.25 285.54,-11.75 285.54,-18.75"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M261.4,-15.25C269.46,-15.25 277.59,-15.25 285.17,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="285.03,-18.75 295.03,-15.25 285.03,-11.75 285.03,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 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="359pt" height="39pt"
|
||||
@@ -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,-15.25C44.64,-15.25 53.57,-15.25 61.98,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.94,-18.75 71.94,-15.25 61.94,-11.75 61.94,-18.75"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M37.14,-15.25C44.55,-15.25 53.37,-15.25 61.69,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.43,-18.75 71.43,-15.25 61.43,-11.75 61.43,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -49,8 +49,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.04,-15.25C118.14,-15.25 126.77,-15.25 135.85,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="135.66,-18.75 145.66,-15.25 135.66,-11.75 135.66,-18.75"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M111.04,-15.25C117.99,-15.25 126.39,-15.25 135.26,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="135.15,-18.75 145.15,-15.25 135.15,-11.75 135.15,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -67,8 +67,8 @@
|
||||
<g id="edge3_Node000003_Node000004" class="edge">
|
||||
<title>Node3->Node4</title>
|
||||
<g id="a_edge3_Node000003_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M261.4,-15.25C269.65,-15.25 277.97,-15.25 285.71,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="285.54,-18.75 295.54,-15.25 285.54,-11.75 285.54,-18.75"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M261.4,-15.25C269.46,-15.25 277.59,-15.25 285.17,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="285.03,-18.75 295.03,-15.25 285.03,-11.75 285.03,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |