mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-07-16 11:32:44 +08:00
Documentation for 0953376d31
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
<map id="math/approximate_pi.cpp" name="math/approximate_pi.cpp">
|
||||
<area shape="rect" id="node1" title="Implementation to calculate an estimate of the number π (Pi)." alt="" coords="45,5,213,31"/>
|
||||
<area shape="rect" id="node2" title=" " alt="" coords="5,79,77,105"/>
|
||||
<area shape="rect" id="node3" title=" " alt="" coords="100,79,158,105"/>
|
||||
<area shape="rect" id="node4" title=" " alt="" coords="182,79,241,105"/>
|
||||
<area shape="rect" id="Node000001" title="Implementation to calculate an estimate of the number π (Pi)." alt="" coords="45,5,213,31"/>
|
||||
<area shape="rect" id="Node000002" title=" " alt="" coords="5,79,77,105"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="116,34,69,72,65,67,112,29"/>
|
||||
<area shape="rect" id="Node000003" title=" " alt="" coords="100,79,158,105"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="132,31,132,64,126,64,126,31"/>
|
||||
<area shape="rect" id="Node000004" title=" " alt="" coords="182,79,241,105"/>
|
||||
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="145,30,188,67,185,71,141,34"/>
|
||||
</map>
|
||||
|
||||
@@ -1 +1 @@
|
||||
38539e78ab273ea327978ee6c3d7c30c
|
||||
bdcda8cf70f7a537d8459940d4a2465c
|
||||
@@ -6,61 +6,95 @@
|
||||
<!-- Title: math/approximate_pi.cpp Pages: 1 -->
|
||||
<svg width="185pt" height="83pt"
|
||||
viewBox="0.00 0.00 185.00 82.50" 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" onload="init(evt)">
|
||||
<style type="text/css"><![CDATA[
|
||||
.node, .edge {opacity: 0.7;}
|
||||
.node.selected, .edge.selected {opacity: 1;}
|
||||
.edge:hover path { stroke: red; }
|
||||
.edge:hover polygon { stroke: red; fill: red; }
|
||||
]]></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 78.5)">
|
||||
<title>math/approximate_pi.cpp</title>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="Implementation to calculate an estimate of the number π (Pi).">
|
||||
<g id="a_Node000001"><a xlink:title="Implementation to calculate an estimate of the number π (Pi).">
|
||||
<polygon fill="#999999" stroke="#666666" points="155.5,-74.5 30,-74.5 30,-55.25 155.5,-55.25 155.5,-74.5"/>
|
||||
<text text-anchor="middle" x="92.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">math/approximate_pi.cpp</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:title=" ">
|
||||
<g id="a_Node000002"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="53.5,-19.25 0,-19.25 0,0 53.5,0 53.5,-19.25"/>
|
||||
<text text-anchor="middle" x="26.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<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="M81.55,-54.84C71.92,-47.07 57.8,-35.67 46.3,-26.4"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="48.76,-23.08 38.78,-19.52 44.37,-28.53 48.76,-23.08"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a xlink:title=" ">
|
||||
<g id="a_Node000003"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="114.25,-19.25 71.25,-19.25 71.25,0 114.25,0 114.25,-19.25"/>
|
||||
<text text-anchor="middle" x="92.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2" class="edge">
|
||||
<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="M92.75,-55.08C92.75,-48.42 92.75,-38.99 92.75,-30.53"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="96.25,-30.61 92.75,-20.61 89.25,-30.61 96.25,-30.61"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="node4" class="node">
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_node4"><a xlink:title=" ">
|
||||
<g id="a_Node000004"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="177,-19.25 132.5,-19.25 132.5,0 177,0 177,-19.25"/>
|
||||
<text text-anchor="middle" x="154.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cstdlib</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node4 -->
|
||||
<g id="edge3" class="edge">
|
||||
<g id="edge3_Node000001_Node000004" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M103.27,-54.84C112.23,-47.15 125.32,-35.9 136.06,-26.68"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="138.08,-28.7 143.39,-19.52 133.52,-23.39 138.08,-28.7"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
</svg>
|
||||
|
||||
<style type='text/css'>
|
||||
<![CDATA[
|
||||
[data-mouse-over-selected='false'] { opacity: 0.7; }
|
||||
[data-mouse-over-selected='true'] { opacity: 1.0; }
|
||||
]]>
|
||||
</style>
|
||||
<script type="application/ecmascript"><![CDATA[
|
||||
document.addEventListener('DOMContentLoaded', (event) => {
|
||||
highlightEdges();
|
||||
highlightAdjacentNodes();
|
||||
});
|
||||
]]></script>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 3.9 KiB |
75
d2/d27/approximate__pi_8cpp__incl_org.svg
Normal file
75
d2/d27/approximate__pi_8cpp__incl_org.svg
Normal file
@@ -0,0 +1,75 @@
|
||||
<?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.5 (20230430.1635)
|
||||
-->
|
||||
<!-- Title: math/approximate_pi.cpp Pages: 1 -->
|
||||
<svg width="185pt" height="83pt"
|
||||
viewBox="0.00 0.00 185.00 82.50" 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 78.5)">
|
||||
<title>math/approximate_pi.cpp</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Implementation to calculate an estimate of the number π (Pi).">
|
||||
<polygon fill="#999999" stroke="#666666" points="155.5,-74.5 30,-74.5 30,-55.25 155.5,-55.25 155.5,-74.5"/>
|
||||
<text text-anchor="middle" x="92.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">math/approximate_pi.cpp</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="53.5,-19.25 0,-19.25 0,0 53.5,0 53.5,-19.25"/>
|
||||
<text text-anchor="middle" x="26.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<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="M81.55,-54.84C71.92,-47.07 57.8,-35.67 46.3,-26.4"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="48.76,-23.08 38.78,-19.52 44.37,-28.53 48.76,-23.08"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="114.25,-19.25 71.25,-19.25 71.25,0 114.25,0 114.25,-19.25"/>
|
||||
<text text-anchor="middle" x="92.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<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="M92.75,-55.08C92.75,-48.42 92.75,-38.99 92.75,-30.53"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="96.25,-30.61 92.75,-20.61 89.25,-30.61 96.25,-30.61"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="177,-19.25 132.5,-19.25 132.5,0 177,0 177,-19.25"/>
|
||||
<text text-anchor="middle" x="154.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cstdlib</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node4 -->
|
||||
<g id="edge3_Node000001_Node000004" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M103.27,-54.84C112.23,-47.15 125.32,-35.9 136.06,-26.68"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="138.08,-28.7 143.39,-19.52 133.52,-23.39 138.08,-28.7"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.1 KiB |
Reference in New Issue
Block a user