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/modular_exponentiation.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,18 +116,18 @@ Include dependency graph for modular_exponentiation.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:afcd07701d73ed65cd616bcba02737f3d"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d47/namespacemath.html#afcd07701d73ed65cd616bcba02737f3d">math::power</a> (uint64_t a, uint64_t b, uint64_t c)</td></tr>
|
||||
<tr class="memitem:afcd07701d73ed65cd616bcba02737f3d" id="r_afcd07701d73ed65cd616bcba02737f3d"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d47/namespacemath.html#afcd07701d73ed65cd616bcba02737f3d">math::power</a> (uint64_t a, uint64_t b, uint64_t c)</td></tr>
|
||||
<tr class="memdesc:afcd07701d73ed65cd616bcba02737f3d"><td class="mdescLeft"> </td><td class="mdescRight">This function calculates a raised to exponent b under modulo c using modular exponentiation. <br /></td></tr>
|
||||
<tr class="separator:afcd07701d73ed65cd616bcba02737f3d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6d/modular__exponentiation_8cpp.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d" id="r_aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6d/modular__exponentiation_8cpp.html#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
|
||||
<tr class="separator:aa8dca7b867074164d5f45b0f3851269d"><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="../../d0/d6d/modular__exponentiation_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="../../d0/d6d/modular__exponentiation_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_296d53ceaeaa7e099814a6def439fe8a.html">math</a></li><li class="navelem"><a class="el" href="../../d0/d6d/modular__exponentiation_8cpp.html">modular_exponentiation.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="test" name="test">
|
||||
<area shape="rect" id="Node000001" title=" " alt="" coords="5,31,49,56"/>
|
||||
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="108,5,179,31"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="49,36,93,26,94,32,50,41"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="49,36,92,27,93,32,50,41"/>
|
||||
<area shape="rect" id="Node000003" href="$dd/d47/namespacemath.html#afcd07701d73ed65cd616bcba02737f3d" title="This function calculates a raised to exponent b under modulo c using modular exponentiation." alt="" coords="97,55,190,80"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="50,45,83,52,81,57,49,51"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="50,45,82,52,81,57,49,51"/>
|
||||
</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: test Pages: 1 -->
|
||||
<svg width="147pt" height="64pt"
|
||||
@@ -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="M32.89,-31.11C42.23,-33.19 54.52,-35.93 66.17,-38.53"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="65.06,-42.09 75.59,-40.85 66.59,-35.26 65.06,-42.09"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M32.89,-31.11C42.04,-33.15 54.02,-35.82 65.46,-38.37"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="64.59,-41.76 75.11,-40.52 66.11,-34.93 64.59,-41.76"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -58,8 +58,8 @@
|
||||
<g id="edge2_Node000001_Node000003" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M32.89,-24.32C39.93,-22.84 48.63,-21 57.48,-19.13"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="58.18,-22.35 67.24,-16.86 56.73,-15.5 58.18,-22.35"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M32.89,-24.32C39.85,-22.85 48.44,-21.04 57.19,-19.19"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="57.69,-22.66 66.76,-17.17 56.25,-15.81 57.69,-22.66"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.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: test Pages: 1 -->
|
||||
<svg width="147pt" height="64pt"
|
||||
@@ -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="M32.89,-31.11C42.23,-33.19 54.52,-35.93 66.17,-38.53"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="65.06,-42.09 75.59,-40.85 66.59,-35.26 65.06,-42.09"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M32.89,-31.11C42.04,-33.15 54.02,-35.82 65.46,-38.37"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="64.59,-41.76 75.11,-40.52 66.11,-34.93 64.59,-41.76"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -48,8 +48,8 @@
|
||||
<g id="edge2_Node000001_Node000003" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M32.89,-24.32C39.93,-22.84 48.63,-21 57.48,-19.13"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="58.18,-22.35 67.24,-16.86 56.73,-15.5 58.18,-22.35"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M32.89,-24.32C39.85,-22.85 48.44,-21.04 57.19,-19.19"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="57.69,-22.66 66.76,-17.17 56.25,-15.81 57.69,-22.66"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
@@ -1,9 +1,9 @@
|
||||
<map id="main" name="main">
|
||||
<area shape="rect" id="Node000001" title="Main function." alt="" coords="5,31,55,56"/>
|
||||
<area shape="rect" id="Node000002" href="$d0/d6d/modular__exponentiation_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" title=" " alt="" coords="103,31,146,56"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="55,41,88,41,88,46,55,46"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="55,41,87,41,87,46,55,46"/>
|
||||
<area shape="rect" id="Node000003" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="205,5,276,31"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="146,36,190,26,191,32,147,41"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="146,36,189,27,191,32,147,41"/>
|
||||
<area shape="rect" id="Node000004" href="$dd/d47/namespacemath.html#afcd07701d73ed65cd616bcba02737f3d" title="This function calculates a raised to exponent b under modulo c using modular exponentiation." alt="" coords="194,55,287,80"/>
|
||||
<area shape="poly" id="edge3_Node000002_Node000004" title=" " alt="" coords="147,45,180,52,179,57,146,51"/>
|
||||
<area shape="poly" id="edge3_Node000002_Node000004" title=" " alt="" coords="147,45,179,52,178,57,146,51"/>
|
||||
</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="220pt" height="64pt"
|
||||
@@ -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.2,-27.62C44.67,-27.62 53.52,-27.62 61.73,-27.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.71,-31.13 71.71,-27.62 61.71,-24.13 61.71,-31.13"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M37.2,-27.62C44.58,-27.62 53.31,-27.62 61.45,-27.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.2,-31.13 71.2,-27.63 61.2,-24.13 61.2,-31.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="M105.89,-31.11C115.23,-33.19 127.52,-35.93 139.17,-38.53"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="138.06,-42.09 148.59,-40.85 139.59,-35.26 138.06,-42.09"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M105.89,-31.11C115.04,-33.15 127.02,-35.82 138.46,-38.37"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="137.59,-41.76 148.11,-40.52 139.11,-34.93 137.59,-41.76"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -76,8 +76,8 @@
|
||||
<g id="edge3_Node000002_Node000004" class="edge">
|
||||
<title>Node2->Node4</title>
|
||||
<g id="a_edge3_Node000002_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M105.89,-24.32C112.93,-22.84 121.63,-21 130.48,-19.13"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="131.18,-22.35 140.24,-16.86 129.73,-15.5 131.18,-22.35"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M105.89,-24.32C112.85,-22.85 121.44,-21.04 130.19,-19.19"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="130.69,-22.66 139.76,-17.17 129.25,-15.81 130.69,-22.66"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 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="220pt" height="64pt"
|
||||
@@ -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.2,-27.62C44.67,-27.62 53.52,-27.62 61.73,-27.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.71,-31.13 71.71,-27.62 61.71,-24.13 61.71,-31.13"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M37.2,-27.62C44.58,-27.62 53.31,-27.62 61.45,-27.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.2,-31.13 71.2,-27.63 61.2,-24.13 61.2,-31.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="M105.89,-31.11C115.23,-33.19 127.52,-35.93 139.17,-38.53"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="138.06,-42.09 148.59,-40.85 139.59,-35.26 138.06,-42.09"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M105.89,-31.11C115.04,-33.15 127.02,-35.82 138.46,-38.37"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="137.59,-41.76 148.11,-40.52 139.11,-34.93 137.59,-41.76"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -66,8 +66,8 @@
|
||||
<g id="edge3_Node000002_Node000004" class="edge">
|
||||
<title>Node2->Node4</title>
|
||||
<g id="a_edge3_Node000002_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M105.89,-24.32C112.93,-22.84 121.63,-21 130.48,-19.13"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="131.18,-22.35 140.24,-16.86 129.73,-15.5 131.18,-22.35"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M105.89,-24.32C112.85,-22.85 121.44,-21.04 130.19,-19.19"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="130.69,-22.66 139.76,-17.17 129.25,-15.81 130.69,-22.66"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |