mirror of
https://github.com/TheAlgorithms/C
synced 2024-12-11 22:33:58 +03:00
Documentation for 00500d6108
This commit is contained in:
parent
a102e0831a
commit
a010d19635
@ -178,24 +178,23 @@ Functions</h2></td></tr>
|
||||
<div class="line"><span class="lineno"> 87</span> }</div>
|
||||
<div class="line"><span class="lineno"> 88</span> </div>
|
||||
<div class="line"><span class="lineno"> 89</span> printf(<span class="stringliteral">"Original array: "</span>);</div>
|
||||
<div class="line"><span class="lineno"> 90</span> <a class="code hl_function" href="../../d5/d4c/group__sorting.html#gad7ed8cc4603f500d610054680d28b971">display</a>(arr, n);</div>
|
||||
<div class="line"><span class="lineno"> 90</span> display(arr, n);</div>
|
||||
<div class="line"><span class="lineno"> 91</span> </div>
|
||||
<div class="line"><span class="lineno"> 92</span> <a class="code hl_function" href="../../d5/d4c/group__sorting.html#ga2fb01e00dedb437a42010f6309e7eba8">bead_sort</a>(arr, n);</div>
|
||||
<div class="line"><span class="lineno"> 93</span> </div>
|
||||
<div class="line"><span class="lineno"> 94</span> printf(<span class="stringliteral">"Sorted array: "</span>);</div>
|
||||
<div class="line"><span class="lineno"> 95</span> <a class="code hl_function" href="../../d5/d4c/group__sorting.html#gad7ed8cc4603f500d610054680d28b971">display</a>(arr, n);</div>
|
||||
<div class="line"><span class="lineno"> 95</span> display(arr, n);</div>
|
||||
<div class="line"><span class="lineno"> 96</span> </div>
|
||||
<div class="line"><span class="lineno"> 97</span> <a class="code hl_define" href="../../d2/ddd/malloc__dbg_8h.html#a9cc854374299a1dd933bf62029761768">free</a>(arr);</div>
|
||||
<div class="line"><span class="lineno"> 98</span> <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><span class="lineno"> 99</span>}</div>
|
||||
<div class="ttc" id="agroup__sorting_html_ga2fb01e00dedb437a42010f6309e7eba8"><div class="ttname"><a href="../../d5/d4c/group__sorting.html#ga2fb01e00dedb437a42010f6309e7eba8">bead_sort</a></div><div class="ttdeci">void bead_sort(int *a, size_t len)</div><div class="ttdoc">This is where the sorting of the array takes place.</div><div class="ttdef"><b>Definition:</b> bead_sort.c:37</div></div>
|
||||
<div class="ttc" id="agroup__sorting_html_gad7ed8cc4603f500d610054680d28b971"><div class="ttname"><a href="../../d5/d4c/group__sorting.html#gad7ed8cc4603f500d610054680d28b971">display</a></div><div class="ttdeci">void display(const int *arr, int n)</div><div class="ttdoc">Displays the array, passed to this method.</div><div class="ttdef"><b>Definition:</b> bead_sort.c:23</div></div>
|
||||
<div class="ttc" id="amalloc__dbg_8h_html_a725f50ecaf1959d96de79b36b4788fee"><div class="ttname"><a href="../../d2/ddd/malloc__dbg_8h.html#a725f50ecaf1959d96de79b36b4788fee">malloc</a></div><div class="ttdeci">#define malloc(bytes)</div><div class="ttdoc">This macro replace the standard malloc function with malloc_dbg.</div><div class="ttdef"><b>Definition:</b> malloc_dbg.h:18</div></div>
|
||||
<div class="ttc" id="amalloc__dbg_8h_html_a9cc854374299a1dd933bf62029761768"><div class="ttname"><a href="../../d2/ddd/malloc__dbg_8h.html#a9cc854374299a1dd933bf62029761768">free</a></div><div class="ttdeci">#define free(ptr)</div><div class="ttdoc">This macro replace the standard free function with free_dbg.</div><div class="ttdef"><b>Definition:</b> malloc_dbg.h:26</div></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="../../d2/da8/bead__sort_8c_ac0f2228420376f4db7e1274f2b41667c_cgraph.svg" width="188" 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="../../d2/da8/bead__sort_8c_ac0f2228420376f4db7e1274f2b41667c_cgraph.svg" width="188" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
<map id="main" name="main">
|
||||
<area shape="rect" id="node1" title="Main function." alt="" coords="5,31,56,56"/>
|
||||
<area shape="rect" id="node1" title="Main function." alt="" coords="5,5,56,31"/>
|
||||
<area shape="rect" id="node2" href="$d5/d4c/group__sorting.html#ga2fb01e00dedb437a42010f6309e7eba8" title="This is where the sorting of the array takes place." alt="" coords="104,5,183,31"/>
|
||||
<area shape="rect" id="node3" href="$d5/d4c/group__sorting.html#gad7ed8cc4603f500d610054680d28b971" title="Displays the array, passed to this method." alt="" coords="112,55,175,80"/>
|
||||
</map>
|
||||
|
@ -1 +1 @@
|
||||
9f2d7fe7dbfc718f9a229a031047e02e
|
||||
ad4f624cd123e71d40709d9ba67b6dd2
|
@ -4,16 +4,16 @@
|
||||
<!-- Generated by graphviz version 7.0.0 (20221023.0053)
|
||||
-->
|
||||
<!-- Title: main Pages: 1 -->
|
||||
<svg width="141pt" height="64pt"
|
||||
viewBox="0.00 0.00 141.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="141pt" height="27pt"
|
||||
viewBox="0.00 0.00 141.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)">
|
||||
<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,-37 0,-37 0,-18 38,-18 38,-37"/>
|
||||
<text text-anchor="middle" x="19" y="-25" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
|
||||
<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>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@ -21,31 +21,16 @@
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:href="../../d5/d4c/group__sorting.html#ga2fb01e00dedb437a42010f6309e7eba8" target="_top" xlink:title="This is where the sorting of the array takes place.">
|
||||
<polygon fill="white" stroke="#666666" points="133,-56 74,-56 74,-37 133,-37 133,-56"/>
|
||||
<text text-anchor="middle" x="103.5" y="-44" font-family="Helvetica,sans-Serif" font-size="10.00">bead_sort</text>
|
||||
<polygon fill="white" stroke="#666666" points="133,-19 74,-19 74,0 133,0 133,-19"/>
|
||||
<text text-anchor="middle" x="103.5" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">bead_sort</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="#63b8ff" d="M38.31,-31.72C45.5,-33.37 54.07,-35.35 62.55,-37.3"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.54,-40.66 72.07,-39.49 63.11,-33.84 61.54,-40.66"/>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a xlink:href="../../d5/d4c/group__sorting.html#gad7ed8cc4603f500d610054680d28b971" target="_top" xlink:title="Displays the array, passed to this method.">
|
||||
<polygon fill="white" stroke="#666666" points="127,-19 80,-19 80,0 127,0 127,-19"/>
|
||||
<text text-anchor="middle" x="103.5" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">display</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<path fill="none" stroke="#63b8ff" d="M38.31,-23.51C47.14,-21.58 58.02,-19.2 68.31,-16.96"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="69.02,-20.39 78.04,-14.84 67.52,-13.55 69.02,-20.39"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M38.31,-9.5C45.42,-9.5 53.87,-9.5 62.27,-9.5"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="62.03,-13 72.03,-9.5 62.03,-6 62.03,-13"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 1.5 KiB |
@ -321,11 +321,11 @@ Functions</h2></td></tr>
|
||||
<div class="line"><span class="lineno"> 105</span> <a class="code hl_function" href="../../dc/d2e/lu__decompose_8c.html#aae40b90a8efd645c749128cf8072bbb4">lu_decomposition</a>(A, <a class="code hl_struct" href="../../df/db3/struct_l.html">L</a>, U, mat_size);</div>
|
||||
<div class="line"><span class="lineno"> 106</span> </div>
|
||||
<div class="line"><span class="lineno"> 107</span> printf(<span class="stringliteral">"A = \n"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 108</span> <a class="code hl_function" href="../../dc/d2e/lu__decompose_8c.html#a0789beb8d3396582d77b7aedf5e5554a">display</a>(A, mat_size);</div>
|
||||
<div class="line"><span class="lineno"> 108</span> display(A, mat_size);</div>
|
||||
<div class="line"><span class="lineno"> 109</span> printf(<span class="stringliteral">"\nL = \n"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 110</span> <a class="code hl_function" href="../../dc/d2e/lu__decompose_8c.html#a0789beb8d3396582d77b7aedf5e5554a">display</a>(<a class="code hl_struct" href="../../df/db3/struct_l.html">L</a>, mat_size);</div>
|
||||
<div class="line"><span class="lineno"> 110</span> display(<a class="code hl_struct" href="../../df/db3/struct_l.html">L</a>, mat_size);</div>
|
||||
<div class="line"><span class="lineno"> 111</span> printf(<span class="stringliteral">"\nU = \n"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 112</span> <a class="code hl_function" href="../../dc/d2e/lu__decompose_8c.html#a0789beb8d3396582d77b7aedf5e5554a">display</a>(U, mat_size);</div>
|
||||
<div class="line"><span class="lineno"> 112</span> display(U, mat_size);</div>
|
||||
<div class="line"><span class="lineno"> 113</span> </div>
|
||||
<div class="line"><span class="lineno"> 114</span> <span class="comment">/* Free dynamically allocated memory */</span></div>
|
||||
<div class="line"><span class="lineno"> 115</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < mat_size; i++)</div>
|
||||
@ -340,7 +340,6 @@ Functions</h2></td></tr>
|
||||
<div class="line"><span class="lineno"> 124</span> </div>
|
||||
<div class="line"><span class="lineno"> 125</span> <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><span class="lineno"> 126</span>}</div>
|
||||
<div class="ttc" id="alu__decompose_8c_html_a0789beb8d3396582d77b7aedf5e5554a"><div class="ttname"><a href="../../dc/d2e/lu__decompose_8c.html#a0789beb8d3396582d77b7aedf5e5554a">display</a></div><div class="ttdeci">void display(double **A, int N)</div><div class="ttdoc">Function to display square matrix.</div><div class="ttdef"><b>Definition:</b> lu_decompose.c:66</div></div>
|
||||
<div class="ttc" id="alu__decompose_8c_html_aae40b90a8efd645c749128cf8072bbb4"><div class="ttname"><a href="../../dc/d2e/lu__decompose_8c.html#aae40b90a8efd645c749128cf8072bbb4">lu_decomposition</a></div><div class="ttdeci">int lu_decomposition(double **A, double **L, double **U, int mat_size)</div><div class="ttdoc">Perform LU decomposition on matrix.</div><div class="ttdef"><b>Definition:</b> lu_decompose.c:20</div></div>
|
||||
<div class="ttc" id="amalloc__dbg_8h_html_a725f50ecaf1959d96de79b36b4788fee"><div class="ttname"><a href="../../d2/ddd/malloc__dbg_8h.html#a725f50ecaf1959d96de79b36b4788fee">malloc</a></div><div class="ttdeci">#define malloc(bytes)</div><div class="ttdoc">This macro replace the standard malloc function with malloc_dbg.</div><div class="ttdef"><b>Definition:</b> malloc_dbg.h:18</div></div>
|
||||
<div class="ttc" id="amalloc__dbg_8h_html_a9cc854374299a1dd933bf62029761768"><div class="ttname"><a href="../../d2/ddd/malloc__dbg_8h.html#a9cc854374299a1dd933bf62029761768">free</a></div><div class="ttdeci">#define free(ptr)</div><div class="ttdoc">This macro replace the standard free function with free_dbg.</div><div class="ttdef"><b>Definition:</b> malloc_dbg.h:26</div></div>
|
||||
@ -349,7 +348,7 @@ Functions</h2></td></tr>
|
||||
</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="../../dc/d2e/lu__decompose_8c_a3c04138a5bfe5d72780bb7e82a18e627_cgraph.svg" width="232" 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="../../dc/d2e/lu__decompose_8c_a3c04138a5bfe5d72780bb7e82a18e627_cgraph.svg" width="232" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
<map id="main" name="main">
|
||||
<area shape="rect" id="node1" title="Main function." alt="" coords="5,31,56,56"/>
|
||||
<area shape="rect" id="node2" href="$dc/d2e/lu__decompose_8c.html#a0789beb8d3396582d77b7aedf5e5554a" title="Function to display square matrix." alt="" coords="134,5,197,31"/>
|
||||
<area shape="rect" id="node3" href="$dc/d2e/lu__decompose_8c.html#aae40b90a8efd645c749128cf8072bbb4" title="Perform LU decomposition on matrix." alt="" coords="104,55,227,80"/>
|
||||
<area shape="rect" id="node1" title="Main function." alt="" coords="5,5,56,31"/>
|
||||
<area shape="rect" id="node2" href="$dc/d2e/lu__decompose_8c.html#aae40b90a8efd645c749128cf8072bbb4" title="Perform LU decomposition on matrix." alt="" coords="104,5,227,31"/>
|
||||
</map>
|
||||
|
@ -1 +1 @@
|
||||
0f28b5e33391092a8f6aa043e420a141
|
||||
76f3bc7feb5a359643f29262ee5bc10f
|
@ -4,48 +4,33 @@
|
||||
<!-- Generated by graphviz version 7.0.0 (20221023.0053)
|
||||
-->
|
||||
<!-- Title: main Pages: 1 -->
|
||||
<svg width="174pt" height="64pt"
|
||||
viewBox="0.00 0.00 174.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="174pt" height="27pt"
|
||||
viewBox="0.00 0.00 174.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)">
|
||||
<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,-37 0,-37 0,-18 38,-18 38,-37"/>
|
||||
<text text-anchor="middle" x="19" y="-25" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
|
||||
<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>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:href="../../dc/d2e/lu__decompose_8c.html#a0789beb8d3396582d77b7aedf5e5554a" target="_top" xlink:title="Function to display square matrix.">
|
||||
<polygon fill="white" stroke="#666666" points="143.5,-56 96.5,-56 96.5,-37 143.5,-37 143.5,-56"/>
|
||||
<text text-anchor="middle" x="120" y="-44" font-family="Helvetica,sans-Serif" font-size="10.00">display</text>
|
||||
<g id="a_node2"><a xlink:href="../../dc/d2e/lu__decompose_8c.html#aae40b90a8efd645c749128cf8072bbb4" target="_top" xlink:title="Perform LU decomposition on matrix.">
|
||||
<polygon fill="white" stroke="#666666" points="166,-19 74,-19 74,0 166,0 166,-19"/>
|
||||
<text text-anchor="middle" x="120" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">lu_decomposition</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="#63b8ff" d="M38.16,-30.98C51.27,-33.5 69.38,-36.98 85.13,-40"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="84.11,-43.37 94.59,-41.82 85.43,-36.49 84.11,-43.37"/>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a xlink:href="../../dc/d2e/lu__decompose_8c.html#aae40b90a8efd645c749128cf8072bbb4" target="_top" xlink:title="Perform LU decomposition on matrix.">
|
||||
<polygon fill="white" stroke="#666666" points="166,-19 74,-19 74,0 166,0 166,-19"/>
|
||||
<text text-anchor="middle" x="120" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">lu_decomposition</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<path fill="none" stroke="#63b8ff" d="M38.16,-24.2C45.22,-22.91 53.73,-21.37 62.55,-19.76"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="63.08,-23.22 72.29,-17.99 61.83,-16.34 63.08,-23.22"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M38.16,-9.5C45.22,-9.5 53.73,-9.5 62.55,-9.5"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="62.27,-13 72.27,-9.5 62.27,-6 62.27,-13"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 1.5 KiB |
Loading…
Reference in New Issue
Block a user