mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-07-16 11:32:44 +08:00
Documentation for 1a1570d775
This commit is contained in:
@@ -111,7 +111,7 @@ $(document).ready(function(){initNavTree('d4/d38/power__of__two_8cpp.html','../.
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for power_of_two.cpp:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../dd/dad/power__of__two_8cpp__incl.svg" width="175" height="110"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../dd/dad/power__of__two_8cpp__incl.svg" width="172" height="111"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div><table class="memberdecls">
|
||||
@@ -177,7 +177,7 @@ Algorithm</h3>
|
||||
</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="../../d4/d38/power__of__two_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg" width="342" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d4/d38/power__of__two_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg" width="339" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -228,7 +228,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="../../d4/d38/power__of__two_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.svg" width="243" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d4/d38/power__of__two_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.svg" width="242" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -278,7 +278,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="../../d4/d38/power__of__two_8cpp_adfd6be45be425ae28c62ce3bfb4b40dc_cgraph.svg" width="310" height="86"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d4/d38/power__of__two_8cpp_adfd6be45be425ae28c62ce3bfb4b40dc_cgraph.svg" width="308" height="86"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<map id="test" name="test">
|
||||
<area shape="rect" id="node1" title="Self-test implementations." alt="" coords="5,5,49,31"/>
|
||||
<area shape="rect" id="node2" href="$dd/d47/namespacemath.html#a8a48be4d7f14e34c5c92925bc1cbf3bb" title="This function finds whether a number is power of 2 or not." alt="" coords="97,5,237,31"/>
|
||||
<area shape="rect" id="node2" href="$dd/d47/namespacemath.html#a8a48be4d7f14e34c5c92925bc1cbf3bb" title="This function finds whether a number is power of 2 or not." alt="" coords="97,5,236,31"/>
|
||||
</map>
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
<?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.0.2 (20230410.1723)
|
||||
<!-- Generated by graphviz version 8.0.4 (20230421.1958)
|
||||
-->
|
||||
<!-- Title: test Pages: 1 -->
|
||||
<svg width="182pt" height="27pt"
|
||||
viewBox="0.00 0.00 182.00 27.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 23)">
|
||||
<svg width="181pt" height="27pt"
|
||||
viewBox="0.00 0.00 181.00 27.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 23.25)">
|
||||
<title>test</title>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="Self-test implementations.">
|
||||
<polygon fill="#999999" stroke="#666666" points="33,-19 0,-19 0,0 33,0 33,-19"/>
|
||||
<text text-anchor="middle" x="16.5" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
|
||||
<polygon fill="#999999" stroke="#666666" points="32.5,-19.25 0,-19.25 0,0 32.5,0 32.5,-19.25"/>
|
||||
<text text-anchor="middle" x="16.25" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -21,16 +21,16 @@
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:href="../../dd/d47/namespacemath.html#a8a48be4d7f14e34c5c92925bc1cbf3bb" target="_top" xlink:title="This function finds whether a number is power of 2 or not.">
|
||||
<polygon fill="white" stroke="#666666" points="174,-19 69,-19 69,0 174,0 174,-19"/>
|
||||
<text text-anchor="middle" x="121.5" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">math::power_of_two</text>
|
||||
<polygon fill="white" stroke="#666666" points="173,-19.25 68.5,-19.25 68.5,0 173,0 173,-19.25"/>
|
||||
<text text-anchor="middle" x="120.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::power_of_two</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="#63b8ff" d="M33.14,-9.5C40.1,-9.5 48.79,-9.5 57.97,-9.5"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="57.9,-13 67.9,-9.5 57.9,-6 57.9,-13"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M32.82,-9.62C39.74,-9.62 48.39,-9.62 57.53,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="57.4,-13.13 67.4,-9.62 57.4,-6.13 57.4,-13.13"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.6 KiB |
@@ -1,5 +1,5 @@
|
||||
<map id="user_input_test" name="user_input_test">
|
||||
<area shape="rect" id="node1" title="Take user input in the test cases (optional; currently commented)" alt="" coords="5,31,116,56"/>
|
||||
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="198,5,270,31"/>
|
||||
<area shape="rect" id="node3" href="$dd/d47/namespacemath.html#a8a48be4d7f14e34c5c92925bc1cbf3bb" title="This function finds whether a number is power of 2 or not." alt="" coords="164,55,304,80"/>
|
||||
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="198,5,269,31"/>
|
||||
<area shape="rect" id="node3" href="$dd/d47/namespacemath.html#a8a48be4d7f14e34c5c92925bc1cbf3bb" title="This function finds whether a number is power of 2 or not." alt="" coords="164,55,303,80"/>
|
||||
</map>
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
<?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.0.2 (20230410.1723)
|
||||
<!-- Generated by graphviz version 8.0.4 (20230421.1958)
|
||||
-->
|
||||
<!-- Title: user_input_test Pages: 1 -->
|
||||
<svg width="232pt" height="64pt"
|
||||
viewBox="0.00 0.00 232.00 64.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 60)">
|
||||
<svg width="231pt" height="64pt"
|
||||
viewBox="0.00 0.00 231.25 64.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 60.25)">
|
||||
<title>user_input_test</title>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="Take user input in the test cases (optional; currently commented)">
|
||||
<polygon fill="#999999" stroke="#666666" points="83,-37 0,-37 0,-18 83,-18 83,-37"/>
|
||||
<text text-anchor="middle" x="41.5" y="-25" font-family="Helvetica,sans-Serif" font-size="10.00">user_input_test</text>
|
||||
<polygon fill="#999999" stroke="#666666" points="82.75,-37.25 0,-37.25 0,-18 82.75,-18 82.75,-37.25"/>
|
||||
<text text-anchor="middle" x="41.38" y="-23.75" font-family="Helvetica,sans-Serif" font-size="10.00">user_input_test</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -21,31 +21,31 @@
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="198.5,-56 144.5,-56 144.5,-37 198.5,-37 198.5,-56"/>
|
||||
<text text-anchor="middle" x="171.5" y="-44" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
|
||||
<polygon fill="white" stroke="#666666" points="197.75,-56.25 144.25,-56.25 144.25,-37 197.75,-37 197.75,-56.25"/>
|
||||
<text text-anchor="middle" x="171" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="#63b8ff" d="M83.35,-33.56C99.37,-35.94 117.61,-38.65 133.26,-40.97"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="132.72,-44.58 143.12,-42.58 133.75,-37.65 132.72,-44.58"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M83.11,-33.69C99.19,-36.08 117.54,-38.81 133.21,-41.15"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="132.68,-44.76 143.09,-42.77 133.71,-37.83 132.68,-44.76"/>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a xlink:href="../../dd/d47/namespacemath.html#a8a48be4d7f14e34c5c92925bc1cbf3bb" target="_top" xlink:title="This function finds whether a number is power of 2 or not.">
|
||||
<polygon fill="white" stroke="#666666" points="224,-19 119,-19 119,0 224,0 224,-19"/>
|
||||
<text text-anchor="middle" x="171.5" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">math::power_of_two</text>
|
||||
<polygon fill="white" stroke="#666666" points="223.25,-19.25 118.75,-19.25 118.75,0 223.25,0 223.25,-19.25"/>
|
||||
<text text-anchor="middle" x="171" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::power_of_two</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<path fill="none" stroke="#63b8ff" d="M83.35,-21.76C91.27,-20.64 99.74,-19.45 108.17,-18.26"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="108.37,-21.63 117.79,-16.77 107.4,-14.7 108.37,-21.63"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M83.11,-21.88C90.92,-20.78 99.26,-19.6 107.58,-18.43"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="108.03,-21.76 117.44,-16.9 107.05,-14.83 108.03,-21.76"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.4 KiB |
@@ -1,5 +1,5 @@
|
||||
<map id="main" name="main">
|
||||
<area shape="rect" id="node1" title="Main function." alt="" coords="5,5,56,31"/>
|
||||
<area shape="rect" id="node2" href="$d4/d38/power__of__two_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" title="Self-test implementations." alt="" coords="104,5,148,31"/>
|
||||
<area shape="rect" id="node3" href="$dd/d47/namespacemath.html#a8a48be4d7f14e34c5c92925bc1cbf3bb" title="This function finds whether a number is power of 2 or not." alt="" coords="196,5,336,31"/>
|
||||
<area shape="rect" id="node1" title="Main function." alt="" coords="5,5,55,31"/>
|
||||
<area shape="rect" id="node2" href="$d4/d38/power__of__two_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" title="Self-test implementations." alt="" coords="103,5,146,31"/>
|
||||
<area shape="rect" id="node3" href="$dd/d47/namespacemath.html#a8a48be4d7f14e34c5c92925bc1cbf3bb" title="This function finds whether a number is power of 2 or not." alt="" coords="194,5,333,31"/>
|
||||
</map>
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
<?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.0.2 (20230410.1723)
|
||||
<!-- Generated by graphviz version 8.0.4 (20230421.1958)
|
||||
-->
|
||||
<!-- Title: main Pages: 1 -->
|
||||
<svg width="256pt" height="27pt"
|
||||
viewBox="0.00 0.00 256.00 27.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 23)">
|
||||
<svg width="254pt" height="27pt"
|
||||
viewBox="0.00 0.00 254.00 27.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 23.25)">
|
||||
<title>main</title>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="Main function.">
|
||||
<polygon fill="#999999" stroke="#666666" points="38,-19 0,-19 0,0 38,0 38,-19"/>
|
||||
<text text-anchor="middle" x="19" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
|
||||
<polygon fill="#999999" stroke="#666666" points="37,-19.25 0,-19.25 0,0 37,0 37,-19.25"/>
|
||||
<text text-anchor="middle" x="18.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -21,31 +21,31 @@
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:href="../../d4/d38/power__of__two_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" target="_top" xlink:title="Self-test implementations.">
|
||||
<polygon fill="white" stroke="#666666" points="107,-19 74,-19 74,0 107,0 107,-19"/>
|
||||
<text text-anchor="middle" x="90.5" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
|
||||
<polygon fill="white" stroke="#666666" points="105.5,-19.25 73,-19.25 73,0 105.5,0 105.5,-19.25"/>
|
||||
<text text-anchor="middle" x="89.25" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="#63b8ff" d="M38.26,-9.5C45.89,-9.5 54.9,-9.5 63.23,-9.5"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="62.95,-13 72.95,-9.5 62.95,-6 62.95,-13"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M37.2,-9.62C44.67,-9.62 53.52,-9.62 61.73,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.71,-13.13 71.71,-9.62 61.71,-6.13 61.71,-13.13"/>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a xlink:href="../../dd/d47/namespacemath.html#a8a48be4d7f14e34c5c92925bc1cbf3bb" target="_top" xlink:title="This function finds whether a number is power of 2 or not.">
|
||||
<polygon fill="white" stroke="#666666" points="248,-19 143,-19 143,0 248,0 248,-19"/>
|
||||
<text text-anchor="middle" x="195.5" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">math::power_of_two</text>
|
||||
<polygon fill="white" stroke="#666666" points="246,-19.25 141.5,-19.25 141.5,0 246,0 246,-19.25"/>
|
||||
<text text-anchor="middle" x="193.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">math::power_of_two</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<path fill="none" stroke="#63b8ff" d="M107.14,-9.5C114.1,-9.5 122.79,-9.5 131.97,-9.5"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="131.9,-13 141.9,-9.5 131.9,-6 131.9,-13"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M105.82,-9.62C112.74,-9.62 121.39,-9.62 130.53,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="130.4,-13.13 140.4,-9.62 130.4,-6.13 130.4,-13.13"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.3 KiB |
Reference in New Issue
Block a user