Documentation for 8b1eab204b
@@ -1,3 +1,4 @@
|
||||
<!-- HTML header for doxygen 1.12.0-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
@@ -5,10 +6,15 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: numerical_methods/durand_kerner_roots.cpp File Reference</title>
|
||||
<title>TheAlgorithms/C++: numerical_methods/durand_kerner_roots.cpp File Reference</title>
|
||||
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../jquery.js"></script>
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@xpack-3rd-party/doxygen-awesome-css@2.2.0-1/doxygen-awesome-darkmode-toggle.js"></script>
|
||||
<script type="text/javascript">
|
||||
DoxygenAwesomeDarkModeToggle.init()
|
||||
</script>
|
||||
<script type="text/javascript" src="../../clipboard.js"></script>
|
||||
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../navtreedata.js"></script>
|
||||
@@ -18,14 +24,24 @@
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="../../search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
<script type="text/javascript">
|
||||
window.MathJax = {
|
||||
options: {
|
||||
ignoreHtmlClass: 'tex2jax_ignore',
|
||||
processHtmlClass: 'tex2jax_process'
|
||||
},
|
||||
loader: {
|
||||
load: ['[tex]/ams']
|
||||
},
|
||||
tex: {
|
||||
macros: {},
|
||||
packages: ['base','configmacros','ams']
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML/MathJax.js"></script>
|
||||
<script type="text/javascript" id="MathJax-script" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
|
||||
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../../doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
@@ -33,10 +49,11 @@ MathJax.Hub.Config({
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectlogo"><img alt="Logo" src="../../project_logo.png"/></td>
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Algorithms_in_C++<span id="projectnumber"> 1.0.0</span>
|
||||
<div id="projectname">TheAlgorithms/C++<span id="projectnumber"> 1.0.0</span>
|
||||
</div>
|
||||
<div id="projectbrief">Set of algorithms implemented in C++.</div>
|
||||
<div id="projectbrief">All the algorithms implemented in C++</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -128,7 +145,9 @@ Include dependency graph for durand_kerner_roots.cpp:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="../../d4/d26/durand__kerner__roots_8cpp__incl.svg" width="100%" height="394"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
|
||||
</div>
|
||||
</div><table class="memberdecls">
|
||||
</div>
|
||||
<p><a href="../../da/df2/durand__kerner__roots_8cpp_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:af270a96662132d0385cb6b4637c5a689" id="r_af270a96662132d0385cb6b4637c5a689"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="#af270a96662132d0385cb6b4637c5a689">ACCURACY</a>   1e-10</td></tr>
|
||||
@@ -139,13 +158,13 @@ Macros</h2></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:ae2ab49ba1969d7a5988f9bc2c8924569" id="r_ae2ab49ba1969d7a5988f9bc2c8924569"><td class="memItemLeft" align="right" valign="top"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/complex.html">std::complex</a>< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="#ae2ab49ba1969d7a5988f9bc2c8924569">poly_function</a> (const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray</a>< double > &coeffs, <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/complex.html">std::complex</a>< double > x)</td></tr>
|
||||
<tr class="memitem:ae2ab49ba1969d7a5988f9bc2c8924569" id="r_ae2ab49ba1969d7a5988f9bc2c8924569"><td class="memItemLeft" align="right" valign="top">std::complex< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="#ae2ab49ba1969d7a5988f9bc2c8924569">poly_function</a> (const std::valarray< double > &coeffs, std::complex< double > x)</td></tr>
|
||||
<tr class="separator:ae2ab49ba1969d7a5988f9bc2c8924569"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a90219e35062007d1f1b68e9af071ab5c" id="r_a90219e35062007d1f1b68e9af071ab5c"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="#a90219e35062007d1f1b68e9af071ab5c">complex_str</a> (const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/complex.html">std::complex</a>< double > &x)</td></tr>
|
||||
<tr class="memitem:a90219e35062007d1f1b68e9af071ab5c" id="r_a90219e35062007d1f1b68e9af071ab5c"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="#a90219e35062007d1f1b68e9af071ab5c">complex_str</a> (const std::complex< double > &x)</td></tr>
|
||||
<tr class="separator:a90219e35062007d1f1b68e9af071ab5c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a024b8bc4755863315456d573a6732377" id="r_a024b8bc4755863315456d573a6732377"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="#a024b8bc4755863315456d573a6732377">check_termination</a> (long double delta)</td></tr>
|
||||
<tr class="separator:a024b8bc4755863315456d573a6732377"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a2c35b320ace8677f9b331faf94f8b2fd" id="r_a2c35b320ace8677f9b331faf94f8b2fd"><td class="memItemLeft" align="right" valign="top"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>< uint32_t, double > </td><td class="memItemRight" valign="bottom"><a class="el" href="#a2c35b320ace8677f9b331faf94f8b2fd">durand_kerner_algo</a> (const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray</a>< double > &coeffs, <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray</a>< <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/complex.html">std::complex</a>< double > > *roots, bool write_log=false)</td></tr>
|
||||
<tr class="memitem:a2c35b320ace8677f9b331faf94f8b2fd" id="r_a2c35b320ace8677f9b331faf94f8b2fd"><td class="memItemLeft" align="right" valign="top">std::pair< uint32_t, double > </td><td class="memItemRight" valign="bottom"><a class="el" href="#a2c35b320ace8677f9b331faf94f8b2fd">durand_kerner_algo</a> (const std::valarray< double > &coeffs, std::valarray< std::complex< double > > *roots, bool write_log=false)</td></tr>
|
||||
<tr class="separator:a2c35b320ace8677f9b331faf94f8b2fd"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a1440a7779ac56f47a3f355ce4a8c7da0" id="r_a1440a7779ac56f47a3f355ce4a8c7da0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="#a1440a7779ac56f47a3f355ce4a8c7da0">test1</a> ()</td></tr>
|
||||
<tr class="separator:a1440a7779ac56f47a3f355ce4a8c7da0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
@@ -170,6 +189,8 @@ Functions</h2></td></tr>
|
||||
iteration." style="pointer-events: none;" width="400" class="inline"/> <img src="https://raw.githubusercontent.com/TheAlgorithms/C-Plus-Plus/docs/images/numerical_methods/durand_kerner_roots.svg" alt="Roots evolution - shows the initial approximation of the
|
||||
roots and their convergence to a final approximation along with the iterative
|
||||
approximations" style="pointer-events: none;" width="400" class="inline"/> </p>
|
||||
|
||||
<p class="definition">Definition in file <a class="el" href="../../da/df2/durand__kerner__roots_8cpp_source.html">durand_kerner_roots.cpp</a>.</p>
|
||||
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a id="af270a96662132d0385cb6b4637c5a689" name="af270a96662132d0385cb6b4637c5a689"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#af270a96662132d0385cb6b4637c5a689">◆ </a></span>ACCURACY</h2>
|
||||
@@ -184,6 +205,8 @@ Functions</h2></td></tr>
|
||||
</div><div class="memdoc">
|
||||
<p>maximum accuracy limit </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../da/df2/durand__kerner__roots_8cpp_source.html#l00046">46</a> of file <a class="el" href="../../da/df2/durand__kerner__roots_8cpp_source.html">durand_kerner_roots.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Function Documentation</h2>
|
||||
@@ -210,6 +233,8 @@ Functions</h2></td></tr>
|
||||
<dl class="section return"><dt>Returns</dt><dd><code>false</code> if termination not reached </dd>
|
||||
<dd>
|
||||
<code>true</code> if termination reached </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../da/df2/durand__kerner__roots_8cpp_source.html#l00092">92</a> of file <a class="el" href="../../da/df2/durand__kerner__roots_8cpp_source.html">durand_kerner_roots.cpp</a>.</p>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 92</span> {</div>
|
||||
<div class="line"><span class="lineno"> 93</span> <span class="keyword">static</span> <span class="keywordtype">long</span> <span class="keywordtype">double</span> past_delta = INFINITY;</div>
|
||||
<div class="line"><span class="lineno"> 94</span> <span class="keywordflow">if</span> (std::abs(past_delta - delta) <= <a class="code hl_define" href="#af270a96662132d0385cb6b4637c5a689">ACCURACY</a> || delta < <a class="code hl_define" href="#af270a96662132d0385cb6b4637c5a689">ACCURACY</a>)</div>
|
||||
@@ -217,7 +242,7 @@ Functions</h2></td></tr>
|
||||
<div class="line"><span class="lineno"> 96</span> past_delta = delta;</div>
|
||||
<div class="line"><span class="lineno"> 97</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><span class="lineno"> 98</span>}</div>
|
||||
<div class="ttc" id="adurand__kerner__roots_8cpp_html_af270a96662132d0385cb6b4637c5a689"><div class="ttname"><a href="#af270a96662132d0385cb6b4637c5a689">ACCURACY</a></div><div class="ttdeci">#define ACCURACY</div><div class="ttdef"><b>Definition</b> durand_kerner_roots.cpp:46</div></div>
|
||||
<div class="ttc" id="adurand__kerner__roots_8cpp_html_af270a96662132d0385cb6b4637c5a689"><div class="ttname"><a href="#af270a96662132d0385cb6b4637c5a689">ACCURACY</a></div><div class="ttdeci">#define ACCURACY</div><div class="ttdef"><b>Definition</b> <a href="../../da/df2/durand__kerner__roots_8cpp_source.html#l00046">durand_kerner_roots.cpp:46</a></div></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
@@ -230,7 +255,7 @@ Functions</h2></td></tr>
|
||||
<tr>
|
||||
<td class="memname">const char * complex_str </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/complex.html">std::complex</a>< double > &</td> <td class="paramname"><span class="paramname"><em>x</em></span></td><td>)</td>
|
||||
<td class="paramtype">const std::complex< double > &</td> <td class="paramname"><span class="paramname"><em>x</em></span></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -242,23 +267,17 @@ Functions</h2></td></tr>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>pointer to converted string </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../da/df2/durand__kerner__roots_8cpp_source.html#l00077">77</a> of file <a class="el" href="../../da/df2/durand__kerner__roots_8cpp_source.html">durand_kerner_roots.cpp</a>.</p>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 77</span> {</div>
|
||||
<div class="line"><span class="lineno"> 78</span><span class="preprocessor">#define MAX_BUFF_SIZE 50</span></div>
|
||||
<div class="line"><span class="lineno"> 79</span> <span class="keyword">static</span> <span class="keywordtype">char</span> msg[MAX_BUFF_SIZE];</div>
|
||||
<div class="line"><span class="lineno"> 80</span> </div>
|
||||
<div class="line"><span class="lineno"> 81</span> <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/c/fprintf.html">std::snprintf</a>(msg, MAX_BUFF_SIZE, <span class="stringliteral">"% 7.04g%+7.04gj"</span>, x.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/complex/real.html">real</a>(), x.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/complex/imag.html">imag</a>());</div>
|
||||
<div class="line"><span class="lineno"> 81</span> std::snprintf(msg, MAX_BUFF_SIZE, <span class="stringliteral">"% 7.04g%+7.04gj"</span>, x.real(), x.imag());</div>
|
||||
<div class="line"><span class="lineno"> 82</span> </div>
|
||||
<div class="line"><span class="lineno"> 83</span> <span class="keywordflow">return</span> msg;</div>
|
||||
<div class="line"><span class="lineno"> 84</span>}</div>
|
||||
<div class="ttc" id="afprintf_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/c/fprintf.html">std::snprintf</a></div><div class="ttdeci">T snprintf(T... args)</div></div>
|
||||
<div class="ttc" id="aimag_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/numeric/complex/imag.html">std::complex::imag</a></div><div class="ttdeci">T imag(T... args)</div></div>
|
||||
<div class="ttc" id="areal_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/numeric/complex/real.html">std::complex::real</a></div><div class="ttdeci">T real(T... args)</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="../../da/df2/durand__kerner__roots_8cpp_a90219e35062007d1f1b68e9af071ab5c_cgraph.svg" width="284" height="135"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a id="a2c35b320ace8677f9b331faf94f8b2fd" name="a2c35b320ace8677f9b331faf94f8b2fd"></a>
|
||||
@@ -268,14 +287,14 @@ Here is the call graph for this function:</div>
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>< uint32_t, double > durand_kerner_algo </td>
|
||||
<td class="memname">std::pair< uint32_t, double > durand_kerner_algo </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray</a>< double > &</td> <td class="paramname"><span class="paramname"><em>coeffs</em></span>, </td>
|
||||
<td class="paramtype">const std::valarray< double > &</td> <td class="paramname"><span class="paramname"><em>coeffs</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray</a>< <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/complex.html">std::complex</a>< double > > *</td> <td class="paramname"><span class="paramname"><em>roots</em></span>, </td>
|
||||
<td class="paramtype">std::valarray< std::complex< double > > *</td> <td class="paramname"><span class="paramname"><em>roots</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
@@ -294,20 +313,22 @@ Here is the call graph for this function:</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>pair of values - number of iterations taken and final accuracy achieved </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../da/df2/durand__kerner__roots_8cpp_source.html#l00110">110</a> of file <a class="el" href="../../da/df2/durand__kerner__roots_8cpp_source.html">durand_kerner_roots.cpp</a>.</p>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 112</span> {</div>
|
||||
<div class="line"><span class="lineno"> 113</span> <span class="keywordtype">long</span> <span class="keywordtype">double</span> tol_condition = 1;</div>
|
||||
<div class="line"><span class="lineno"> 114</span> uint32_t iter = 0;</div>
|
||||
<div class="line"><span class="lineno"> 115</span> <span class="keywordtype">int</span> n;</div>
|
||||
<div class="line"><span class="lineno"> 116</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ofstream.html">std::ofstream</a> log_file;</div>
|
||||
<div class="line"><span class="lineno"> 116</span> std::ofstream log_file;</div>
|
||||
<div class="line"><span class="lineno"> 117</span> </div>
|
||||
<div class="line"><span class="lineno"> 118</span> <span class="keywordflow">if</span> (write_log) {</div>
|
||||
<div class="line"><span class="lineno"> 119</span> <span class="comment">/*</span></div>
|
||||
<div class="line"><span class="lineno"> 120</span><span class="comment"> * store intermediate values to a CSV file</span></div>
|
||||
<div class="line"><span class="lineno"> 121</span><span class="comment"> */</span></div>
|
||||
<div class="line"><span class="lineno"> 122</span> log_file.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ofstream/open.html">open</a>(<span class="stringliteral">"durand_kerner.log.csv"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 123</span> <span class="keywordflow">if</span> (!log_file.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open.html">is_open</a>()) {</div>
|
||||
<div class="line"><span class="lineno"> 124</span> <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/c/perror.html">perror</a>(<span class="stringliteral">"Unable to create a storage log file!"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 125</span> <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/utility/program/exit.html">std::exit</a>(EXIT_FAILURE);</div>
|
||||
<div class="line"><span class="lineno"> 122</span> log_file.open(<span class="stringliteral">"durand_kerner.log.csv"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 123</span> <span class="keywordflow">if</span> (!log_file.is_open()) {</div>
|
||||
<div class="line"><span class="lineno"> 124</span> perror(<span class="stringliteral">"Unable to create a storage log file!"</span>);</div>
|
||||
<div class="line"><span class="lineno"> 125</span> std::exit(EXIT_FAILURE);</div>
|
||||
<div class="line"><span class="lineno"> 126</span> }</div>
|
||||
<div class="line"><span class="lineno"> 127</span> log_file << <span class="stringliteral">"iter#,"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 128</span> </div>
|
||||
@@ -326,7 +347,7 @@ Here is the call graph for this function:</div>
|
||||
<div class="line"><span class="lineno"> 141</span> iter++;</div>
|
||||
<div class="line"><span class="lineno"> 142</span> break_loop = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><span class="lineno"> 143</span> </div>
|
||||
<div class="line"><span class="lineno"> 144</span> <span class="keywordflow">if</span> (log_file.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open.html">is_open</a>())</div>
|
||||
<div class="line"><span class="lineno"> 144</span> <span class="keywordflow">if</span> (log_file.is_open())</div>
|
||||
<div class="line"><span class="lineno"> 145</span> log_file << <span class="stringliteral">"\n"</span> << iter << <span class="stringliteral">","</span>;</div>
|
||||
<div class="line"><span class="lineno"> 146</span> </div>
|
||||
<div class="line"><span class="lineno"> 147</span><span class="preprocessor">#ifdef _OPENMP</span></div>
|
||||
@@ -336,17 +357,17 @@ Here is the call graph for this function:</div>
|
||||
<div class="line"><span class="lineno"> 151</span> <span class="keywordflow">if</span> (break_loop)</div>
|
||||
<div class="line"><span class="lineno"> 152</span> <span class="keywordflow">continue</span>;</div>
|
||||
<div class="line"><span class="lineno"> 153</span> </div>
|
||||
<div class="line"><span class="lineno"> 154</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/complex.html">std::complex<double></a> numerator, denominator;</div>
|
||||
<div class="line"><span class="lineno"> 154</span> std::complex<double> numerator, denominator;</div>
|
||||
<div class="line"><span class="lineno"> 155</span> numerator = <a class="code hl_function" href="#ae2ab49ba1969d7a5988f9bc2c8924569">poly_function</a>(coeffs, (*roots)[n]);</div>
|
||||
<div class="line"><span class="lineno"> 156</span> denominator = 1.0;</div>
|
||||
<div class="line"><span class="lineno"> 157</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < roots->size(); i++)</div>
|
||||
<div class="line"><span class="lineno"> 158</span> <span class="keywordflow">if</span> (i != n)</div>
|
||||
<div class="line"><span class="lineno"> 159</span> denominator *= (*roots)[n] - (*roots)[i];</div>
|
||||
<div class="line"><span class="lineno"> 160</span> </div>
|
||||
<div class="line"><span class="lineno"> 161</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/complex.html">std::complex<long double></a> delta = numerator / denominator;</div>
|
||||
<div class="line"><span class="lineno"> 161</span> std::complex<long double> delta = numerator / denominator;</div>
|
||||
<div class="line"><span class="lineno"> 162</span> </div>
|
||||
<div class="line"><span class="lineno"> 163</span> <span class="keywordflow">if</span> (<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/math/isnan.html">std::isnan</a>(std::abs(delta)) || <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/math/isinf.html">std::isinf</a>(std::abs(delta))) {</div>
|
||||
<div class="line"><span class="lineno"> 164</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cerr</a> << <span class="stringliteral">"\n\nOverflow/underrun error - got value = "</span></div>
|
||||
<div class="line"><span class="lineno"> 163</span> <span class="keywordflow">if</span> (std::isnan(std::abs(delta)) || std::isinf(std::abs(delta))) {</div>
|
||||
<div class="line"><span class="lineno"> 164</span> std::cerr << <span class="stringliteral">"\n\nOverflow/underrun error - got value = "</span></div>
|
||||
<div class="line"><span class="lineno"> 165</span> << std::abs(delta) << <span class="stringliteral">"\n"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 166</span> <span class="comment">// return std::pair<uint32_t, double>(iter, tol_condition);</span></div>
|
||||
<div class="line"><span class="lineno"> 167</span> break_loop = <span class="keyword">true</span>;</div>
|
||||
@@ -357,54 +378,38 @@ Here is the call graph for this function:</div>
|
||||
<div class="line"><span class="lineno"> 172</span><span class="preprocessor">#ifdef _OPENMP</span></div>
|
||||
<div class="line"><span class="lineno"> 173</span><span class="preprocessor">#pragma omp critical</span></div>
|
||||
<div class="line"><span class="lineno"> 174</span><span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><span class="lineno"> 175</span> tol_condition = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/algorithm/max.html">std::max</a>(tol_condition, std::abs(std::abs(delta)));</div>
|
||||
<div class="line"><span class="lineno"> 175</span> tol_condition = std::max(tol_condition, std::abs(std::abs(delta)));</div>
|
||||
<div class="line"><span class="lineno"> 176</span> }</div>
|
||||
<div class="line"><span class="lineno"> 177</span> <span class="comment">// tol_condition /= (degree - 1);</span></div>
|
||||
<div class="line"><span class="lineno"> 178</span> </div>
|
||||
<div class="line"><span class="lineno"> 179</span> <span class="keywordflow">if</span> (break_loop)</div>
|
||||
<div class="line"><span class="lineno"> 180</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><span class="lineno"> 181</span> </div>
|
||||
<div class="line"><span class="lineno"> 182</span> <span class="keywordflow">if</span> (log_file.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open.html">is_open</a>()) {</div>
|
||||
<div class="line"><span class="lineno"> 182</span> <span class="keywordflow">if</span> (log_file.is_open()) {</div>
|
||||
<div class="line"><span class="lineno"> 183</span> <span class="keywordflow">for</span> (n = 0; n < roots->size(); n++)</div>
|
||||
<div class="line"><span class="lineno"> 184</span> log_file << <a class="code hl_function" href="#a90219e35062007d1f1b68e9af071ab5c">complex_str</a>((*roots)[n]) << <span class="stringliteral">","</span>;</div>
|
||||
<div class="line"><span class="lineno"> 185</span> }</div>
|
||||
<div class="line"><span class="lineno"> 186</span> </div>
|
||||
<div class="line"><span class="lineno"> 187</span><span class="preprocessor">#if defined(DEBUG) || !defined(NDEBUG)</span></div>
|
||||
<div class="line"><span class="lineno"> 188</span> <span class="keywordflow">if</span> (iter % 500 == 0) {</div>
|
||||
<div class="line"><span class="lineno"> 189</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"Iter: "</span> << iter << <span class="stringliteral">"\t"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 189</span> std::cout << <span class="stringliteral">"Iter: "</span> << iter << <span class="stringliteral">"\t"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 190</span> <span class="keywordflow">for</span> (n = 0; n < roots->size(); n++)</div>
|
||||
<div class="line"><span class="lineno"> 191</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"\t"</span> << <a class="code hl_function" href="#a90219e35062007d1f1b68e9af071ab5c">complex_str</a>((*roots)[n]);</div>
|
||||
<div class="line"><span class="lineno"> 192</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"\t\tabsolute average change: "</span> << tol_condition</div>
|
||||
<div class="line"><span class="lineno"> 191</span> std::cout << <span class="stringliteral">"\t"</span> << <a class="code hl_function" href="#a90219e35062007d1f1b68e9af071ab5c">complex_str</a>((*roots)[n]);</div>
|
||||
<div class="line"><span class="lineno"> 192</span> std::cout << <span class="stringliteral">"\t\tabsolute average change: "</span> << tol_condition</div>
|
||||
<div class="line"><span class="lineno"> 193</span> << <span class="stringliteral">"\n"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 194</span> }</div>
|
||||
<div class="line"><span class="lineno"> 195</span><span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><span class="lineno"> 196</span> </div>
|
||||
<div class="line"><span class="lineno"> 197</span> <span class="keywordflow">if</span> (log_file.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open.html">is_open</a>())</div>
|
||||
<div class="line"><span class="lineno"> 197</span> <span class="keywordflow">if</span> (log_file.is_open())</div>
|
||||
<div class="line"><span class="lineno"> 198</span> log_file << tol_condition;</div>
|
||||
<div class="line"><span class="lineno"> 199</span> }</div>
|
||||
<div class="line"><span class="lineno"> 200</span> </div>
|
||||
<div class="line"><span class="lineno"> 201</span> <span class="keywordflow">return</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair<uint32_t, long double></a>(iter, tol_condition);</div>
|
||||
<div class="line"><span class="lineno"> 201</span> <span class="keywordflow">return</span> std::pair<uint32_t, long double>(iter, tol_condition);</div>
|
||||
<div class="line"><span class="lineno"> 202</span>}</div>
|
||||
<div class="ttc" id="abasic_ofstream_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_ofstream.html">std::ofstream</a></div></div>
|
||||
<div class="ttc" id="abasic_ostream_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cerr</a></div></div>
|
||||
<div class="ttc" id="acomplex_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/numeric/complex.html">std::complex</a></div></div>
|
||||
<div class="ttc" id="adurand__kerner__roots_8cpp_html_a024b8bc4755863315456d573a6732377"><div class="ttname"><a href="#a024b8bc4755863315456d573a6732377">check_termination</a></div><div class="ttdeci">bool check_termination(long double delta)</div><div class="ttdef"><b>Definition</b> durand_kerner_roots.cpp:92</div></div>
|
||||
<div class="ttc" id="adurand__kerner__roots_8cpp_html_a90219e35062007d1f1b68e9af071ab5c"><div class="ttname"><a href="#a90219e35062007d1f1b68e9af071ab5c">complex_str</a></div><div class="ttdeci">const char * complex_str(const std::complex< double > &x)</div><div class="ttdef"><b>Definition</b> durand_kerner_roots.cpp:77</div></div>
|
||||
<div class="ttc" id="adurand__kerner__roots_8cpp_html_ae2ab49ba1969d7a5988f9bc2c8924569"><div class="ttname"><a href="#ae2ab49ba1969d7a5988f9bc2c8924569">poly_function</a></div><div class="ttdeci">std::complex< double > poly_function(const std::valarray< double > &coeffs, std::complex< double > x)</div><div class="ttdef"><b>Definition</b> durand_kerner_roots.cpp:54</div></div>
|
||||
<div class="ttc" id="aexit_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/program/exit.html">std::exit</a></div><div class="ttdeci">T exit(T... args)</div></div>
|
||||
<div class="ttc" id="ais_open_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open.html">std::ofstream::is_open</a></div><div class="ttdeci">T is_open(T... args)</div></div>
|
||||
<div class="ttc" id="aisinf_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/numeric/math/isinf.html">std::isinf</a></div><div class="ttdeci">T isinf(T... args)</div></div>
|
||||
<div class="ttc" id="aisnan_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/numeric/math/isnan.html">std::isnan</a></div><div class="ttdeci">T isnan(T... args)</div></div>
|
||||
<div class="ttc" id="amax_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/max.html">std::max</a></div><div class="ttdeci">T max(T... args)</div></div>
|
||||
<div class="ttc" id="aopen_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_ofstream/open.html">std::ofstream::open</a></div><div class="ttdeci">T open(T... args)</div></div>
|
||||
<div class="ttc" id="apair_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a></div></div>
|
||||
<div class="ttc" id="aperror_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/c/perror.html">std::perror</a></div><div class="ttdeci">T perror(T... args)</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="../../da/df2/durand__kerner__roots_8cpp_a2c35b320ace8677f9b331faf94f8b2fd_cgraph.svg" width="526" height="431"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
|
||||
<div class="ttc" id="adurand__kerner__roots_8cpp_html_a024b8bc4755863315456d573a6732377"><div class="ttname"><a href="#a024b8bc4755863315456d573a6732377">check_termination</a></div><div class="ttdeci">bool check_termination(long double delta)</div><div class="ttdef"><b>Definition</b> <a href="../../da/df2/durand__kerner__roots_8cpp_source.html#l00092">durand_kerner_roots.cpp:92</a></div></div>
|
||||
<div class="ttc" id="adurand__kerner__roots_8cpp_html_a90219e35062007d1f1b68e9af071ab5c"><div class="ttname"><a href="#a90219e35062007d1f1b68e9af071ab5c">complex_str</a></div><div class="ttdeci">const char * complex_str(const std::complex< double > &x)</div><div class="ttdef"><b>Definition</b> <a href="../../da/df2/durand__kerner__roots_8cpp_source.html#l00077">durand_kerner_roots.cpp:77</a></div></div>
|
||||
<div class="ttc" id="adurand__kerner__roots_8cpp_html_ae2ab49ba1969d7a5988f9bc2c8924569"><div class="ttname"><a href="#ae2ab49ba1969d7a5988f9bc2c8924569">poly_function</a></div><div class="ttdeci">std::complex< double > poly_function(const std::valarray< double > &coeffs, std::complex< double > x)</div><div class="ttdef"><b>Definition</b> <a href="../../da/df2/durand__kerner__roots_8cpp_source.html#l00054">durand_kerner_roots.cpp:54</a></div></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a id="a3c04138a5bfe5d72780bb7e82a18e627" name="a3c04138a5bfe5d72780bb7e82a18e627"></a>
|
||||
@@ -425,37 +430,39 @@ Here is the call graph for this function:</div>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../da/df2/durand__kerner__roots_8cpp_source.html#l00284">284</a> of file <a class="el" href="../../da/df2/durand__kerner__roots_8cpp_source.html">durand_kerner_roots.cpp</a>.</p>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 284</span> {</div>
|
||||
<div class="line"><span class="lineno"> 285</span> <span class="comment">/* initialize random seed: */</span></div>
|
||||
<div class="line"><span class="lineno"> 286</span> <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/random/srand.html">std::srand</a>(<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/chrono/c/time.html">std::time</a>(<span class="keyword">nullptr</span>));</div>
|
||||
<div class="line"><span class="lineno"> 286</span> std::srand(std::time(<span class="keyword">nullptr</span>));</div>
|
||||
<div class="line"><span class="lineno"> 287</span> </div>
|
||||
<div class="line"><span class="lineno"> 288</span> <span class="keywordflow">if</span> (argc < 2) {</div>
|
||||
<div class="line"><span class="lineno"> 289</span> <a class="code hl_function" href="#a1440a7779ac56f47a3f355ce4a8c7da0">test1</a>(); <span class="comment">// run tests when no input is provided</span></div>
|
||||
<div class="line"><span class="lineno"> 290</span> <a class="code hl_function" href="#a0283886819c7c140a023582b7269e2d0">test2</a>(); <span class="comment">// and skip tests when input polynomial is provided</span></div>
|
||||
<div class="line"><span class="lineno"> 291</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"Please pass the coefficients of the polynomial as "</span></div>
|
||||
<div class="line"><span class="lineno"> 291</span> std::cout << <span class="stringliteral">"Please pass the coefficients of the polynomial as "</span></div>
|
||||
<div class="line"><span class="lineno"> 292</span> <span class="stringliteral">"commandline "</span></div>
|
||||
<div class="line"><span class="lineno"> 293</span> <span class="stringliteral">"arguments.\n"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 294</span> <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><span class="lineno"> 295</span> }</div>
|
||||
<div class="line"><span class="lineno"> 296</span> </div>
|
||||
<div class="line"><span class="lineno"> 297</span> <span class="keywordtype">int</span> n, degree = argc - 1; <span class="comment">// detected polynomial degree</span></div>
|
||||
<div class="line"><span class="lineno"> 298</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray<double></a> coeffs(degree); <span class="comment">// create coefficiencts array</span></div>
|
||||
<div class="line"><span class="lineno"> 298</span> std::valarray<double> coeffs(degree); <span class="comment">// create coefficiencts array</span></div>
|
||||
<div class="line"><span class="lineno"> 299</span> </div>
|
||||
<div class="line"><span class="lineno"> 300</span> <span class="comment">// number of roots = degree - 1</span></div>
|
||||
<div class="line"><span class="lineno"> 301</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray<std::complex<double></a>> s0(degree - 1);</div>
|
||||
<div class="line"><span class="lineno"> 301</span> std::valarray<std::complex<double>> s0(degree - 1);</div>
|
||||
<div class="line"><span class="lineno"> 302</span> </div>
|
||||
<div class="line"><span class="lineno"> 303</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"Computing the roots for:\n\t"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 303</span> std::cout << <span class="stringliteral">"Computing the roots for:\n\t"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 304</span> <span class="keywordflow">for</span> (n = 0; n < degree; n++) {</div>
|
||||
<div class="line"><span class="lineno"> 305</span> coeffs[n] = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/string/byte/strtof.html">strtod</a>(argv[n + 1], <span class="keyword">nullptr</span>);</div>
|
||||
<div class="line"><span class="lineno"> 305</span> coeffs[n] = strtod(argv[n + 1], <span class="keyword">nullptr</span>);</div>
|
||||
<div class="line"><span class="lineno"> 306</span> <span class="keywordflow">if</span> (n < degree - 1 && coeffs[n] != 0)</div>
|
||||
<div class="line"><span class="lineno"> 307</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"("</span> << coeffs[n] << <span class="stringliteral">") x^"</span> << degree - n - 1 << <span class="stringliteral">" + "</span>;</div>
|
||||
<div class="line"><span class="lineno"> 307</span> std::cout << <span class="stringliteral">"("</span> << coeffs[n] << <span class="stringliteral">") x^"</span> << degree - n - 1 << <span class="stringliteral">" + "</span>;</div>
|
||||
<div class="line"><span class="lineno"> 308</span> <span class="keywordflow">else</span> <span class="keywordflow">if</span> (coeffs[n] != 0)</div>
|
||||
<div class="line"><span class="lineno"> 309</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"("</span> << coeffs[n] << <span class="stringliteral">") x^"</span> << degree - n - 1</div>
|
||||
<div class="line"><span class="lineno"> 309</span> std::cout << <span class="stringliteral">"("</span> << coeffs[n] << <span class="stringliteral">") x^"</span> << degree - n - 1</div>
|
||||
<div class="line"><span class="lineno"> 310</span> << <span class="stringliteral">" = 0\n"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 311</span> </div>
|
||||
<div class="line"><span class="lineno"> 312</span> <span class="comment">/* initialize root approximations with random values */</span></div>
|
||||
<div class="line"><span class="lineno"> 313</span> <span class="keywordflow">if</span> (n < degree - 1) {</div>
|
||||
<div class="line"><span class="lineno"> 314</span> s0[n] = <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/complex.html">std::complex<double></a>(<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/random/rand.html">std::rand</a>() % 100, <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/random/rand.html">std::rand</a>() % 100);</div>
|
||||
<div class="line"><span class="lineno"> 314</span> s0[n] = std::complex<double>(std::rand() % 100, std::rand() % 100);</div>
|
||||
<div class="line"><span class="lineno"> 315</span> s0[n] -= 50.f;</div>
|
||||
<div class="line"><span class="lineno"> 316</span> s0[n] /= 50.f;</div>
|
||||
<div class="line"><span class="lineno"> 317</span> }</div>
|
||||
@@ -468,30 +475,24 @@ Here is the call graph for this function:</div>
|
||||
<div class="line"><span class="lineno"> 324</span> coeffs /= tmp;</div>
|
||||
<div class="line"><span class="lineno"> 325</span> }</div>
|
||||
<div class="line"><span class="lineno"> 326</span> </div>
|
||||
<div class="line"><span class="lineno"> 327</span> clock_t end_time, start_time = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/chrono/c/clock.html">clock</a>();</div>
|
||||
<div class="line"><span class="lineno"> 327</span> clock_t end_time, start_time = clock();</div>
|
||||
<div class="line"><span class="lineno"> 328</span> <span class="keyword">auto</span> <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">result</a> = <a class="code hl_function" href="#a2c35b320ace8677f9b331faf94f8b2fd">durand_kerner_algo</a>(coeffs, &s0, <span class="keyword">true</span>);</div>
|
||||
<div class="line"><span class="lineno"> 329</span> end_time = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/chrono/c/clock.html">clock</a>();</div>
|
||||
<div class="line"><span class="lineno"> 329</span> end_time = clock();</div>
|
||||
<div class="line"><span class="lineno"> 330</span> </div>
|
||||
<div class="line"><span class="lineno"> 331</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"\nIterations: "</span> << <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">result</a>.first << <span class="stringliteral">"\n"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 331</span> std::cout << <span class="stringliteral">"\nIterations: "</span> << <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">result</a>.first << <span class="stringliteral">"\n"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 332</span> <span class="keywordflow">for</span> (n = 0; n < degree - 1; n++)</div>
|
||||
<div class="line"><span class="lineno"> 333</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"\t"</span> << <a class="code hl_function" href="#a90219e35062007d1f1b68e9af071ab5c">complex_str</a>(s0[n]) << <span class="stringliteral">"\n"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 334</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"absolute average change: "</span> << <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">result</a>.second << <span class="stringliteral">"\n"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 335</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"Time taken: "</span></div>
|
||||
<div class="line"><span class="lineno"> 333</span> std::cout << <span class="stringliteral">"\t"</span> << <a class="code hl_function" href="#a90219e35062007d1f1b68e9af071ab5c">complex_str</a>(s0[n]) << <span class="stringliteral">"\n"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 334</span> std::cout << <span class="stringliteral">"absolute average change: "</span> << <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">result</a>.second << <span class="stringliteral">"\n"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 335</span> std::cout << <span class="stringliteral">"Time taken: "</span></div>
|
||||
<div class="line"><span class="lineno"> 336</span> << <span class="keyword">static_cast<</span><span class="keywordtype">double</span><span class="keyword">></span>(end_time - start_time) / CLOCKS_PER_SEC</div>
|
||||
<div class="line"><span class="lineno"> 337</span> << <span class="stringliteral">" sec\n"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 338</span> </div>
|
||||
<div class="line"><span class="lineno"> 339</span> <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><span class="lineno"> 340</span>}</div>
|
||||
<div class="ttc" id="aclock_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/chrono/c/clock.html">std::clock</a></div><div class="ttdeci">T clock(T... args)</div></div>
|
||||
<div class="ttc" id="adurand__kerner__roots_8cpp_html_a0283886819c7c140a023582b7269e2d0"><div class="ttname"><a href="#a0283886819c7c140a023582b7269e2d0">test2</a></div><div class="ttdeci">void test2()</div><div class="ttdef"><b>Definition</b> durand_kerner_roots.cpp:243</div></div>
|
||||
<div class="ttc" id="adurand__kerner__roots_8cpp_html_a1440a7779ac56f47a3f355ce4a8c7da0"><div class="ttname"><a href="#a1440a7779ac56f47a3f355ce4a8c7da0">test1</a></div><div class="ttdeci">void test1()</div><div class="ttdef"><b>Definition</b> durand_kerner_roots.cpp:208</div></div>
|
||||
<div class="ttc" id="adurand__kerner__roots_8cpp_html_a2c35b320ace8677f9b331faf94f8b2fd"><div class="ttname"><a href="#a2c35b320ace8677f9b331faf94f8b2fd">durand_kerner_algo</a></div><div class="ttdeci">std::pair< uint32_t, double > durand_kerner_algo(const std::valarray< double > &coeffs, std::valarray< std::complex< double > > *roots, bool write_log=false)</div><div class="ttdef"><b>Definition</b> durand_kerner_roots.cpp:110</div></div>
|
||||
<div class="ttc" id="afibonacci__sum_8cpp_html_aadb40ac4c74a7efc0680b83eeee138aa"><div class="ttname"><a href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">math::fibonacci_sum::result</a></div><div class="ttdeci">uint64_t result(uint64_t n)</div><div class="ttdef"><b>Definition</b> fibonacci_sum.cpp:77</div></div>
|
||||
<div class="ttc" id="arand_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/numeric/random/rand.html">std::rand</a></div><div class="ttdeci">T rand(T... args)</div></div>
|
||||
<div class="ttc" id="asrand_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/numeric/random/srand.html">std::srand</a></div><div class="ttdeci">T srand(T... args)</div></div>
|
||||
<div class="ttc" id="astrtof_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/byte/strtof.html">std::strtod</a></div><div class="ttdeci">T strtod(T... args)</div></div>
|
||||
<div class="ttc" id="atime_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/chrono/c/time.html">std::time</a></div><div class="ttdeci">T time(T... args)</div></div>
|
||||
<div class="ttc" id="avalarray_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray</a></div></div>
|
||||
<div class="ttc" id="adurand__kerner__roots_8cpp_html_a0283886819c7c140a023582b7269e2d0"><div class="ttname"><a href="#a0283886819c7c140a023582b7269e2d0">test2</a></div><div class="ttdeci">void test2()</div><div class="ttdef"><b>Definition</b> <a href="../../da/df2/durand__kerner__roots_8cpp_source.html#l00243">durand_kerner_roots.cpp:243</a></div></div>
|
||||
<div class="ttc" id="adurand__kerner__roots_8cpp_html_a1440a7779ac56f47a3f355ce4a8c7da0"><div class="ttname"><a href="#a1440a7779ac56f47a3f355ce4a8c7da0">test1</a></div><div class="ttdeci">void test1()</div><div class="ttdef"><b>Definition</b> <a href="../../da/df2/durand__kerner__roots_8cpp_source.html#l00208">durand_kerner_roots.cpp:208</a></div></div>
|
||||
<div class="ttc" id="adurand__kerner__roots_8cpp_html_a2c35b320ace8677f9b331faf94f8b2fd"><div class="ttname"><a href="#a2c35b320ace8677f9b331faf94f8b2fd">durand_kerner_algo</a></div><div class="ttdeci">std::pair< uint32_t, double > durand_kerner_algo(const std::valarray< double > &coeffs, std::valarray< std::complex< double > > *roots, bool write_log=false)</div><div class="ttdef"><b>Definition</b> <a href="../../da/df2/durand__kerner__roots_8cpp_source.html#l00110">durand_kerner_roots.cpp:110</a></div></div>
|
||||
<div class="ttc" id="afibonacci__sum_8cpp_html_aadb40ac4c74a7efc0680b83eeee138aa"><div class="ttname"><a href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">math::fibonacci_sum::result</a></div><div class="ttdeci">uint64_t result(uint64_t n)</div><div class="ttdef"><b>Definition</b> <a href="../../de/dc3/fibonacci__sum_8cpp_source.html#l00077">fibonacci_sum.cpp:77</a></div></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
@@ -502,14 +503,14 @@ Here is the call graph for this function:</div>
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/complex.html">std::complex</a>< double > poly_function </td>
|
||||
<td class="memname">std::complex< double > poly_function </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray</a>< double > &</td> <td class="paramname"><span class="paramname"><em>coeffs</em></span>, </td>
|
||||
<td class="paramtype">const std::valarray< double > &</td> <td class="paramname"><span class="paramname"><em>coeffs</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/complex.html">std::complex</a>< double ></td> <td class="paramname"><span class="paramname"><em>x</em></span> )</td>
|
||||
<td class="paramtype">std::complex< double ></td> <td class="paramname"><span class="paramname"><em>x</em></span> )</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
@@ -521,6 +522,8 @@ Here is the call graph for this function:</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>\(f(x)\) </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../da/df2/durand__kerner__roots_8cpp_source.html#l00054">54</a> of file <a class="el" href="../../da/df2/durand__kerner__roots_8cpp_source.html">durand_kerner_roots.cpp</a>.</p>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 55</span> {</div>
|
||||
<div class="line"><span class="lineno"> 56</span> <span class="keywordtype">double</span> real = 0.f, imag = 0.f;</div>
|
||||
<div class="line"><span class="lineno"> 57</span> <span class="keywordtype">int</span> n;</div>
|
||||
@@ -529,21 +532,15 @@ Here is the call graph for this function:</div>
|
||||
<div class="line"><span class="lineno"> 60</span> <span class="comment">// #pragma omp target teams distribute reduction(+ : real, imag)</span></div>
|
||||
<div class="line"><span class="lineno"> 61</span> <span class="comment">// #endif</span></div>
|
||||
<div class="line"><span class="lineno"> 62</span> <span class="keywordflow">for</span> (n = 0; n < coeffs.size(); n++) {</div>
|
||||
<div class="line"><span class="lineno"> 63</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/complex.html">std::complex<double></a> tmp =</div>
|
||||
<div class="line"><span class="lineno"> 64</span> coeffs[n] * <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/math/pow.html">std::pow</a>(x, coeffs.size() - n - 1);</div>
|
||||
<div class="line"><span class="lineno"> 65</span> real += tmp.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/complex/real.html">real</a>();</div>
|
||||
<div class="line"><span class="lineno"> 66</span> imag += tmp.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/complex/imag.html">imag</a>();</div>
|
||||
<div class="line"><span class="lineno"> 63</span> std::complex<double> tmp =</div>
|
||||
<div class="line"><span class="lineno"> 64</span> coeffs[n] * std::pow(x, coeffs.size() - n - 1);</div>
|
||||
<div class="line"><span class="lineno"> 65</span> real += tmp.real();</div>
|
||||
<div class="line"><span class="lineno"> 66</span> imag += tmp.imag();</div>
|
||||
<div class="line"><span class="lineno"> 67</span> }</div>
|
||||
<div class="line"><span class="lineno"> 68</span> </div>
|
||||
<div class="line"><span class="lineno"> 69</span> <span class="keywordflow">return</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/complex.html">std::complex<double></a>(real, imag);</div>
|
||||
<div class="line"><span class="lineno"> 69</span> <span class="keywordflow">return</span> std::complex<double>(real, imag);</div>
|
||||
<div class="line"><span class="lineno"> 70</span>}</div>
|
||||
<div class="ttc" id="apow_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/numeric/math/pow.html">std::pow</a></div><div class="ttdeci">T pow(T... args)</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="../../da/df2/durand__kerner__roots_8cpp_ae2ab49ba1969d7a5988f9bc2c8924569_cgraph.svg" width="290" height="135"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a id="a1440a7779ac56f47a3f355ce4a8c7da0" name="a1440a7779ac56f47a3f355ce4a8c7da0"></a>
|
||||
@@ -561,17 +558,19 @@ Here is the call graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Self test the algorithm by checking the roots for \(x^2+4=0\) to which the roots are \(0 \pm 2i\) </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../da/df2/durand__kerner__roots_8cpp_source.html#l00208">208</a> of file <a class="el" href="../../da/df2/durand__kerner__roots_8cpp_source.html">durand_kerner_roots.cpp</a>.</p>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 208</span> {</div>
|
||||
<div class="line"><span class="lineno"> 209</span> <span class="keyword">const</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray<double></a> coeffs = {1, 0, 4}; <span class="comment">// x^2 - 2 = 0</span></div>
|
||||
<div class="line"><span class="lineno"> 210</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray<std::complex<double></a>> roots(2);</div>
|
||||
<div class="line"><span class="lineno"> 211</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray<std::complex<double></a>> expected = {</div>
|
||||
<div class="line"><span class="lineno"> 212</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/complex.html">std::complex<double></a>(0., 2.),</div>
|
||||
<div class="line"><span class="lineno"> 213</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/complex.html">std::complex<double></a>(0., -2.) <span class="comment">// known expected roots</span></div>
|
||||
<div class="line"><span class="lineno"> 209</span> <span class="keyword">const</span> std::valarray<double> coeffs = {1, 0, 4}; <span class="comment">// x^2 - 2 = 0</span></div>
|
||||
<div class="line"><span class="lineno"> 210</span> std::valarray<std::complex<double>> roots(2);</div>
|
||||
<div class="line"><span class="lineno"> 211</span> std::valarray<std::complex<double>> expected = {</div>
|
||||
<div class="line"><span class="lineno"> 212</span> std::complex<double>(0., 2.),</div>
|
||||
<div class="line"><span class="lineno"> 213</span> std::complex<double>(0., -2.) <span class="comment">// known expected roots</span></div>
|
||||
<div class="line"><span class="lineno"> 214</span> };</div>
|
||||
<div class="line"><span class="lineno"> 215</span> </div>
|
||||
<div class="line"><span class="lineno"> 216</span> <span class="comment">/* initialize root approximations with random values */</span></div>
|
||||
<div class="line"><span class="lineno"> 217</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> n = 0; n < roots.size(); n++) {</div>
|
||||
<div class="line"><span class="lineno"> 218</span> roots[n] = <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/complex.html">std::complex<double></a>(<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/random/rand.html">std::rand</a>() % 100, <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/random/rand.html">std::rand</a>() % 100);</div>
|
||||
<div class="line"><span class="lineno"> 218</span> roots[n] = std::complex<double>(std::rand() % 100, std::rand() % 100);</div>
|
||||
<div class="line"><span class="lineno"> 219</span> roots[n] -= 50.f;</div>
|
||||
<div class="line"><span class="lineno"> 220</span> roots[n] /= 25.f;</div>
|
||||
<div class="line"><span class="lineno"> 221</span> }</div>
|
||||
@@ -587,16 +586,11 @@ Here is the call graph for this function:</div>
|
||||
<div class="line"><span class="lineno"> 231</span> assert(err1);</div>
|
||||
<div class="line"><span class="lineno"> 232</span> }</div>
|
||||
<div class="line"><span class="lineno"> 233</span> </div>
|
||||
<div class="line"><span class="lineno"> 234</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"Test 1 passed! - "</span> << <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">result</a>.first << <span class="stringliteral">" iterations, "</span></div>
|
||||
<div class="line"><span class="lineno"> 234</span> std::cout << <span class="stringliteral">"Test 1 passed! - "</span> << <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">result</a>.first << <span class="stringliteral">" iterations, "</span></div>
|
||||
<div class="line"><span class="lineno"> 235</span> << <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">result</a>.second << <span class="stringliteral">" accuracy"</span></div>
|
||||
<div class="line"><span class="lineno"> 236</span> << <span class="stringliteral">"\n"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 237</span>}</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="../../da/df2/durand__kerner__roots_8cpp_a1440a7779ac56f47a3f355ce4a8c7da0_cgraph.svg" width="623" height="431"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a id="a0283886819c7c140a023582b7269e2d0" name="a0283886819c7c140a023582b7269e2d0"></a>
|
||||
@@ -614,18 +608,20 @@ Here is the call graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Self test the algorithm by checking the roots for \(0.015625x^3-1=0\) to which the roots are \((4+0i),\,(-2\pm3.464i)\) </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../da/df2/durand__kerner__roots_8cpp_source.html#l00243">243</a> of file <a class="el" href="../../da/df2/durand__kerner__roots_8cpp_source.html">durand_kerner_roots.cpp</a>.</p>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 243</span> {</div>
|
||||
<div class="line"><span class="lineno"> 244</span> <span class="keyword">const</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray<double></a> coeffs = {<span class="comment">// 0.015625 x^3 - 1 = 0</span></div>
|
||||
<div class="line"><span class="lineno"> 244</span> <span class="keyword">const</span> std::valarray<double> coeffs = {<span class="comment">// 0.015625 x^3 - 1 = 0</span></div>
|
||||
<div class="line"><span class="lineno"> 245</span> 1. / 64., 0., 0., -1.};</div>
|
||||
<div class="line"><span class="lineno"> 246</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray<std::complex<double></a>> roots(3);</div>
|
||||
<div class="line"><span class="lineno"> 247</span> <span class="keyword">const</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray<std::complex<double></a>> expected = {</div>
|
||||
<div class="line"><span class="lineno"> 248</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/complex.html">std::complex<double></a>(4., 0.), <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/complex.html">std::complex<double></a>(-2., 3.46410162),</div>
|
||||
<div class="line"><span class="lineno"> 249</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/complex.html">std::complex<double></a>(-2., -3.46410162) <span class="comment">// known expected roots</span></div>
|
||||
<div class="line"><span class="lineno"> 246</span> std::valarray<std::complex<double>> roots(3);</div>
|
||||
<div class="line"><span class="lineno"> 247</span> <span class="keyword">const</span> std::valarray<std::complex<double>> expected = {</div>
|
||||
<div class="line"><span class="lineno"> 248</span> std::complex<double>(4., 0.), std::complex<double>(-2., 3.46410162),</div>
|
||||
<div class="line"><span class="lineno"> 249</span> std::complex<double>(-2., -3.46410162) <span class="comment">// known expected roots</span></div>
|
||||
<div class="line"><span class="lineno"> 250</span> };</div>
|
||||
<div class="line"><span class="lineno"> 251</span> </div>
|
||||
<div class="line"><span class="lineno"> 252</span> <span class="comment">/* initialize root approximations with random values */</span></div>
|
||||
<div class="line"><span class="lineno"> 253</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> n = 0; n < roots.size(); n++) {</div>
|
||||
<div class="line"><span class="lineno"> 254</span> roots[n] = <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/complex.html">std::complex<double></a>(<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/random/rand.html">std::rand</a>() % 100, <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/random/rand.html">std::rand</a>() % 100);</div>
|
||||
<div class="line"><span class="lineno"> 254</span> roots[n] = std::complex<double>(std::rand() % 100, std::rand() % 100);</div>
|
||||
<div class="line"><span class="lineno"> 255</span> roots[n] -= 50.f;</div>
|
||||
<div class="line"><span class="lineno"> 256</span> roots[n] /= 25.f;</div>
|
||||
<div class="line"><span class="lineno"> 257</span> }</div>
|
||||
@@ -641,16 +637,11 @@ Here is the call graph for this function:</div>
|
||||
<div class="line"><span class="lineno"> 267</span> assert(err1);</div>
|
||||
<div class="line"><span class="lineno"> 268</span> }</div>
|
||||
<div class="line"><span class="lineno"> 269</span> </div>
|
||||
<div class="line"><span class="lineno"> 270</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"Test 2 passed! - "</span> << <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">result</a>.first << <span class="stringliteral">" iterations, "</span></div>
|
||||
<div class="line"><span class="lineno"> 270</span> std::cout << <span class="stringliteral">"Test 2 passed! - "</span> << <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">result</a>.first << <span class="stringliteral">" iterations, "</span></div>
|
||||
<div class="line"><span class="lineno"> 271</span> << <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">result</a>.second << <span class="stringliteral">" accuracy"</span></div>
|
||||
<div class="line"><span class="lineno"> 272</span> << <span class="stringliteral">"\n"</span>;</div>
|
||||
<div class="line"><span class="lineno"> 273</span>}</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="../../da/df2/durand__kerner__roots_8cpp_a0283886819c7c140a023582b7269e2d0_cgraph.svg" width="623" height="431"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
<map id="test2" name="test2">
|
||||
<area shape="rect" id="Node000001" title=" " alt="" coords="5,228,56,254"/>
|
||||
<area shape="rect" id="Node000002" href="$da/df2/durand__kerner__roots_8cpp.html#a2c35b320ace8677f9b331faf94f8b2fd" title=" " alt="" coords="104,203,238,228"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="55,234,88,228,89,233,56,239"/>
|
||||
<area shape="rect" id="Node000016" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/random/rand.html#" title=" " alt="" coords="135,252,207,278"/>
|
||||
<area shape="poly" id="edge17_Node000001_Node000016" title=" " alt="" coords="56,242,120,254,119,259,55,248"/>
|
||||
<area shape="rect" id="Node000003" href="$da/df2/durand__kerner__roots_8cpp.html#a024b8bc4755863315456d573a6732377" title=" " alt="" coords="298,5,425,31"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="175,201,189,169,212,126,244,80,284,40,289,37,292,41,288,44,248,83,217,128,194,171,180,204"/>
|
||||
<area shape="rect" id="Node000004" href="$da/df2/durand__kerner__roots_8cpp.html#a90219e35062007d1f1b68e9af071ab5c" title=" " alt="" coords="316,104,408,130"/>
|
||||
<area shape="poly" id="edge3_Node000002_Node000004" title=" " alt="" coords="188,200,231,170,285,138,300,132,302,137,287,143,234,174,191,204"/>
|
||||
<area shape="rect" id="Node000008" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/utility/program/exit.html#" title=" " alt="" coords="328,153,396,179"/>
|
||||
<area shape="poly" id="edge7_Node000002_Node000008" title=" " alt="" coords="223,199,312,176,313,181,224,205"/>
|
||||
<area shape="rect" id="Node000009" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/is_open.html#" title=" " alt="" coords="286,203,437,228"/>
|
||||
<area shape="poly" id="edge8_Node000002_Node000009" title=" " alt="" coords="239,213,270,213,270,218,239,218"/>
|
||||
<area shape="rect" id="Node000010" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/isinf.html#" title=" " alt="" coords="326,252,397,278"/>
|
||||
<area shape="poly" id="edge9_Node000002_Node000010" title=" " alt="" coords="224,226,312,249,310,254,223,232"/>
|
||||
<area shape="rect" id="Node000011" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/isnan.html#" title=" " alt="" coords="322,301,401,327"/>
|
||||
<area shape="poly" id="edge10_Node000002_Node000011" title=" " alt="" coords="219,227,239,237,255,250,264,263,273,276,287,288,309,298,306,303,285,292,269,279,260,267,251,254,237,242,217,231"/>
|
||||
<area shape="rect" id="Node000012" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/max.html#" title=" " alt="" coords="326,351,398,376"/>
|
||||
<area shape="poly" id="edge11_Node000002_Node000012" title=" " alt="" coords="224,227,240,237,251,250,258,264,264,289,270,314,277,326,288,337,312,352,310,356,284,342,273,329,265,316,259,290,253,265,247,253,236,242,221,231"/>
|
||||
<area shape="rect" id="Node000013" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/open.html#" title=" " alt="" coords="294,400,429,426"/>
|
||||
<area shape="poly" id="edge12_Node000002_Node000013" title=" " alt="" coords="226,227,240,238,254,257,262,277,264,314,267,351,274,369,288,387,290,389,286,393,284,391,269,372,262,352,259,315,256,278,250,260,236,241,222,231"/>
|
||||
<area shape="rect" id="Node000014" href="$da/df2/durand__kerner__roots_8cpp.html#ae2ab49ba1969d7a5988f9bc2c8924569" title=" " alt="" coords="312,55,411,80"/>
|
||||
<area shape="poly" id="edge13_Node000002_Node000014" title=" " alt="" coords="179,201,220,147,250,116,285,89,297,82,299,87,287,94,254,120,224,151,183,204"/>
|
||||
<area shape="rect" id="Node000005" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/complex/imag.html#" title=" " alt="" coords="485,55,618,80"/>
|
||||
<area shape="poly" id="edge4_Node000004_Node000005" title=" " alt="" coords="408,102,484,82,485,87,409,107"/>
|
||||
<area shape="rect" id="Node000006" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/complex/real.html#" title=" " alt="" coords="489,104,614,130"/>
|
||||
<area shape="poly" id="edge5_Node000004_Node000006" title=" " alt="" coords="408,114,473,114,473,120,408,120"/>
|
||||
<area shape="rect" id="Node000007" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/c/fprintf.html#" title=" " alt="" coords="506,153,597,179"/>
|
||||
<area shape="poly" id="edge6_Node000004_Node000007" title=" " alt="" coords="409,126,492,148,490,153,408,131"/>
|
||||
<area shape="poly" id="edge14_Node000014_Node000005" title=" " alt="" coords="411,65,470,65,470,70,411,70"/>
|
||||
<area shape="poly" id="edge16_Node000014_Node000006" title=" " alt="" coords="412,78,486,97,484,102,411,83"/>
|
||||
<area shape="rect" id="Node000015" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/pow.html#" title=" " alt="" coords="516,5,587,31"/>
|
||||
<area shape="poly" id="edge15_Node000014_Node000015" title=" " alt="" coords="411,52,500,29,502,34,412,57"/>
|
||||
</map>
|
||||
@@ -1 +0,0 @@
|
||||
9497ddabf33a67575cb55954b5500841
|
||||
@@ -1,335 +0,0 @@
|
||||
<?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 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: test2 Pages: 1 -->
|
||||
<svg width="467pt" height="323pt"
|
||||
viewBox="0.00 0.00 467.25 323.25" 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">
|
||||
|
||||
<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 319.25)">
|
||||
<title>test2</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title=" ">
|
||||
<polygon fill="#999999" stroke="#666666" points="37.75,-148.25 0,-148.25 0,-129 37.75,-129 37.75,-148.25"/>
|
||||
<text text-anchor="middle" x="18.88" y="-134.75" font-family="Helvetica,sans-Serif" font-size="10.00">test2</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a xlink:href="../../da/df2/durand__kerner__roots_8cpp.html#a2c35b320ace8677f9b331faf94f8b2fd" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="174.5,-167.25 73.75,-167.25 73.75,-148 174.5,-148 174.5,-167.25"/>
|
||||
<text text-anchor="middle" x="124.12" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">durand_kerner_algo</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="M37.86,-141.93C44.85,-143.22 53.29,-144.77 62.11,-146.4"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.45,-149.83 71.92,-148.2 62.72,-142.95 61.45,-149.83"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node16 -->
|
||||
<g id="Node000016" class="node">
|
||||
<title>Node16</title>
|
||||
<g id="a_Node000016"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="151.25,-130.25 97,-130.25 97,-111 151.25,-111 151.25,-130.25"/>
|
||||
<text text-anchor="middle" x="124.12" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::rand</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node16 -->
|
||||
<g id="edge17_Node000001_Node000016" class="edge">
|
||||
<title>Node1->Node16</title>
|
||||
<g id="a_edge17_Node000001_Node000016"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M37.86,-135.49C51.1,-133.18 69.56,-129.96 85.93,-127.11"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="86.09,-130.63 95.34,-125.47 84.88,-123.74 86.09,-130.63"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a xlink:href="../../da/df2/durand__kerner__roots_8cpp.html#a024b8bc4755863315456d573a6732377" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="315,-315.25 219.5,-315.25 219.5,-296 315,-296 315,-315.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-301.75" font-family="Helvetica,sans-Serif" font-size="10.00">check_termination</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<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="M128.84,-167.41C138.49,-191.51 166.68,-254.25 210.5,-287.62 211.66,-288.51 212.87,-289.35 214.11,-290.15"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="212.39,-293.2 222.86,-294.82 215.68,-287.02 212.39,-293.2"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a xlink:href="../../da/df2/durand__kerner__roots_8cpp.html#a90219e35062007d1f1b68e9af071ab5c" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="301.88,-241.25 232.62,-241.25 232.62,-222 301.88,-222 301.88,-241.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-227.75" font-family="Helvetica,sans-Serif" font-size="10.00">complex_str</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node4 -->
|
||||
<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="M138.07,-167.72C154.25,-179.95 183.16,-200.54 210.5,-213.62 214.05,-215.32 217.8,-216.92 221.6,-218.4"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="220.35,-221.67 230.95,-221.78 222.73,-215.09 220.35,-221.67"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="Node000008" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_Node000008"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/utility/program/exit.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="292.88,-204.25 241.62,-204.25 241.62,-185 292.88,-185 292.88,-204.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-190.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::exit</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node8 -->
|
||||
<g id="edge7_Node000002_Node000008" class="edge">
|
||||
<title>Node2->Node8</title>
|
||||
<g id="a_edge7_Node000002_Node000008"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M163.69,-167.74C184.52,-173.2 210.08,-179.9 230.47,-185.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="229.48,-188.6 240.04,-187.75 231.26,-181.83 229.48,-188.6"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="Node000009" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_Node000009"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="324,-167.25 210.5,-167.25 210.5,-148 324,-148 324,-167.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::is_open</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node9 -->
|
||||
<g id="edge8_Node000002_Node000009" class="edge">
|
||||
<title>Node2->Node9</title>
|
||||
<g id="a_edge8_Node000002_Node000009"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M174.88,-157.62C182.65,-157.62 190.78,-157.62 198.86,-157.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="198.69,-161.13 208.69,-157.63 198.69,-154.13 198.69,-161.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="Node000010" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_Node000010"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/isinf.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="294,-130.25 240.5,-130.25 240.5,-111 294,-111 294,-130.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::isinf</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node10 -->
|
||||
<g id="edge9_Node000002_Node000010" class="edge">
|
||||
<title>Node2->Node10</title>
|
||||
<g id="a_edge9_Node000002_Node000010"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M163.69,-147.51C184.11,-142.16 209.08,-135.61 229.26,-130.32"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="229.97,-133.75 238.76,-127.83 228.2,-126.98 229.97,-133.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node11 -->
|
||||
<g id="Node000011" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_Node000011"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/isnan.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="296.62,-93.25 237.88,-93.25 237.88,-74 296.62,-74 296.62,-93.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::isnan</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node11 -->
|
||||
<g id="edge10_Node000002_Node000011" class="edge">
|
||||
<title>Node2->Node11</title>
|
||||
<g id="a_edge10_Node000002_Node000011"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M159.33,-147.52C164.61,-145.3 169.85,-142.68 174.5,-139.62 193.95,-126.86 190.82,-114.03 210.5,-101.62 215.48,-98.49 221.06,-95.85 226.71,-93.64"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="227.79,-96.97 236.1,-90.41 225.51,-90.35 227.79,-96.97"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node12 -->
|
||||
<g id="Node000012" class="node">
|
||||
<title>Node12</title>
|
||||
<g id="a_Node000012"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="294.38,-56.25 240.12,-56.25 240.12,-37 294.38,-37 294.38,-56.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::max</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node12 -->
|
||||
<g id="edge11_Node000002_Node000012" class="edge">
|
||||
<title>Node2->Node12</title>
|
||||
<g id="a_edge11_Node000002_Node000012"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M162.52,-147.62C166.86,-145.45 170.98,-142.81 174.5,-139.62 201.89,-114.79 182.65,-88.94 210.5,-64.62 215.88,-59.93 222.5,-56.45 229.28,-53.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="229.97,-57.34 238.46,-51 227.87,-50.66 229.97,-57.34"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node13 -->
|
||||
<g id="Node000013" class="node">
|
||||
<title>Node13</title>
|
||||
<g id="a_Node000013"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/open.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="317.62,-19.25 216.88,-19.25 216.88,0 317.62,0 317.62,-19.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::open</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node13 -->
|
||||
<g id="edge12_Node000002_Node000013" class="edge">
|
||||
<title>Node2->Node13</title>
|
||||
<g id="a_edge12_Node000002_Node000013"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M163.93,-147.54C167.83,-145.39 171.46,-142.78 174.5,-139.62 210.75,-101.95 173.55,-64.62 210.5,-27.62 210.99,-27.13 211.5,-26.65 212.02,-26.18"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="213.91,-29.13 220.14,-20.56 209.92,-23.38 213.91,-29.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14 -->
|
||||
<g id="Node000014" class="node">
|
||||
<title>Node14</title>
|
||||
<g id="a_Node000014"><a xlink:href="../../da/df2/durand__kerner__roots_8cpp.html#ae2ab49ba1969d7a5988f9bc2c8924569" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="304.12,-278.25 230.38,-278.25 230.38,-259 304.12,-259 304.12,-278.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-264.75" font-family="Helvetica,sans-Serif" font-size="10.00">poly_function</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node14 -->
|
||||
<g id="edge13_Node000002_Node000014" class="edge">
|
||||
<title>Node2->Node14</title>
|
||||
<g id="a_edge13_Node000002_Node000014"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M131.62,-167.6C144.45,-186.53 174.89,-227.79 210.5,-250.62 213.36,-252.46 216.43,-254.12 219.59,-255.63"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="217.95,-258.73 228.53,-259.33 220.63,-252.27 217.95,-258.73"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/complex/imag.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="459.25,-278.25 360,-278.25 360,-259 459.25,-259 459.25,-278.25"/>
|
||||
<text text-anchor="middle" x="409.62" y="-264.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::complex::imag</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node5 -->
|
||||
<g id="edge4_Node000004_Node000005" class="edge">
|
||||
<title>Node4->Node5</title>
|
||||
<g id="a_edge4_Node000004_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.23,-240.58C319.31,-245.08 340.33,-250.62 359.16,-255.59"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="358.23,-258.96 368.79,-258.12 360.01,-252.19 358.23,-258.96"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="Node000006" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/complex/real.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="456.62,-241.25 362.62,-241.25 362.62,-222 456.62,-222 456.62,-241.25"/>
|
||||
<text text-anchor="middle" x="409.62" y="-227.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::complex::real</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node6 -->
|
||||
<g id="edge5_Node000004_Node000006" class="edge">
|
||||
<title>Node4->Node6</title>
|
||||
<g id="a_edge5_Node000004_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.23,-231.62C316.87,-231.62 334.4,-231.62 350.96,-231.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="350.72,-235.13 360.72,-231.63 350.72,-228.13 350.72,-235.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="Node000007" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/c/fprintf.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="443.5,-204.25 375.75,-204.25 375.75,-185 443.5,-185 443.5,-204.25"/>
|
||||
<text text-anchor="middle" x="409.62" y="-190.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::snprintf</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node7 -->
|
||||
<g id="edge6_Node000004_Node000007" class="edge">
|
||||
<title>Node4->Node7</title>
|
||||
<g id="a_edge6_Node000004_Node000007"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.23,-222.67C320.9,-217.75 344.28,-211.58 364.37,-206.29"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="365.2,-209.69 373.98,-203.76 363.42,-202.92 365.2,-209.69"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14->Node5 -->
|
||||
<g id="edge14_Node000014_Node000005" class="edge">
|
||||
<title>Node14->Node5</title>
|
||||
<g id="a_edge14_Node000014_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M304.4,-268.62C317.8,-268.62 333.38,-268.62 348.35,-268.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="348.12,-272.13 358.12,-268.63 348.12,-265.13 348.12,-272.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14->Node6 -->
|
||||
<g id="edge16_Node000014_Node000006" class="edge">
|
||||
<title>Node14->Node6</title>
|
||||
<g id="a_edge16_Node000014_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M304.4,-259.1C321.22,-254.66 341.48,-249.32 359.64,-244.54"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="360.39,-247.96 369.17,-242.02 358.61,-241.19 360.39,-247.96"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node15 -->
|
||||
<g id="Node000015" class="node">
|
||||
<title>Node15</title>
|
||||
<g id="a_Node000015"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/pow.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="436.38,-315.25 382.88,-315.25 382.88,-296 436.38,-296 436.38,-315.25"/>
|
||||
<text text-anchor="middle" x="409.62" y="-301.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::pow</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14->Node15 -->
|
||||
<g id="edge15_Node000014_Node000015" class="edge">
|
||||
<title>Node14->Node15</title>
|
||||
<g id="a_edge15_Node000014_Node000015"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M304.4,-278.15C325.1,-283.61 351.01,-290.44 371.82,-295.92"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="370.76,-299.26 381.33,-298.43 372.55,-292.5 370.76,-299.26"/>
|
||||
</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: 15 KiB |
@@ -1,309 +0,0 @@
|
||||
<?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 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: test2 Pages: 1 -->
|
||||
<svg width="467pt" height="323pt"
|
||||
viewBox="0.00 0.00 467.25 323.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 319.25)">
|
||||
<title>test2</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title=" ">
|
||||
<polygon fill="#999999" stroke="#666666" points="37.75,-148.25 0,-148.25 0,-129 37.75,-129 37.75,-148.25"/>
|
||||
<text text-anchor="middle" x="18.88" y="-134.75" font-family="Helvetica,sans-Serif" font-size="10.00">test2</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a xlink:href="../../da/df2/durand__kerner__roots_8cpp.html#a2c35b320ace8677f9b331faf94f8b2fd" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="174.5,-167.25 73.75,-167.25 73.75,-148 174.5,-148 174.5,-167.25"/>
|
||||
<text text-anchor="middle" x="124.12" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">durand_kerner_algo</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="M37.86,-141.93C44.85,-143.22 53.29,-144.77 62.11,-146.4"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.45,-149.83 71.92,-148.2 62.72,-142.95 61.45,-149.83"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node16 -->
|
||||
<g id="Node000016" class="node">
|
||||
<title>Node16</title>
|
||||
<g id="a_Node000016"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="151.25,-130.25 97,-130.25 97,-111 151.25,-111 151.25,-130.25"/>
|
||||
<text text-anchor="middle" x="124.12" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::rand</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node16 -->
|
||||
<g id="edge17_Node000001_Node000016" class="edge">
|
||||
<title>Node1->Node16</title>
|
||||
<g id="a_edge17_Node000001_Node000016"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M37.86,-135.49C51.1,-133.18 69.56,-129.96 85.93,-127.11"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="86.09,-130.63 95.34,-125.47 84.88,-123.74 86.09,-130.63"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a xlink:href="../../da/df2/durand__kerner__roots_8cpp.html#a024b8bc4755863315456d573a6732377" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="315,-315.25 219.5,-315.25 219.5,-296 315,-296 315,-315.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-301.75" font-family="Helvetica,sans-Serif" font-size="10.00">check_termination</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<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="M128.84,-167.41C138.49,-191.51 166.68,-254.25 210.5,-287.62 211.66,-288.51 212.87,-289.35 214.11,-290.15"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="212.39,-293.2 222.86,-294.82 215.68,-287.02 212.39,-293.2"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a xlink:href="../../da/df2/durand__kerner__roots_8cpp.html#a90219e35062007d1f1b68e9af071ab5c" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="301.88,-241.25 232.62,-241.25 232.62,-222 301.88,-222 301.88,-241.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-227.75" font-family="Helvetica,sans-Serif" font-size="10.00">complex_str</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node4 -->
|
||||
<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="M138.07,-167.72C154.25,-179.95 183.16,-200.54 210.5,-213.62 214.05,-215.32 217.8,-216.92 221.6,-218.4"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="220.35,-221.67 230.95,-221.78 222.73,-215.09 220.35,-221.67"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="Node000008" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_Node000008"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/utility/program/exit.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="292.88,-204.25 241.62,-204.25 241.62,-185 292.88,-185 292.88,-204.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-190.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::exit</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node8 -->
|
||||
<g id="edge7_Node000002_Node000008" class="edge">
|
||||
<title>Node2->Node8</title>
|
||||
<g id="a_edge7_Node000002_Node000008"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M163.69,-167.74C184.52,-173.2 210.08,-179.9 230.47,-185.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="229.48,-188.6 240.04,-187.75 231.26,-181.83 229.48,-188.6"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="Node000009" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_Node000009"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="324,-167.25 210.5,-167.25 210.5,-148 324,-148 324,-167.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::is_open</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node9 -->
|
||||
<g id="edge8_Node000002_Node000009" class="edge">
|
||||
<title>Node2->Node9</title>
|
||||
<g id="a_edge8_Node000002_Node000009"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M174.88,-157.62C182.65,-157.62 190.78,-157.62 198.86,-157.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="198.69,-161.13 208.69,-157.63 198.69,-154.13 198.69,-161.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="Node000010" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_Node000010"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/isinf.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="294,-130.25 240.5,-130.25 240.5,-111 294,-111 294,-130.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::isinf</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node10 -->
|
||||
<g id="edge9_Node000002_Node000010" class="edge">
|
||||
<title>Node2->Node10</title>
|
||||
<g id="a_edge9_Node000002_Node000010"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M163.69,-147.51C184.11,-142.16 209.08,-135.61 229.26,-130.32"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="229.97,-133.75 238.76,-127.83 228.2,-126.98 229.97,-133.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node11 -->
|
||||
<g id="Node000011" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_Node000011"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/isnan.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="296.62,-93.25 237.88,-93.25 237.88,-74 296.62,-74 296.62,-93.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::isnan</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node11 -->
|
||||
<g id="edge10_Node000002_Node000011" class="edge">
|
||||
<title>Node2->Node11</title>
|
||||
<g id="a_edge10_Node000002_Node000011"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M159.33,-147.52C164.61,-145.3 169.85,-142.68 174.5,-139.62 193.95,-126.86 190.82,-114.03 210.5,-101.62 215.48,-98.49 221.06,-95.85 226.71,-93.64"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="227.79,-96.97 236.1,-90.41 225.51,-90.35 227.79,-96.97"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node12 -->
|
||||
<g id="Node000012" class="node">
|
||||
<title>Node12</title>
|
||||
<g id="a_Node000012"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="294.38,-56.25 240.12,-56.25 240.12,-37 294.38,-37 294.38,-56.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::max</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node12 -->
|
||||
<g id="edge11_Node000002_Node000012" class="edge">
|
||||
<title>Node2->Node12</title>
|
||||
<g id="a_edge11_Node000002_Node000012"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M162.52,-147.62C166.86,-145.45 170.98,-142.81 174.5,-139.62 201.89,-114.79 182.65,-88.94 210.5,-64.62 215.88,-59.93 222.5,-56.45 229.28,-53.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="229.97,-57.34 238.46,-51 227.87,-50.66 229.97,-57.34"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node13 -->
|
||||
<g id="Node000013" class="node">
|
||||
<title>Node13</title>
|
||||
<g id="a_Node000013"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/open.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="317.62,-19.25 216.88,-19.25 216.88,0 317.62,0 317.62,-19.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::open</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node13 -->
|
||||
<g id="edge12_Node000002_Node000013" class="edge">
|
||||
<title>Node2->Node13</title>
|
||||
<g id="a_edge12_Node000002_Node000013"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M163.93,-147.54C167.83,-145.39 171.46,-142.78 174.5,-139.62 210.75,-101.95 173.55,-64.62 210.5,-27.62 210.99,-27.13 211.5,-26.65 212.02,-26.18"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="213.91,-29.13 220.14,-20.56 209.92,-23.38 213.91,-29.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14 -->
|
||||
<g id="Node000014" class="node">
|
||||
<title>Node14</title>
|
||||
<g id="a_Node000014"><a xlink:href="../../da/df2/durand__kerner__roots_8cpp.html#ae2ab49ba1969d7a5988f9bc2c8924569" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="304.12,-278.25 230.38,-278.25 230.38,-259 304.12,-259 304.12,-278.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-264.75" font-family="Helvetica,sans-Serif" font-size="10.00">poly_function</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node14 -->
|
||||
<g id="edge13_Node000002_Node000014" class="edge">
|
||||
<title>Node2->Node14</title>
|
||||
<g id="a_edge13_Node000002_Node000014"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M131.62,-167.6C144.45,-186.53 174.89,-227.79 210.5,-250.62 213.36,-252.46 216.43,-254.12 219.59,-255.63"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="217.95,-258.73 228.53,-259.33 220.63,-252.27 217.95,-258.73"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/complex/imag.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="459.25,-278.25 360,-278.25 360,-259 459.25,-259 459.25,-278.25"/>
|
||||
<text text-anchor="middle" x="409.62" y="-264.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::complex::imag</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node5 -->
|
||||
<g id="edge4_Node000004_Node000005" class="edge">
|
||||
<title>Node4->Node5</title>
|
||||
<g id="a_edge4_Node000004_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.23,-240.58C319.31,-245.08 340.33,-250.62 359.16,-255.59"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="358.23,-258.96 368.79,-258.12 360.01,-252.19 358.23,-258.96"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="Node000006" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/complex/real.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="456.62,-241.25 362.62,-241.25 362.62,-222 456.62,-222 456.62,-241.25"/>
|
||||
<text text-anchor="middle" x="409.62" y="-227.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::complex::real</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node6 -->
|
||||
<g id="edge5_Node000004_Node000006" class="edge">
|
||||
<title>Node4->Node6</title>
|
||||
<g id="a_edge5_Node000004_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.23,-231.62C316.87,-231.62 334.4,-231.62 350.96,-231.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="350.72,-235.13 360.72,-231.63 350.72,-228.13 350.72,-235.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="Node000007" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/c/fprintf.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="443.5,-204.25 375.75,-204.25 375.75,-185 443.5,-185 443.5,-204.25"/>
|
||||
<text text-anchor="middle" x="409.62" y="-190.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::snprintf</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node7 -->
|
||||
<g id="edge6_Node000004_Node000007" class="edge">
|
||||
<title>Node4->Node7</title>
|
||||
<g id="a_edge6_Node000004_Node000007"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.23,-222.67C320.9,-217.75 344.28,-211.58 364.37,-206.29"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="365.2,-209.69 373.98,-203.76 363.42,-202.92 365.2,-209.69"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14->Node5 -->
|
||||
<g id="edge14_Node000014_Node000005" class="edge">
|
||||
<title>Node14->Node5</title>
|
||||
<g id="a_edge14_Node000014_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M304.4,-268.62C317.8,-268.62 333.38,-268.62 348.35,-268.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="348.12,-272.13 358.12,-268.63 348.12,-265.13 348.12,-272.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14->Node6 -->
|
||||
<g id="edge16_Node000014_Node000006" class="edge">
|
||||
<title>Node14->Node6</title>
|
||||
<g id="a_edge16_Node000014_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M304.4,-259.1C321.22,-254.66 341.48,-249.32 359.64,-244.54"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="360.39,-247.96 369.17,-242.02 358.61,-241.19 360.39,-247.96"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node15 -->
|
||||
<g id="Node000015" class="node">
|
||||
<title>Node15</title>
|
||||
<g id="a_Node000015"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/pow.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="436.38,-315.25 382.88,-315.25 382.88,-296 436.38,-296 436.38,-315.25"/>
|
||||
<text text-anchor="middle" x="409.62" y="-301.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::pow</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14->Node15 -->
|
||||
<g id="edge15_Node000014_Node000015" class="edge">
|
||||
<title>Node14->Node15</title>
|
||||
<g id="a_edge15_Node000014_Node000015"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M304.4,-278.15C325.1,-283.61 351.01,-290.44 371.82,-295.92"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="370.76,-299.26 381.33,-298.43 372.55,-292.5 370.76,-299.26"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 14 KiB |
@@ -1,35 +0,0 @@
|
||||
<map id="test1" name="test1">
|
||||
<area shape="rect" id="Node000001" title=" " alt="" coords="5,228,56,254"/>
|
||||
<area shape="rect" id="Node000002" href="$da/df2/durand__kerner__roots_8cpp.html#a2c35b320ace8677f9b331faf94f8b2fd" title=" " alt="" coords="104,203,238,228"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="55,234,88,228,89,233,56,239"/>
|
||||
<area shape="rect" id="Node000016" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/random/rand.html#" title=" " alt="" coords="135,252,207,278"/>
|
||||
<area shape="poly" id="edge17_Node000001_Node000016" title=" " alt="" coords="56,242,120,254,119,259,55,248"/>
|
||||
<area shape="rect" id="Node000003" href="$da/df2/durand__kerner__roots_8cpp.html#a024b8bc4755863315456d573a6732377" title=" " alt="" coords="298,5,425,31"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="175,201,189,169,212,126,244,80,284,40,289,37,292,41,288,44,248,83,217,128,194,171,180,204"/>
|
||||
<area shape="rect" id="Node000004" href="$da/df2/durand__kerner__roots_8cpp.html#a90219e35062007d1f1b68e9af071ab5c" title=" " alt="" coords="316,104,408,130"/>
|
||||
<area shape="poly" id="edge3_Node000002_Node000004" title=" " alt="" coords="188,200,231,170,285,138,300,132,302,137,287,143,234,174,191,204"/>
|
||||
<area shape="rect" id="Node000008" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/utility/program/exit.html#" title=" " alt="" coords="328,153,396,179"/>
|
||||
<area shape="poly" id="edge7_Node000002_Node000008" title=" " alt="" coords="223,199,312,176,313,181,224,205"/>
|
||||
<area shape="rect" id="Node000009" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/is_open.html#" title=" " alt="" coords="286,203,437,228"/>
|
||||
<area shape="poly" id="edge8_Node000002_Node000009" title=" " alt="" coords="239,213,270,213,270,218,239,218"/>
|
||||
<area shape="rect" id="Node000010" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/isinf.html#" title=" " alt="" coords="326,252,397,278"/>
|
||||
<area shape="poly" id="edge9_Node000002_Node000010" title=" " alt="" coords="224,226,312,249,310,254,223,232"/>
|
||||
<area shape="rect" id="Node000011" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/isnan.html#" title=" " alt="" coords="322,301,401,327"/>
|
||||
<area shape="poly" id="edge10_Node000002_Node000011" title=" " alt="" coords="219,227,239,237,255,250,264,263,273,276,287,288,309,298,306,303,285,292,269,279,260,267,251,254,237,242,217,231"/>
|
||||
<area shape="rect" id="Node000012" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/max.html#" title=" " alt="" coords="326,351,398,376"/>
|
||||
<area shape="poly" id="edge11_Node000002_Node000012" title=" " alt="" coords="224,227,240,237,251,250,258,264,264,289,270,314,277,326,288,337,312,352,310,356,284,342,273,329,265,316,259,290,253,265,247,253,236,242,221,231"/>
|
||||
<area shape="rect" id="Node000013" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/open.html#" title=" " alt="" coords="294,400,429,426"/>
|
||||
<area shape="poly" id="edge12_Node000002_Node000013" title=" " alt="" coords="226,227,240,238,254,257,262,277,264,314,267,351,274,369,288,387,290,389,286,393,284,391,269,372,262,352,259,315,256,278,250,260,236,241,222,231"/>
|
||||
<area shape="rect" id="Node000014" href="$da/df2/durand__kerner__roots_8cpp.html#ae2ab49ba1969d7a5988f9bc2c8924569" title=" " alt="" coords="312,55,411,80"/>
|
||||
<area shape="poly" id="edge13_Node000002_Node000014" title=" " alt="" coords="179,201,220,147,250,116,285,89,297,82,299,87,287,94,254,120,224,151,183,204"/>
|
||||
<area shape="rect" id="Node000005" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/complex/imag.html#" title=" " alt="" coords="485,55,618,80"/>
|
||||
<area shape="poly" id="edge4_Node000004_Node000005" title=" " alt="" coords="408,102,484,82,485,87,409,107"/>
|
||||
<area shape="rect" id="Node000006" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/complex/real.html#" title=" " alt="" coords="489,104,614,130"/>
|
||||
<area shape="poly" id="edge5_Node000004_Node000006" title=" " alt="" coords="408,114,473,114,473,120,408,120"/>
|
||||
<area shape="rect" id="Node000007" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/c/fprintf.html#" title=" " alt="" coords="506,153,597,179"/>
|
||||
<area shape="poly" id="edge6_Node000004_Node000007" title=" " alt="" coords="409,126,492,148,490,153,408,131"/>
|
||||
<area shape="poly" id="edge14_Node000014_Node000005" title=" " alt="" coords="411,65,470,65,470,70,411,70"/>
|
||||
<area shape="poly" id="edge16_Node000014_Node000006" title=" " alt="" coords="412,78,486,97,484,102,411,83"/>
|
||||
<area shape="rect" id="Node000015" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/pow.html#" title=" " alt="" coords="516,5,587,31"/>
|
||||
<area shape="poly" id="edge15_Node000014_Node000015" title=" " alt="" coords="411,52,500,29,502,34,412,57"/>
|
||||
</map>
|
||||
@@ -1 +0,0 @@
|
||||
85d293a7a159a1a01ba132fccd4cc405
|
||||
@@ -1,335 +0,0 @@
|
||||
<?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 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: test1 Pages: 1 -->
|
||||
<svg width="467pt" height="323pt"
|
||||
viewBox="0.00 0.00 467.25 323.25" 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">
|
||||
|
||||
<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 319.25)">
|
||||
<title>test1</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title=" ">
|
||||
<polygon fill="#999999" stroke="#666666" points="37.75,-148.25 0,-148.25 0,-129 37.75,-129 37.75,-148.25"/>
|
||||
<text text-anchor="middle" x="18.88" y="-134.75" font-family="Helvetica,sans-Serif" font-size="10.00">test1</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a xlink:href="../../da/df2/durand__kerner__roots_8cpp.html#a2c35b320ace8677f9b331faf94f8b2fd" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="174.5,-167.25 73.75,-167.25 73.75,-148 174.5,-148 174.5,-167.25"/>
|
||||
<text text-anchor="middle" x="124.12" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">durand_kerner_algo</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="M37.86,-141.93C44.85,-143.22 53.29,-144.77 62.11,-146.4"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.45,-149.83 71.92,-148.2 62.72,-142.95 61.45,-149.83"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node16 -->
|
||||
<g id="Node000016" class="node">
|
||||
<title>Node16</title>
|
||||
<g id="a_Node000016"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="151.25,-130.25 97,-130.25 97,-111 151.25,-111 151.25,-130.25"/>
|
||||
<text text-anchor="middle" x="124.12" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::rand</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node16 -->
|
||||
<g id="edge17_Node000001_Node000016" class="edge">
|
||||
<title>Node1->Node16</title>
|
||||
<g id="a_edge17_Node000001_Node000016"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M37.86,-135.49C51.1,-133.18 69.56,-129.96 85.93,-127.11"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="86.09,-130.63 95.34,-125.47 84.88,-123.74 86.09,-130.63"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a xlink:href="../../da/df2/durand__kerner__roots_8cpp.html#a024b8bc4755863315456d573a6732377" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="315,-315.25 219.5,-315.25 219.5,-296 315,-296 315,-315.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-301.75" font-family="Helvetica,sans-Serif" font-size="10.00">check_termination</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<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="M128.84,-167.41C138.49,-191.51 166.68,-254.25 210.5,-287.62 211.66,-288.51 212.87,-289.35 214.11,-290.15"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="212.39,-293.2 222.86,-294.82 215.68,-287.02 212.39,-293.2"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a xlink:href="../../da/df2/durand__kerner__roots_8cpp.html#a90219e35062007d1f1b68e9af071ab5c" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="301.88,-241.25 232.62,-241.25 232.62,-222 301.88,-222 301.88,-241.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-227.75" font-family="Helvetica,sans-Serif" font-size="10.00">complex_str</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node4 -->
|
||||
<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="M138.07,-167.72C154.25,-179.95 183.16,-200.54 210.5,-213.62 214.05,-215.32 217.8,-216.92 221.6,-218.4"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="220.35,-221.67 230.95,-221.78 222.73,-215.09 220.35,-221.67"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="Node000008" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_Node000008"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/utility/program/exit.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="292.88,-204.25 241.62,-204.25 241.62,-185 292.88,-185 292.88,-204.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-190.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::exit</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node8 -->
|
||||
<g id="edge7_Node000002_Node000008" class="edge">
|
||||
<title>Node2->Node8</title>
|
||||
<g id="a_edge7_Node000002_Node000008"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M163.69,-167.74C184.52,-173.2 210.08,-179.9 230.47,-185.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="229.48,-188.6 240.04,-187.75 231.26,-181.83 229.48,-188.6"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="Node000009" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_Node000009"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="324,-167.25 210.5,-167.25 210.5,-148 324,-148 324,-167.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::is_open</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node9 -->
|
||||
<g id="edge8_Node000002_Node000009" class="edge">
|
||||
<title>Node2->Node9</title>
|
||||
<g id="a_edge8_Node000002_Node000009"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M174.88,-157.62C182.65,-157.62 190.78,-157.62 198.86,-157.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="198.69,-161.13 208.69,-157.63 198.69,-154.13 198.69,-161.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="Node000010" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_Node000010"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/isinf.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="294,-130.25 240.5,-130.25 240.5,-111 294,-111 294,-130.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::isinf</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node10 -->
|
||||
<g id="edge9_Node000002_Node000010" class="edge">
|
||||
<title>Node2->Node10</title>
|
||||
<g id="a_edge9_Node000002_Node000010"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M163.69,-147.51C184.11,-142.16 209.08,-135.61 229.26,-130.32"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="229.97,-133.75 238.76,-127.83 228.2,-126.98 229.97,-133.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node11 -->
|
||||
<g id="Node000011" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_Node000011"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/isnan.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="296.62,-93.25 237.88,-93.25 237.88,-74 296.62,-74 296.62,-93.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::isnan</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node11 -->
|
||||
<g id="edge10_Node000002_Node000011" class="edge">
|
||||
<title>Node2->Node11</title>
|
||||
<g id="a_edge10_Node000002_Node000011"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M159.33,-147.52C164.61,-145.3 169.85,-142.68 174.5,-139.62 193.95,-126.86 190.82,-114.03 210.5,-101.62 215.48,-98.49 221.06,-95.85 226.71,-93.64"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="227.79,-96.97 236.1,-90.41 225.51,-90.35 227.79,-96.97"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node12 -->
|
||||
<g id="Node000012" class="node">
|
||||
<title>Node12</title>
|
||||
<g id="a_Node000012"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="294.38,-56.25 240.12,-56.25 240.12,-37 294.38,-37 294.38,-56.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::max</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node12 -->
|
||||
<g id="edge11_Node000002_Node000012" class="edge">
|
||||
<title>Node2->Node12</title>
|
||||
<g id="a_edge11_Node000002_Node000012"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M162.52,-147.62C166.86,-145.45 170.98,-142.81 174.5,-139.62 201.89,-114.79 182.65,-88.94 210.5,-64.62 215.88,-59.93 222.5,-56.45 229.28,-53.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="229.97,-57.34 238.46,-51 227.87,-50.66 229.97,-57.34"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node13 -->
|
||||
<g id="Node000013" class="node">
|
||||
<title>Node13</title>
|
||||
<g id="a_Node000013"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/open.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="317.62,-19.25 216.88,-19.25 216.88,0 317.62,0 317.62,-19.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::open</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node13 -->
|
||||
<g id="edge12_Node000002_Node000013" class="edge">
|
||||
<title>Node2->Node13</title>
|
||||
<g id="a_edge12_Node000002_Node000013"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M163.93,-147.54C167.83,-145.39 171.46,-142.78 174.5,-139.62 210.75,-101.95 173.55,-64.62 210.5,-27.62 210.99,-27.13 211.5,-26.65 212.02,-26.18"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="213.91,-29.13 220.14,-20.56 209.92,-23.38 213.91,-29.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14 -->
|
||||
<g id="Node000014" class="node">
|
||||
<title>Node14</title>
|
||||
<g id="a_Node000014"><a xlink:href="../../da/df2/durand__kerner__roots_8cpp.html#ae2ab49ba1969d7a5988f9bc2c8924569" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="304.12,-278.25 230.38,-278.25 230.38,-259 304.12,-259 304.12,-278.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-264.75" font-family="Helvetica,sans-Serif" font-size="10.00">poly_function</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node14 -->
|
||||
<g id="edge13_Node000002_Node000014" class="edge">
|
||||
<title>Node2->Node14</title>
|
||||
<g id="a_edge13_Node000002_Node000014"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M131.62,-167.6C144.45,-186.53 174.89,-227.79 210.5,-250.62 213.36,-252.46 216.43,-254.12 219.59,-255.63"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="217.95,-258.73 228.53,-259.33 220.63,-252.27 217.95,-258.73"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/complex/imag.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="459.25,-278.25 360,-278.25 360,-259 459.25,-259 459.25,-278.25"/>
|
||||
<text text-anchor="middle" x="409.62" y="-264.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::complex::imag</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node5 -->
|
||||
<g id="edge4_Node000004_Node000005" class="edge">
|
||||
<title>Node4->Node5</title>
|
||||
<g id="a_edge4_Node000004_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.23,-240.58C319.31,-245.08 340.33,-250.62 359.16,-255.59"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="358.23,-258.96 368.79,-258.12 360.01,-252.19 358.23,-258.96"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="Node000006" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/complex/real.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="456.62,-241.25 362.62,-241.25 362.62,-222 456.62,-222 456.62,-241.25"/>
|
||||
<text text-anchor="middle" x="409.62" y="-227.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::complex::real</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node6 -->
|
||||
<g id="edge5_Node000004_Node000006" class="edge">
|
||||
<title>Node4->Node6</title>
|
||||
<g id="a_edge5_Node000004_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.23,-231.62C316.87,-231.62 334.4,-231.62 350.96,-231.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="350.72,-235.13 360.72,-231.63 350.72,-228.13 350.72,-235.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="Node000007" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/c/fprintf.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="443.5,-204.25 375.75,-204.25 375.75,-185 443.5,-185 443.5,-204.25"/>
|
||||
<text text-anchor="middle" x="409.62" y="-190.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::snprintf</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node7 -->
|
||||
<g id="edge6_Node000004_Node000007" class="edge">
|
||||
<title>Node4->Node7</title>
|
||||
<g id="a_edge6_Node000004_Node000007"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.23,-222.67C320.9,-217.75 344.28,-211.58 364.37,-206.29"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="365.2,-209.69 373.98,-203.76 363.42,-202.92 365.2,-209.69"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14->Node5 -->
|
||||
<g id="edge14_Node000014_Node000005" class="edge">
|
||||
<title>Node14->Node5</title>
|
||||
<g id="a_edge14_Node000014_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M304.4,-268.62C317.8,-268.62 333.38,-268.62 348.35,-268.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="348.12,-272.13 358.12,-268.63 348.12,-265.13 348.12,-272.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14->Node6 -->
|
||||
<g id="edge16_Node000014_Node000006" class="edge">
|
||||
<title>Node14->Node6</title>
|
||||
<g id="a_edge16_Node000014_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M304.4,-259.1C321.22,-254.66 341.48,-249.32 359.64,-244.54"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="360.39,-247.96 369.17,-242.02 358.61,-241.19 360.39,-247.96"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node15 -->
|
||||
<g id="Node000015" class="node">
|
||||
<title>Node15</title>
|
||||
<g id="a_Node000015"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/pow.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="436.38,-315.25 382.88,-315.25 382.88,-296 436.38,-296 436.38,-315.25"/>
|
||||
<text text-anchor="middle" x="409.62" y="-301.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::pow</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14->Node15 -->
|
||||
<g id="edge15_Node000014_Node000015" class="edge">
|
||||
<title>Node14->Node15</title>
|
||||
<g id="a_edge15_Node000014_Node000015"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M304.4,-278.15C325.1,-283.61 351.01,-290.44 371.82,-295.92"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="370.76,-299.26 381.33,-298.43 372.55,-292.5 370.76,-299.26"/>
|
||||
</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: 15 KiB |
@@ -1,309 +0,0 @@
|
||||
<?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 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: test1 Pages: 1 -->
|
||||
<svg width="467pt" height="323pt"
|
||||
viewBox="0.00 0.00 467.25 323.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 319.25)">
|
||||
<title>test1</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title=" ">
|
||||
<polygon fill="#999999" stroke="#666666" points="37.75,-148.25 0,-148.25 0,-129 37.75,-129 37.75,-148.25"/>
|
||||
<text text-anchor="middle" x="18.88" y="-134.75" font-family="Helvetica,sans-Serif" font-size="10.00">test1</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a xlink:href="../../da/df2/durand__kerner__roots_8cpp.html#a2c35b320ace8677f9b331faf94f8b2fd" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="174.5,-167.25 73.75,-167.25 73.75,-148 174.5,-148 174.5,-167.25"/>
|
||||
<text text-anchor="middle" x="124.12" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">durand_kerner_algo</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="M37.86,-141.93C44.85,-143.22 53.29,-144.77 62.11,-146.4"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.45,-149.83 71.92,-148.2 62.72,-142.95 61.45,-149.83"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node16 -->
|
||||
<g id="Node000016" class="node">
|
||||
<title>Node16</title>
|
||||
<g id="a_Node000016"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="151.25,-130.25 97,-130.25 97,-111 151.25,-111 151.25,-130.25"/>
|
||||
<text text-anchor="middle" x="124.12" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::rand</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node16 -->
|
||||
<g id="edge17_Node000001_Node000016" class="edge">
|
||||
<title>Node1->Node16</title>
|
||||
<g id="a_edge17_Node000001_Node000016"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M37.86,-135.49C51.1,-133.18 69.56,-129.96 85.93,-127.11"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="86.09,-130.63 95.34,-125.47 84.88,-123.74 86.09,-130.63"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a xlink:href="../../da/df2/durand__kerner__roots_8cpp.html#a024b8bc4755863315456d573a6732377" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="315,-315.25 219.5,-315.25 219.5,-296 315,-296 315,-315.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-301.75" font-family="Helvetica,sans-Serif" font-size="10.00">check_termination</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<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="M128.84,-167.41C138.49,-191.51 166.68,-254.25 210.5,-287.62 211.66,-288.51 212.87,-289.35 214.11,-290.15"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="212.39,-293.2 222.86,-294.82 215.68,-287.02 212.39,-293.2"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a xlink:href="../../da/df2/durand__kerner__roots_8cpp.html#a90219e35062007d1f1b68e9af071ab5c" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="301.88,-241.25 232.62,-241.25 232.62,-222 301.88,-222 301.88,-241.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-227.75" font-family="Helvetica,sans-Serif" font-size="10.00">complex_str</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node4 -->
|
||||
<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="M138.07,-167.72C154.25,-179.95 183.16,-200.54 210.5,-213.62 214.05,-215.32 217.8,-216.92 221.6,-218.4"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="220.35,-221.67 230.95,-221.78 222.73,-215.09 220.35,-221.67"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="Node000008" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_Node000008"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/utility/program/exit.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="292.88,-204.25 241.62,-204.25 241.62,-185 292.88,-185 292.88,-204.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-190.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::exit</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node8 -->
|
||||
<g id="edge7_Node000002_Node000008" class="edge">
|
||||
<title>Node2->Node8</title>
|
||||
<g id="a_edge7_Node000002_Node000008"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M163.69,-167.74C184.52,-173.2 210.08,-179.9 230.47,-185.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="229.48,-188.6 240.04,-187.75 231.26,-181.83 229.48,-188.6"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="Node000009" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_Node000009"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="324,-167.25 210.5,-167.25 210.5,-148 324,-148 324,-167.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::is_open</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node9 -->
|
||||
<g id="edge8_Node000002_Node000009" class="edge">
|
||||
<title>Node2->Node9</title>
|
||||
<g id="a_edge8_Node000002_Node000009"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M174.88,-157.62C182.65,-157.62 190.78,-157.62 198.86,-157.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="198.69,-161.13 208.69,-157.63 198.69,-154.13 198.69,-161.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="Node000010" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_Node000010"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/isinf.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="294,-130.25 240.5,-130.25 240.5,-111 294,-111 294,-130.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::isinf</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node10 -->
|
||||
<g id="edge9_Node000002_Node000010" class="edge">
|
||||
<title>Node2->Node10</title>
|
||||
<g id="a_edge9_Node000002_Node000010"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M163.69,-147.51C184.11,-142.16 209.08,-135.61 229.26,-130.32"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="229.97,-133.75 238.76,-127.83 228.2,-126.98 229.97,-133.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node11 -->
|
||||
<g id="Node000011" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_Node000011"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/isnan.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="296.62,-93.25 237.88,-93.25 237.88,-74 296.62,-74 296.62,-93.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::isnan</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node11 -->
|
||||
<g id="edge10_Node000002_Node000011" class="edge">
|
||||
<title>Node2->Node11</title>
|
||||
<g id="a_edge10_Node000002_Node000011"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M159.33,-147.52C164.61,-145.3 169.85,-142.68 174.5,-139.62 193.95,-126.86 190.82,-114.03 210.5,-101.62 215.48,-98.49 221.06,-95.85 226.71,-93.64"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="227.79,-96.97 236.1,-90.41 225.51,-90.35 227.79,-96.97"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node12 -->
|
||||
<g id="Node000012" class="node">
|
||||
<title>Node12</title>
|
||||
<g id="a_Node000012"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="294.38,-56.25 240.12,-56.25 240.12,-37 294.38,-37 294.38,-56.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::max</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node12 -->
|
||||
<g id="edge11_Node000002_Node000012" class="edge">
|
||||
<title>Node2->Node12</title>
|
||||
<g id="a_edge11_Node000002_Node000012"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M162.52,-147.62C166.86,-145.45 170.98,-142.81 174.5,-139.62 201.89,-114.79 182.65,-88.94 210.5,-64.62 215.88,-59.93 222.5,-56.45 229.28,-53.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="229.97,-57.34 238.46,-51 227.87,-50.66 229.97,-57.34"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node13 -->
|
||||
<g id="Node000013" class="node">
|
||||
<title>Node13</title>
|
||||
<g id="a_Node000013"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/open.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="317.62,-19.25 216.88,-19.25 216.88,0 317.62,0 317.62,-19.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::open</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node13 -->
|
||||
<g id="edge12_Node000002_Node000013" class="edge">
|
||||
<title>Node2->Node13</title>
|
||||
<g id="a_edge12_Node000002_Node000013"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M163.93,-147.54C167.83,-145.39 171.46,-142.78 174.5,-139.62 210.75,-101.95 173.55,-64.62 210.5,-27.62 210.99,-27.13 211.5,-26.65 212.02,-26.18"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="213.91,-29.13 220.14,-20.56 209.92,-23.38 213.91,-29.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14 -->
|
||||
<g id="Node000014" class="node">
|
||||
<title>Node14</title>
|
||||
<g id="a_Node000014"><a xlink:href="../../da/df2/durand__kerner__roots_8cpp.html#ae2ab49ba1969d7a5988f9bc2c8924569" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="304.12,-278.25 230.38,-278.25 230.38,-259 304.12,-259 304.12,-278.25"/>
|
||||
<text text-anchor="middle" x="267.25" y="-264.75" font-family="Helvetica,sans-Serif" font-size="10.00">poly_function</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node14 -->
|
||||
<g id="edge13_Node000002_Node000014" class="edge">
|
||||
<title>Node2->Node14</title>
|
||||
<g id="a_edge13_Node000002_Node000014"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M131.62,-167.6C144.45,-186.53 174.89,-227.79 210.5,-250.62 213.36,-252.46 216.43,-254.12 219.59,-255.63"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="217.95,-258.73 228.53,-259.33 220.63,-252.27 217.95,-258.73"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/complex/imag.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="459.25,-278.25 360,-278.25 360,-259 459.25,-259 459.25,-278.25"/>
|
||||
<text text-anchor="middle" x="409.62" y="-264.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::complex::imag</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node5 -->
|
||||
<g id="edge4_Node000004_Node000005" class="edge">
|
||||
<title>Node4->Node5</title>
|
||||
<g id="a_edge4_Node000004_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.23,-240.58C319.31,-245.08 340.33,-250.62 359.16,-255.59"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="358.23,-258.96 368.79,-258.12 360.01,-252.19 358.23,-258.96"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="Node000006" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/complex/real.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="456.62,-241.25 362.62,-241.25 362.62,-222 456.62,-222 456.62,-241.25"/>
|
||||
<text text-anchor="middle" x="409.62" y="-227.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::complex::real</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node6 -->
|
||||
<g id="edge5_Node000004_Node000006" class="edge">
|
||||
<title>Node4->Node6</title>
|
||||
<g id="a_edge5_Node000004_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.23,-231.62C316.87,-231.62 334.4,-231.62 350.96,-231.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="350.72,-235.13 360.72,-231.63 350.72,-228.13 350.72,-235.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="Node000007" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/c/fprintf.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="443.5,-204.25 375.75,-204.25 375.75,-185 443.5,-185 443.5,-204.25"/>
|
||||
<text text-anchor="middle" x="409.62" y="-190.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::snprintf</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node7 -->
|
||||
<g id="edge6_Node000004_Node000007" class="edge">
|
||||
<title>Node4->Node7</title>
|
||||
<g id="a_edge6_Node000004_Node000007"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.23,-222.67C320.9,-217.75 344.28,-211.58 364.37,-206.29"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="365.2,-209.69 373.98,-203.76 363.42,-202.92 365.2,-209.69"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14->Node5 -->
|
||||
<g id="edge14_Node000014_Node000005" class="edge">
|
||||
<title>Node14->Node5</title>
|
||||
<g id="a_edge14_Node000014_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M304.4,-268.62C317.8,-268.62 333.38,-268.62 348.35,-268.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="348.12,-272.13 358.12,-268.63 348.12,-265.13 348.12,-272.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14->Node6 -->
|
||||
<g id="edge16_Node000014_Node000006" class="edge">
|
||||
<title>Node14->Node6</title>
|
||||
<g id="a_edge16_Node000014_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M304.4,-259.1C321.22,-254.66 341.48,-249.32 359.64,-244.54"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="360.39,-247.96 369.17,-242.02 358.61,-241.19 360.39,-247.96"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node15 -->
|
||||
<g id="Node000015" class="node">
|
||||
<title>Node15</title>
|
||||
<g id="a_Node000015"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/pow.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="436.38,-315.25 382.88,-315.25 382.88,-296 436.38,-296 436.38,-315.25"/>
|
||||
<text text-anchor="middle" x="409.62" y="-301.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::pow</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14->Node15 -->
|
||||
<g id="edge15_Node000014_Node000015" class="edge">
|
||||
<title>Node14->Node15</title>
|
||||
<g id="a_edge15_Node000014_Node000015"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M304.4,-278.15C325.1,-283.61 351.01,-290.44 371.82,-295.92"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="370.76,-299.26 381.33,-298.43 372.55,-292.5 370.76,-299.26"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 14 KiB |
@@ -1,31 +0,0 @@
|
||||
<map id="durand_kerner_algo" name="durand_kerner_algo">
|
||||
<area shape="rect" id="Node000001" title=" " alt="" coords="5,203,140,228"/>
|
||||
<area shape="rect" id="Node000002" href="$da/df2/durand__kerner__roots_8cpp.html#a024b8bc4755863315456d573a6732377" title=" " alt="" coords="200,5,327,31"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="76,201,91,169,114,126,146,80,186,40,191,37,194,41,189,44,150,83,118,128,95,171,81,204"/>
|
||||
<area shape="rect" id="Node000003" href="$da/df2/durand__kerner__roots_8cpp.html#a90219e35062007d1f1b68e9af071ab5c" title=" " alt="" coords="217,104,310,130"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="90,200,132,170,186,138,201,132,204,137,189,143,135,174,93,204"/>
|
||||
<area shape="rect" id="Node000007" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/utility/program/exit.html#" title=" " alt="" coords="229,153,298,179"/>
|
||||
<area shape="poly" id="edge6_Node000001_Node000007" title=" " alt="" coords="125,199,214,176,215,181,126,205"/>
|
||||
<area shape="rect" id="Node000008" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/is_open.html#" title=" " alt="" coords="188,203,339,228"/>
|
||||
<area shape="poly" id="edge7_Node000001_Node000008" title=" " alt="" coords="140,213,172,213,172,218,140,218"/>
|
||||
<area shape="rect" id="Node000009" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/isinf.html#" title=" " alt="" coords="228,252,299,278"/>
|
||||
<area shape="poly" id="edge8_Node000001_Node000009" title=" " alt="" coords="126,226,213,249,212,254,125,232"/>
|
||||
<area shape="rect" id="Node000010" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/isnan.html#" title=" " alt="" coords="224,301,302,327"/>
|
||||
<area shape="poly" id="edge9_Node000001_Node000010" title=" " alt="" coords="93,227,135,257,189,288,211,297,209,302,186,293,132,261,90,231"/>
|
||||
<area shape="rect" id="Node000011" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/max.html#" title=" " alt="" coords="227,351,300,376"/>
|
||||
<area shape="poly" id="edge10_Node000001_Node000011" title=" " alt="" coords="85,227,126,280,155,311,189,337,214,349,211,354,186,342,152,315,122,284,80,230"/>
|
||||
<area shape="rect" id="Node000012" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/open.html#" title=" " alt="" coords="196,400,330,426"/>
|
||||
<area shape="poly" id="edge11_Node000001_Node000012" title=" " alt="" coords="81,227,95,260,118,303,150,348,189,387,194,390,191,394,186,391,146,351,114,305,91,262,76,230"/>
|
||||
<area shape="rect" id="Node000013" href="$da/df2/durand__kerner__roots_8cpp.html#ae2ab49ba1969d7a5988f9bc2c8924569" title=" " alt="" coords="214,55,312,80"/>
|
||||
<area shape="poly" id="edge12_Node000001_Node000013" title=" " alt="" coords="80,201,122,147,152,116,186,89,199,82,201,87,189,94,155,120,126,151,85,204"/>
|
||||
<area shape="rect" id="Node000004" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/complex/imag.html#" title=" " alt="" coords="387,55,519,80"/>
|
||||
<area shape="poly" id="edge3_Node000003_Node000004" title=" " alt="" coords="309,102,385,82,387,87,311,107"/>
|
||||
<area shape="rect" id="Node000005" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/complex/real.html#" title=" " alt="" coords="390,104,516,130"/>
|
||||
<area shape="poly" id="edge4_Node000003_Node000005" title=" " alt="" coords="310,114,375,114,375,120,310,120"/>
|
||||
<area shape="rect" id="Node000006" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/c/fprintf.html#" title=" " alt="" coords="408,153,498,179"/>
|
||||
<area shape="poly" id="edge5_Node000003_Node000006" title=" " alt="" coords="311,126,394,148,392,153,309,131"/>
|
||||
<area shape="poly" id="edge13_Node000013_Node000004" title=" " alt="" coords="313,65,371,65,371,70,313,70"/>
|
||||
<area shape="poly" id="edge15_Node000013_Node000005" title=" " alt="" coords="314,78,387,97,386,102,312,83"/>
|
||||
<area shape="rect" id="Node000014" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/pow.html#" title=" " alt="" coords="418,5,489,31"/>
|
||||
<area shape="poly" id="edge14_Node000013_Node000014" title=" " alt="" coords="312,52,402,29,403,34,314,57"/>
|
||||
</map>
|
||||
@@ -1 +0,0 @@
|
||||
afa3f355444f9d2c3d14fd5a354be2c2
|
||||
@@ -1,299 +0,0 @@
|
||||
<?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 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: durand_kerner_algo Pages: 1 -->
|
||||
<svg width="394pt" height="323pt"
|
||||
viewBox="0.00 0.00 393.50 323.25" 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">
|
||||
|
||||
<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 319.25)">
|
||||
<title>durand_kerner_algo</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title=" ">
|
||||
<polygon fill="#999999" stroke="#666666" points="100.75,-167.25 0,-167.25 0,-148 100.75,-148 100.75,-167.25"/>
|
||||
<text text-anchor="middle" x="50.38" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">durand_kerner_algo</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a xlink:href="../../da/df2/durand__kerner__roots_8cpp.html#a024b8bc4755863315456d573a6732377" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="241.25,-315.25 145.75,-315.25 145.75,-296 241.25,-296 241.25,-315.25"/>
|
||||
<text text-anchor="middle" x="193.5" y="-301.75" font-family="Helvetica,sans-Serif" font-size="10.00">check_termination</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="M55.09,-167.41C64.74,-191.51 92.93,-254.25 136.75,-287.62 137.91,-288.51 139.12,-289.35 140.36,-290.15"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="138.64,-293.2 149.11,-294.82 141.93,-287.02 138.64,-293.2"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a xlink:href="../../da/df2/durand__kerner__roots_8cpp.html#a90219e35062007d1f1b68e9af071ab5c" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="228.12,-241.25 158.88,-241.25 158.88,-222 228.12,-222 228.12,-241.25"/>
|
||||
<text text-anchor="middle" x="193.5" y="-227.75" font-family="Helvetica,sans-Serif" font-size="10.00">complex_str</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="M64.32,-167.72C80.5,-179.95 109.41,-200.54 136.75,-213.62 140.3,-215.32 144.05,-216.92 147.85,-218.4"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="146.6,-221.67 157.2,-221.78 148.98,-215.09 146.6,-221.67"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="Node000007" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/utility/program/exit.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="219.12,-204.25 167.88,-204.25 167.88,-185 219.12,-185 219.12,-204.25"/>
|
||||
<text text-anchor="middle" x="193.5" y="-190.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::exit</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node7 -->
|
||||
<g id="edge6_Node000001_Node000007" class="edge">
|
||||
<title>Node1->Node7</title>
|
||||
<g id="a_edge6_Node000001_Node000007"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M89.94,-167.74C110.77,-173.2 136.33,-179.9 156.72,-185.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="155.73,-188.6 166.29,-187.75 157.51,-181.83 155.73,-188.6"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="Node000008" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_Node000008"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="250.25,-167.25 136.75,-167.25 136.75,-148 250.25,-148 250.25,-167.25"/>
|
||||
<text text-anchor="middle" x="193.5" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::is_open</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node8 -->
|
||||
<g id="edge7_Node000001_Node000008" class="edge">
|
||||
<title>Node1->Node8</title>
|
||||
<g id="a_edge7_Node000001_Node000008"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M101.13,-157.62C108.9,-157.62 117.03,-157.62 125.11,-157.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="124.94,-161.13 134.94,-157.63 124.94,-154.13 124.94,-161.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="Node000009" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_Node000009"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/isinf.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="220.25,-130.25 166.75,-130.25 166.75,-111 220.25,-111 220.25,-130.25"/>
|
||||
<text text-anchor="middle" x="193.5" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::isinf</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node9 -->
|
||||
<g id="edge8_Node000001_Node000009" class="edge">
|
||||
<title>Node1->Node9</title>
|
||||
<g id="a_edge8_Node000001_Node000009"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M89.94,-147.51C110.36,-142.16 135.33,-135.61 155.51,-130.32"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="156.22,-133.75 165.01,-127.83 154.45,-126.98 156.22,-133.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="Node000010" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_Node000010"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/isnan.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="222.88,-93.25 164.12,-93.25 164.12,-74 222.88,-74 222.88,-93.25"/>
|
||||
<text text-anchor="middle" x="193.5" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::isnan</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node10 -->
|
||||
<g id="edge9_Node000001_Node000010" class="edge">
|
||||
<title>Node1->Node10</title>
|
||||
<g id="a_edge9_Node000001_Node000010"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M64.32,-147.53C80.5,-135.3 109.41,-114.71 136.75,-101.62 141.95,-99.14 147.58,-96.87 153.19,-94.84"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="154.06,-98.25 162.42,-91.74 151.82,-91.61 154.06,-98.25"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node11 -->
|
||||
<g id="Node000011" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_Node000011"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="220.62,-56.25 166.38,-56.25 166.38,-37 220.62,-37 220.62,-56.25"/>
|
||||
<text text-anchor="middle" x="193.5" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::max</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node11 -->
|
||||
<g id="edge10_Node000001_Node000011" class="edge">
|
||||
<title>Node1->Node11</title>
|
||||
<g id="a_edge10_Node000001_Node000011"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M57.87,-147.65C70.7,-128.72 101.14,-87.46 136.75,-64.62 142.4,-61 148.84,-58.05 155.29,-55.67"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="156.15,-59.07 164.57,-52.64 153.98,-52.41 156.15,-59.07"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node12 -->
|
||||
<g id="Node000012" class="node">
|
||||
<title>Node12</title>
|
||||
<g id="a_Node000012"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/open.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="243.88,-19.25 143.12,-19.25 143.12,0 243.88,0 243.88,-19.25"/>
|
||||
<text text-anchor="middle" x="193.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::open</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node12 -->
|
||||
<g id="edge11_Node000001_Node000012" class="edge">
|
||||
<title>Node1->Node12</title>
|
||||
<g id="a_edge11_Node000001_Node000012"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M55.09,-147.84C64.74,-123.74 92.93,-61 136.75,-27.62 137.91,-26.74 139.12,-25.9 140.36,-25.1"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="141.93,-28.23 149.11,-20.43 138.64,-22.05 141.93,-28.23"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node13 -->
|
||||
<g id="Node000013" class="node">
|
||||
<title>Node13</title>
|
||||
<g id="a_Node000013"><a xlink:href="../../da/df2/durand__kerner__roots_8cpp.html#ae2ab49ba1969d7a5988f9bc2c8924569" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="230.38,-278.25 156.62,-278.25 156.62,-259 230.38,-259 230.38,-278.25"/>
|
||||
<text text-anchor="middle" x="193.5" y="-264.75" font-family="Helvetica,sans-Serif" font-size="10.00">poly_function</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node13 -->
|
||||
<g id="edge12_Node000001_Node000013" class="edge">
|
||||
<title>Node1->Node13</title>
|
||||
<g id="a_edge12_Node000001_Node000013"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M57.87,-167.6C70.7,-186.53 101.14,-227.79 136.75,-250.62 139.61,-252.46 142.68,-254.12 145.84,-255.63"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="144.2,-258.73 154.78,-259.33 146.88,-252.27 144.2,-258.73"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/complex/imag.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="385.5,-278.25 286.25,-278.25 286.25,-259 385.5,-259 385.5,-278.25"/>
|
||||
<text text-anchor="middle" x="335.88" y="-264.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::complex::imag</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node4 -->
|
||||
<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="M228.48,-240.58C245.56,-245.08 266.58,-250.62 285.41,-255.59"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="284.48,-258.96 295.04,-258.12 286.26,-252.19 284.48,-258.96"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/complex/real.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="382.88,-241.25 288.88,-241.25 288.88,-222 382.88,-222 382.88,-241.25"/>
|
||||
<text text-anchor="middle" x="335.88" y="-227.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::complex::real</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node5 -->
|
||||
<g id="edge4_Node000003_Node000005" class="edge">
|
||||
<title>Node3->Node5</title>
|
||||
<g id="a_edge4_Node000003_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M228.48,-231.62C243.12,-231.62 260.65,-231.62 277.21,-231.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="276.97,-235.13 286.97,-231.63 276.97,-228.13 276.97,-235.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="Node000006" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/c/fprintf.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="369.75,-204.25 302,-204.25 302,-185 369.75,-185 369.75,-204.25"/>
|
||||
<text text-anchor="middle" x="335.88" y="-190.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::snprintf</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node6 -->
|
||||
<g id="edge5_Node000003_Node000006" class="edge">
|
||||
<title>Node3->Node6</title>
|
||||
<g id="a_edge5_Node000003_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M228.48,-222.67C247.15,-217.75 270.53,-211.58 290.62,-206.29"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="291.45,-209.69 300.23,-203.76 289.67,-202.92 291.45,-209.69"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node13->Node4 -->
|
||||
<g id="edge13_Node000013_Node000004" class="edge">
|
||||
<title>Node13->Node4</title>
|
||||
<g id="a_edge13_Node000013_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M230.65,-268.62C244.05,-268.62 259.63,-268.62 274.6,-268.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="274.37,-272.13 284.37,-268.63 274.37,-265.13 274.37,-272.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node13->Node5 -->
|
||||
<g id="edge15_Node000013_Node000005" class="edge">
|
||||
<title>Node13->Node5</title>
|
||||
<g id="a_edge15_Node000013_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M230.65,-259.1C247.47,-254.66 267.73,-249.32 285.89,-244.54"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="286.64,-247.96 295.42,-242.02 284.86,-241.19 286.64,-247.96"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14 -->
|
||||
<g id="Node000014" class="node">
|
||||
<title>Node14</title>
|
||||
<g id="a_Node000014"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/pow.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="362.62,-315.25 309.12,-315.25 309.12,-296 362.62,-296 362.62,-315.25"/>
|
||||
<text text-anchor="middle" x="335.88" y="-301.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::pow</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node13->Node14 -->
|
||||
<g id="edge14_Node000013_Node000014" class="edge">
|
||||
<title>Node13->Node14</title>
|
||||
<g id="a_edge14_Node000013_Node000014"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M230.65,-278.15C251.35,-283.61 277.26,-290.44 298.07,-295.92"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="297.01,-299.26 307.58,-298.43 298.8,-292.5 297.01,-299.26"/>
|
||||
</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: 14 KiB |
@@ -1,273 +0,0 @@
|
||||
<?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 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: durand_kerner_algo Pages: 1 -->
|
||||
<svg width="394pt" height="323pt"
|
||||
viewBox="0.00 0.00 393.50 323.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 319.25)">
|
||||
<title>durand_kerner_algo</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title=" ">
|
||||
<polygon fill="#999999" stroke="#666666" points="100.75,-167.25 0,-167.25 0,-148 100.75,-148 100.75,-167.25"/>
|
||||
<text text-anchor="middle" x="50.38" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">durand_kerner_algo</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a xlink:href="../../da/df2/durand__kerner__roots_8cpp.html#a024b8bc4755863315456d573a6732377" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="241.25,-315.25 145.75,-315.25 145.75,-296 241.25,-296 241.25,-315.25"/>
|
||||
<text text-anchor="middle" x="193.5" y="-301.75" font-family="Helvetica,sans-Serif" font-size="10.00">check_termination</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="M55.09,-167.41C64.74,-191.51 92.93,-254.25 136.75,-287.62 137.91,-288.51 139.12,-289.35 140.36,-290.15"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="138.64,-293.2 149.11,-294.82 141.93,-287.02 138.64,-293.2"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a xlink:href="../../da/df2/durand__kerner__roots_8cpp.html#a90219e35062007d1f1b68e9af071ab5c" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="228.12,-241.25 158.88,-241.25 158.88,-222 228.12,-222 228.12,-241.25"/>
|
||||
<text text-anchor="middle" x="193.5" y="-227.75" font-family="Helvetica,sans-Serif" font-size="10.00">complex_str</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="M64.32,-167.72C80.5,-179.95 109.41,-200.54 136.75,-213.62 140.3,-215.32 144.05,-216.92 147.85,-218.4"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="146.6,-221.67 157.2,-221.78 148.98,-215.09 146.6,-221.67"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="Node000007" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/utility/program/exit.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="219.12,-204.25 167.88,-204.25 167.88,-185 219.12,-185 219.12,-204.25"/>
|
||||
<text text-anchor="middle" x="193.5" y="-190.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::exit</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node7 -->
|
||||
<g id="edge6_Node000001_Node000007" class="edge">
|
||||
<title>Node1->Node7</title>
|
||||
<g id="a_edge6_Node000001_Node000007"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M89.94,-167.74C110.77,-173.2 136.33,-179.9 156.72,-185.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="155.73,-188.6 166.29,-187.75 157.51,-181.83 155.73,-188.6"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="Node000008" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_Node000008"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="250.25,-167.25 136.75,-167.25 136.75,-148 250.25,-148 250.25,-167.25"/>
|
||||
<text text-anchor="middle" x="193.5" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::is_open</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node8 -->
|
||||
<g id="edge7_Node000001_Node000008" class="edge">
|
||||
<title>Node1->Node8</title>
|
||||
<g id="a_edge7_Node000001_Node000008"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M101.13,-157.62C108.9,-157.62 117.03,-157.62 125.11,-157.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="124.94,-161.13 134.94,-157.63 124.94,-154.13 124.94,-161.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="Node000009" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_Node000009"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/isinf.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="220.25,-130.25 166.75,-130.25 166.75,-111 220.25,-111 220.25,-130.25"/>
|
||||
<text text-anchor="middle" x="193.5" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::isinf</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node9 -->
|
||||
<g id="edge8_Node000001_Node000009" class="edge">
|
||||
<title>Node1->Node9</title>
|
||||
<g id="a_edge8_Node000001_Node000009"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M89.94,-147.51C110.36,-142.16 135.33,-135.61 155.51,-130.32"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="156.22,-133.75 165.01,-127.83 154.45,-126.98 156.22,-133.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="Node000010" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_Node000010"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/isnan.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="222.88,-93.25 164.12,-93.25 164.12,-74 222.88,-74 222.88,-93.25"/>
|
||||
<text text-anchor="middle" x="193.5" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::isnan</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node10 -->
|
||||
<g id="edge9_Node000001_Node000010" class="edge">
|
||||
<title>Node1->Node10</title>
|
||||
<g id="a_edge9_Node000001_Node000010"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M64.32,-147.53C80.5,-135.3 109.41,-114.71 136.75,-101.62 141.95,-99.14 147.58,-96.87 153.19,-94.84"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="154.06,-98.25 162.42,-91.74 151.82,-91.61 154.06,-98.25"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node11 -->
|
||||
<g id="Node000011" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_Node000011"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="220.62,-56.25 166.38,-56.25 166.38,-37 220.62,-37 220.62,-56.25"/>
|
||||
<text text-anchor="middle" x="193.5" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::max</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node11 -->
|
||||
<g id="edge10_Node000001_Node000011" class="edge">
|
||||
<title>Node1->Node11</title>
|
||||
<g id="a_edge10_Node000001_Node000011"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M57.87,-147.65C70.7,-128.72 101.14,-87.46 136.75,-64.62 142.4,-61 148.84,-58.05 155.29,-55.67"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="156.15,-59.07 164.57,-52.64 153.98,-52.41 156.15,-59.07"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node12 -->
|
||||
<g id="Node000012" class="node">
|
||||
<title>Node12</title>
|
||||
<g id="a_Node000012"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/open.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="243.88,-19.25 143.12,-19.25 143.12,0 243.88,0 243.88,-19.25"/>
|
||||
<text text-anchor="middle" x="193.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::open</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node12 -->
|
||||
<g id="edge11_Node000001_Node000012" class="edge">
|
||||
<title>Node1->Node12</title>
|
||||
<g id="a_edge11_Node000001_Node000012"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M55.09,-147.84C64.74,-123.74 92.93,-61 136.75,-27.62 137.91,-26.74 139.12,-25.9 140.36,-25.1"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="141.93,-28.23 149.11,-20.43 138.64,-22.05 141.93,-28.23"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node13 -->
|
||||
<g id="Node000013" class="node">
|
||||
<title>Node13</title>
|
||||
<g id="a_Node000013"><a xlink:href="../../da/df2/durand__kerner__roots_8cpp.html#ae2ab49ba1969d7a5988f9bc2c8924569" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="230.38,-278.25 156.62,-278.25 156.62,-259 230.38,-259 230.38,-278.25"/>
|
||||
<text text-anchor="middle" x="193.5" y="-264.75" font-family="Helvetica,sans-Serif" font-size="10.00">poly_function</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node13 -->
|
||||
<g id="edge12_Node000001_Node000013" class="edge">
|
||||
<title>Node1->Node13</title>
|
||||
<g id="a_edge12_Node000001_Node000013"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M57.87,-167.6C70.7,-186.53 101.14,-227.79 136.75,-250.62 139.61,-252.46 142.68,-254.12 145.84,-255.63"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="144.2,-258.73 154.78,-259.33 146.88,-252.27 144.2,-258.73"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/complex/imag.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="385.5,-278.25 286.25,-278.25 286.25,-259 385.5,-259 385.5,-278.25"/>
|
||||
<text text-anchor="middle" x="335.88" y="-264.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::complex::imag</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node4 -->
|
||||
<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="M228.48,-240.58C245.56,-245.08 266.58,-250.62 285.41,-255.59"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="284.48,-258.96 295.04,-258.12 286.26,-252.19 284.48,-258.96"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/complex/real.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="382.88,-241.25 288.88,-241.25 288.88,-222 382.88,-222 382.88,-241.25"/>
|
||||
<text text-anchor="middle" x="335.88" y="-227.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::complex::real</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node5 -->
|
||||
<g id="edge4_Node000003_Node000005" class="edge">
|
||||
<title>Node3->Node5</title>
|
||||
<g id="a_edge4_Node000003_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M228.48,-231.62C243.12,-231.62 260.65,-231.62 277.21,-231.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="276.97,-235.13 286.97,-231.63 276.97,-228.13 276.97,-235.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="Node000006" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/c/fprintf.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="369.75,-204.25 302,-204.25 302,-185 369.75,-185 369.75,-204.25"/>
|
||||
<text text-anchor="middle" x="335.88" y="-190.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::snprintf</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node6 -->
|
||||
<g id="edge5_Node000003_Node000006" class="edge">
|
||||
<title>Node3->Node6</title>
|
||||
<g id="a_edge5_Node000003_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M228.48,-222.67C247.15,-217.75 270.53,-211.58 290.62,-206.29"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="291.45,-209.69 300.23,-203.76 289.67,-202.92 291.45,-209.69"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node13->Node4 -->
|
||||
<g id="edge13_Node000013_Node000004" class="edge">
|
||||
<title>Node13->Node4</title>
|
||||
<g id="a_edge13_Node000013_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M230.65,-268.62C244.05,-268.62 259.63,-268.62 274.6,-268.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="274.37,-272.13 284.37,-268.63 274.37,-265.13 274.37,-272.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node13->Node5 -->
|
||||
<g id="edge15_Node000013_Node000005" class="edge">
|
||||
<title>Node13->Node5</title>
|
||||
<g id="a_edge15_Node000013_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M230.65,-259.1C247.47,-254.66 267.73,-249.32 285.89,-244.54"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="286.64,-247.96 295.42,-242.02 284.86,-241.19 286.64,-247.96"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14 -->
|
||||
<g id="Node000014" class="node">
|
||||
<title>Node14</title>
|
||||
<g id="a_Node000014"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/pow.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="362.62,-315.25 309.12,-315.25 309.12,-296 362.62,-296 362.62,-315.25"/>
|
||||
<text text-anchor="middle" x="335.88" y="-301.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::pow</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node13->Node14 -->
|
||||
<g id="edge14_Node000013_Node000014" class="edge">
|
||||
<title>Node13->Node14</title>
|
||||
<g id="a_edge14_Node000013_Node000014"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M230.65,-278.15C251.35,-283.61 277.26,-290.44 298.07,-295.92"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="297.01,-299.26 307.58,-298.43 298.8,-292.5 297.01,-299.26"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 13 KiB |
@@ -1,9 +0,0 @@
|
||||
<map id="complex_str" name="complex_str">
|
||||
<area shape="rect" id="Node000001" title=" " alt="" coords="5,55,98,80"/>
|
||||
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/complex/imag.html#" title=" " alt="" coords="146,5,278,31"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="95,51,152,34,154,39,97,57"/>
|
||||
<area shape="rect" id="Node000003" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/complex/real.html#" title=" " alt="" coords="149,55,274,80"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="98,65,134,65,134,70,98,70"/>
|
||||
<area shape="rect" id="Node000004" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/c/fprintf.html#" title=" " alt="" coords="167,104,257,130"/>
|
||||
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="97,78,154,96,152,101,95,84"/>
|
||||
</map>
|
||||
@@ -1 +0,0 @@
|
||||
f1267f9382e77cf4a9fe57de44e5a034
|
||||
@@ -1,101 +0,0 @@
|
||||
<?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 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: complex_str Pages: 1 -->
|
||||
<svg width="213pt" height="101pt"
|
||||
viewBox="0.00 0.00 212.50 101.25" 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">
|
||||
|
||||
<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 97.25)">
|
||||
<title>complex_str</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title=" ">
|
||||
<polygon fill="#999999" stroke="#666666" points="69.25,-56.25 0,-56.25 0,-37 69.25,-37 69.25,-56.25"/>
|
||||
<text text-anchor="middle" x="34.62" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">complex_str</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/complex/imag.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="204.5,-93.25 105.25,-93.25 105.25,-74 204.5,-74 204.5,-93.25"/>
|
||||
<text text-anchor="middle" x="154.88" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::complex::imag</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="M67.94,-56.74C81.1,-60.85 96.52,-65.68 110.63,-70.09"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="109.57,-73.43 120.16,-73.07 111.66,-66.75 109.57,-73.43"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/complex/real.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="201.88,-56.25 107.88,-56.25 107.88,-37 201.88,-37 201.88,-56.25"/>
|
||||
<text text-anchor="middle" x="154.88" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::complex::real</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="M69.51,-46.62C77.86,-46.62 87.04,-46.62 96.17,-46.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="96.13,-50.13 106.13,-46.63 96.13,-43.13 96.13,-50.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/c/fprintf.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="188.75,-19.25 121,-19.25 121,0 188.75,0 188.75,-19.25"/>
|
||||
<text text-anchor="middle" x="154.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::snprintf</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="M67.94,-36.51C81.1,-32.4 96.52,-27.57 110.63,-23.16"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="111.66,-26.5 120.16,-20.18 109.57,-19.82 111.66,-26.5"/>
|
||||
</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: 4.0 KiB |
@@ -1,75 +0,0 @@
|
||||
<?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 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: complex_str Pages: 1 -->
|
||||
<svg width="213pt" height="101pt"
|
||||
viewBox="0.00 0.00 212.50 101.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 97.25)">
|
||||
<title>complex_str</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title=" ">
|
||||
<polygon fill="#999999" stroke="#666666" points="69.25,-56.25 0,-56.25 0,-37 69.25,-37 69.25,-56.25"/>
|
||||
<text text-anchor="middle" x="34.62" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">complex_str</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/complex/imag.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="204.5,-93.25 105.25,-93.25 105.25,-74 204.5,-74 204.5,-93.25"/>
|
||||
<text text-anchor="middle" x="154.88" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::complex::imag</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="M67.94,-56.74C81.1,-60.85 96.52,-65.68 110.63,-70.09"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="109.57,-73.43 120.16,-73.07 111.66,-66.75 109.57,-73.43"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/complex/real.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="201.88,-56.25 107.88,-56.25 107.88,-37 201.88,-37 201.88,-56.25"/>
|
||||
<text text-anchor="middle" x="154.88" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::complex::real</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="M69.51,-46.62C77.86,-46.62 87.04,-46.62 96.17,-46.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="96.13,-50.13 106.13,-46.63 96.13,-43.13 96.13,-50.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/c/fprintf.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="188.75,-19.25 121,-19.25 121,0 188.75,0 188.75,-19.25"/>
|
||||
<text text-anchor="middle" x="154.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::snprintf</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="M67.94,-36.51C81.1,-32.4 96.52,-27.57 110.63,-23.16"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="111.66,-26.5 120.16,-20.18 109.57,-19.82 111.66,-26.5"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 3.3 KiB |
@@ -1,9 +0,0 @@
|
||||
<map id="poly_function" name="poly_function">
|
||||
<area shape="rect" id="Node000001" title=" " alt="" coords="5,55,104,80"/>
|
||||
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/complex/imag.html#" title=" " alt="" coords="152,5,284,31"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="99,51,158,33,159,39,101,57"/>
|
||||
<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="182,55,254,80"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="104,65,166,65,166,70,104,70"/>
|
||||
<area shape="rect" id="Node000004" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/complex/real.html#" title=" " alt="" coords="155,104,280,130"/>
|
||||
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="101,78,159,96,158,102,99,84"/>
|
||||
</map>
|
||||
@@ -1 +0,0 @@
|
||||
8bea26c55137a2a13f922232ef4bcd7c
|
||||
@@ -1,101 +0,0 @@
|
||||
<?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 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: poly_function Pages: 1 -->
|
||||
<svg width="217pt" height="101pt"
|
||||
viewBox="0.00 0.00 217.00 101.25" 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">
|
||||
|
||||
<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 97.25)">
|
||||
<title>poly_function</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title=" ">
|
||||
<polygon fill="#999999" stroke="#666666" points="73.75,-56.25 0,-56.25 0,-37 73.75,-37 73.75,-56.25"/>
|
||||
<text text-anchor="middle" x="36.88" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">poly_function</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/complex/imag.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="209,-93.25 109.75,-93.25 109.75,-74 209,-74 209,-93.25"/>
|
||||
<text text-anchor="middle" x="159.38" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::complex::imag</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="M70.8,-56.74C84.35,-60.9 100.24,-65.77 114.74,-70.23"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="113.45,-73.49 124.04,-73.08 115.51,-66.8 113.45,-73.49"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/pow.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="186.12,-56.25 132.62,-56.25 132.62,-37 186.12,-37 186.12,-56.25"/>
|
||||
<text text-anchor="middle" x="159.38" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::pow</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="M74.03,-46.62C88.8,-46.62 105.88,-46.62 120.79,-46.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="120.69,-50.13 130.69,-46.63 120.69,-43.13 120.69,-50.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/complex/real.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="206.38,-19.25 112.38,-19.25 112.38,0 206.38,0 206.38,-19.25"/>
|
||||
<text text-anchor="middle" x="159.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::complex::real</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="M70.8,-36.51C84.35,-32.35 100.24,-27.48 114.74,-23.02"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="115.51,-26.45 124.04,-20.17 113.45,-19.76 115.51,-26.45"/>
|
||||
</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: 4.1 KiB |
@@ -1,75 +0,0 @@
|
||||
<?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 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: poly_function Pages: 1 -->
|
||||
<svg width="217pt" height="101pt"
|
||||
viewBox="0.00 0.00 217.00 101.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 97.25)">
|
||||
<title>poly_function</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title=" ">
|
||||
<polygon fill="#999999" stroke="#666666" points="73.75,-56.25 0,-56.25 0,-37 73.75,-37 73.75,-56.25"/>
|
||||
<text text-anchor="middle" x="36.88" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">poly_function</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/complex/imag.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="209,-93.25 109.75,-93.25 109.75,-74 209,-74 209,-93.25"/>
|
||||
<text text-anchor="middle" x="159.38" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::complex::imag</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="M70.8,-56.74C84.35,-60.9 100.24,-65.77 114.74,-70.23"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="113.45,-73.49 124.04,-73.08 115.51,-66.8 113.45,-73.49"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/pow.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="186.12,-56.25 132.62,-56.25 132.62,-37 186.12,-37 186.12,-56.25"/>
|
||||
<text text-anchor="middle" x="159.38" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::pow</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="M74.03,-46.62C88.8,-46.62 105.88,-46.62 120.79,-46.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="120.69,-50.13 130.69,-46.63 120.69,-43.13 120.69,-50.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/complex/real.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="206.38,-19.25 112.38,-19.25 112.38,0 206.38,0 206.38,-19.25"/>
|
||||
<text text-anchor="middle" x="159.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::complex::real</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="M70.8,-36.51C84.35,-32.35 100.24,-27.48 114.74,-23.02"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="115.51,-26.45 124.04,-20.17 113.45,-19.76 115.51,-26.45"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 3.3 KiB |
432
da/df2/durand__kerner__roots_8cpp_source.html
Normal file
@@ -0,0 +1,432 @@
|
||||
<!-- HTML header for doxygen 1.12.0-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<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.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>TheAlgorithms/C++: numerical_methods/durand_kerner_roots.cpp Source File</title>
|
||||
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../jquery.js"></script>
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@xpack-3rd-party/doxygen-awesome-css@2.2.0-1/doxygen-awesome-darkmode-toggle.js"></script>
|
||||
<script type="text/javascript">
|
||||
DoxygenAwesomeDarkModeToggle.init()
|
||||
</script>
|
||||
<script type="text/javascript" src="../../clipboard.js"></script>
|
||||
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../navtreedata.js"></script>
|
||||
<script type="text/javascript" src="../../navtree.js"></script>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../cookie.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="../../search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
window.MathJax = {
|
||||
options: {
|
||||
ignoreHtmlClass: 'tex2jax_ignore',
|
||||
processHtmlClass: 'tex2jax_process'
|
||||
},
|
||||
loader: {
|
||||
load: ['[tex]/ams']
|
||||
},
|
||||
tex: {
|
||||
macros: {},
|
||||
packages: ['base','configmacros','ams']
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<script type="text/javascript" id="MathJax-script" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
|
||||
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../../doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectlogo"><img alt="Logo" src="../../project_logo.png"/></td>
|
||||
<td id="projectalign">
|
||||
<div id="projectname">TheAlgorithms/C++<span id="projectnumber"> 1.0.0</span>
|
||||
</div>
|
||||
<div id="projectbrief">All the algorithms implemented in C++</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.12.0 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() { codefold.init(1); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="../../menudata.js"></script>
|
||||
<script type="text/javascript" src="../../menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('../../',true,false,'search.php','Search',true);
|
||||
$(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function(){initNavTree('da/df2/durand__kerner__roots_8cpp_source.html','../../'); initResizable(true); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">durand_kerner_roots.cpp</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="../../da/df2/durand__kerner__roots_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span> </div>
|
||||
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="preprocessor">#include <algorithm></span></div>
|
||||
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="preprocessor">#include <cassert></span></div>
|
||||
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="preprocessor">#include <cmath></span></div>
|
||||
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="preprocessor">#include <complex></span></div>
|
||||
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="preprocessor">#include <cstdint></span></div>
|
||||
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="preprocessor">#include <cstdlib></span></div>
|
||||
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="preprocessor">#include <ctime></span></div>
|
||||
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span><span class="preprocessor">#include <fstream></span></div>
|
||||
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="preprocessor">#include <iostream></span></div>
|
||||
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span><span class="preprocessor">#include <valarray></span></div>
|
||||
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span><span class="preprocessor">#ifdef _OPENMP</span></div>
|
||||
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span><span class="preprocessor">#include <omp.h></span></div>
|
||||
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span><span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> </div>
|
||||
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="../../da/df2/durand__kerner__roots_8cpp.html#af270a96662132d0385cb6b4637c5a689"> 46</a></span><span class="preprocessor">#define ACCURACY 1e-10 </span></div>
|
||||
<div class="foldopen" id="foldopen00054" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"><a class="line" href="../../da/df2/durand__kerner__roots_8cpp.html#ae2ab49ba1969d7a5988f9bc2c8924569"> 54</a></span>std::complex<double> <a class="code hl_function" href="../../da/df2/durand__kerner__roots_8cpp.html#ae2ab49ba1969d7a5988f9bc2c8924569">poly_function</a>(<span class="keyword">const</span> std::valarray<double> &coeffs,</div>
|
||||
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> std::complex<double> x) {</div>
|
||||
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <span class="keywordtype">double</span> real = 0.f, imag = 0.f;</div>
|
||||
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <span class="keywordtype">int</span> n;</div>
|
||||
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div>
|
||||
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> <span class="comment">// #ifdef _OPENMP</span></div>
|
||||
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> <span class="comment">// #pragma omp target teams distribute reduction(+ : real, imag)</span></div>
|
||||
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> <span class="comment">// #endif</span></div>
|
||||
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <span class="keywordflow">for</span> (n = 0; n < coeffs.size(); n++) {</div>
|
||||
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> std::complex<double> tmp =</div>
|
||||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> coeffs[n] * std::pow(x, coeffs.size() - n - 1);</div>
|
||||
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> real += tmp.real();</div>
|
||||
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> imag += tmp.imag();</div>
|
||||
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> }</div>
|
||||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> </div>
|
||||
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> <span class="keywordflow">return</span> std::complex<double>(real, imag);</div>
|
||||
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> </div>
|
||||
<div class="foldopen" id="foldopen00077" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"><a class="line" href="../../da/df2/durand__kerner__roots_8cpp.html#a90219e35062007d1f1b68e9af071ab5c"> 77</a></span><span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code hl_function" href="../../da/df2/durand__kerner__roots_8cpp.html#a90219e35062007d1f1b68e9af071ab5c">complex_str</a>(<span class="keyword">const</span> std::complex<double> &x) {</div>
|
||||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span><span class="preprocessor">#define MAX_BUFF_SIZE 50</span></div>
|
||||
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> <span class="keyword">static</span> <span class="keywordtype">char</span> msg[MAX_BUFF_SIZE];</div>
|
||||
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> </div>
|
||||
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> std::snprintf(msg, MAX_BUFF_SIZE, <span class="stringliteral">"% 7.04g%+7.04gj"</span>, x.real(), x.imag());</div>
|
||||
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> </div>
|
||||
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> <span class="keywordflow">return</span> msg;</div>
|
||||
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> </div>
|
||||
<div class="foldopen" id="foldopen00092" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"><a class="line" href="../../da/df2/durand__kerner__roots_8cpp.html#a024b8bc4755863315456d573a6732377"> 92</a></span><span class="keywordtype">bool</span> <a class="code hl_function" href="../../da/df2/durand__kerner__roots_8cpp.html#a024b8bc4755863315456d573a6732377">check_termination</a>(<span class="keywordtype">long</span> <span class="keywordtype">double</span> delta) {</div>
|
||||
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <span class="keyword">static</span> <span class="keywordtype">long</span> <span class="keywordtype">double</span> past_delta = INFINITY;</div>
|
||||
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> <span class="keywordflow">if</span> (std::abs(past_delta - delta) <= <a class="code hl_define" href="../../da/df2/durand__kerner__roots_8cpp.html#af270a96662132d0385cb6b4637c5a689">ACCURACY</a> || delta < <a class="code hl_define" href="../../da/df2/durand__kerner__roots_8cpp.html#af270a96662132d0385cb6b4637c5a689">ACCURACY</a>)</div>
|
||||
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> past_delta = delta;</div>
|
||||
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> </div>
|
||||
<div class="foldopen" id="foldopen00110" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"><a class="line" href="../../da/df2/durand__kerner__roots_8cpp.html#a2c35b320ace8677f9b331faf94f8b2fd"> 110</a></span>std::pair<uint32_t, double> <a class="code hl_function" href="../../da/df2/durand__kerner__roots_8cpp.html#a2c35b320ace8677f9b331faf94f8b2fd">durand_kerner_algo</a>(</div>
|
||||
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> <span class="keyword">const</span> std::valarray<double> &coeffs,</div>
|
||||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> std::valarray<std::complex<double>> *roots, <span class="keywordtype">bool</span> write_log = <span class="keyword">false</span>) {</div>
|
||||
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> <span class="keywordtype">long</span> <span class="keywordtype">double</span> tol_condition = 1;</div>
|
||||
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> uint32_t iter = 0;</div>
|
||||
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> <span class="keywordtype">int</span> n;</div>
|
||||
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> std::ofstream log_file;</div>
|
||||
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> </div>
|
||||
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> <span class="keywordflow">if</span> (write_log) {</div>
|
||||
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> <span class="comment">/*</span></div>
|
||||
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span><span class="comment"> * store intermediate values to a CSV file</span></div>
|
||||
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span><span class="comment"> */</span></div>
|
||||
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> log_file.open(<span class="stringliteral">"durand_kerner.log.csv"</span>);</div>
|
||||
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> <span class="keywordflow">if</span> (!log_file.is_open()) {</div>
|
||||
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> perror(<span class="stringliteral">"Unable to create a storage log file!"</span>);</div>
|
||||
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> std::exit(EXIT_FAILURE);</div>
|
||||
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> }</div>
|
||||
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> log_file << <span class="stringliteral">"iter#,"</span>;</div>
|
||||
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> </div>
|
||||
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> <span class="keywordflow">for</span> (n = 0; n < roots->size(); n++) log_file << <span class="stringliteral">"root_"</span> << n << <span class="stringliteral">","</span>;</div>
|
||||
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> </div>
|
||||
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> log_file << <span class="stringliteral">"avg. correction"</span>;</div>
|
||||
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> log_file << <span class="stringliteral">"\n0,"</span>;</div>
|
||||
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> <span class="keywordflow">for</span> (n = 0; n < roots->size(); n++)</div>
|
||||
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> log_file << <a class="code hl_function" href="../../da/df2/durand__kerner__roots_8cpp.html#a90219e35062007d1f1b68e9af071ab5c">complex_str</a>((*roots)[n]) << <span class="stringliteral">","</span>;</div>
|
||||
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> }</div>
|
||||
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> </div>
|
||||
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> <span class="keywordtype">bool</span> break_loop = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> <span class="keywordflow">while</span> (!<a class="code hl_function" href="../../da/df2/durand__kerner__roots_8cpp.html#a024b8bc4755863315456d573a6732377">check_termination</a>(tol_condition) && iter < INT16_MAX &&</div>
|
||||
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> !break_loop) {</div>
|
||||
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> tol_condition = 0;</div>
|
||||
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> iter++;</div>
|
||||
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> break_loop = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> </div>
|
||||
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> <span class="keywordflow">if</span> (log_file.is_open())</div>
|
||||
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> log_file << <span class="stringliteral">"\n"</span> << iter << <span class="stringliteral">","</span>;</div>
|
||||
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> </div>
|
||||
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span><span class="preprocessor">#ifdef _OPENMP</span></div>
|
||||
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span><span class="preprocessor">#pragma omp parallel for shared(break_loop, tol_condition)</span></div>
|
||||
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span><span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <span class="keywordflow">for</span> (n = 0; n < roots->size(); n++) {</div>
|
||||
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> <span class="keywordflow">if</span> (break_loop)</div>
|
||||
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> <span class="keywordflow">continue</span>;</div>
|
||||
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> </div>
|
||||
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> std::complex<double> numerator, denominator;</div>
|
||||
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> numerator = <a class="code hl_function" href="../../da/df2/durand__kerner__roots_8cpp.html#ae2ab49ba1969d7a5988f9bc2c8924569">poly_function</a>(coeffs, (*roots)[n]);</div>
|
||||
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> denominator = 1.0;</div>
|
||||
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < roots->size(); i++)</div>
|
||||
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> <span class="keywordflow">if</span> (i != n)</div>
|
||||
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> denominator *= (*roots)[n] - (*roots)[i];</div>
|
||||
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> </div>
|
||||
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> std::complex<long double> delta = numerator / denominator;</div>
|
||||
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> </div>
|
||||
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> <span class="keywordflow">if</span> (std::isnan(std::abs(delta)) || std::isinf(std::abs(delta))) {</div>
|
||||
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> std::cerr << <span class="stringliteral">"\n\nOverflow/underrun error - got value = "</span></div>
|
||||
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> << std::abs(delta) << <span class="stringliteral">"\n"</span>;</div>
|
||||
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> <span class="comment">// return std::pair<uint32_t, double>(iter, tol_condition);</span></div>
|
||||
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> break_loop = <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> }</div>
|
||||
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> </div>
|
||||
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> (*roots)[n] -= delta;</div>
|
||||
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> </div>
|
||||
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span><span class="preprocessor">#ifdef _OPENMP</span></div>
|
||||
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span><span class="preprocessor">#pragma omp critical</span></div>
|
||||
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span><span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> tol_condition = std::max(tol_condition, std::abs(std::abs(delta)));</div>
|
||||
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> }</div>
|
||||
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> <span class="comment">// tol_condition /= (degree - 1);</span></div>
|
||||
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> </div>
|
||||
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> <span class="keywordflow">if</span> (break_loop)</div>
|
||||
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> </div>
|
||||
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> <span class="keywordflow">if</span> (log_file.is_open()) {</div>
|
||||
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> <span class="keywordflow">for</span> (n = 0; n < roots->size(); n++)</div>
|
||||
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> log_file << <a class="code hl_function" href="../../da/df2/durand__kerner__roots_8cpp.html#a90219e35062007d1f1b68e9af071ab5c">complex_str</a>((*roots)[n]) << <span class="stringliteral">","</span>;</div>
|
||||
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> }</div>
|
||||
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> </div>
|
||||
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span><span class="preprocessor">#if defined(DEBUG) || !defined(NDEBUG)</span></div>
|
||||
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> <span class="keywordflow">if</span> (iter % 500 == 0) {</div>
|
||||
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span> std::cout << <span class="stringliteral">"Iter: "</span> << iter << <span class="stringliteral">"\t"</span>;</div>
|
||||
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> <span class="keywordflow">for</span> (n = 0; n < roots->size(); n++)</div>
|
||||
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span> std::cout << <span class="stringliteral">"\t"</span> << <a class="code hl_function" href="../../da/df2/durand__kerner__roots_8cpp.html#a90219e35062007d1f1b68e9af071ab5c">complex_str</a>((*roots)[n]);</div>
|
||||
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> std::cout << <span class="stringliteral">"\t\tabsolute average change: "</span> << tol_condition</div>
|
||||
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span> << <span class="stringliteral">"\n"</span>;</div>
|
||||
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span> }</div>
|
||||
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span><span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span> </div>
|
||||
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span> <span class="keywordflow">if</span> (log_file.is_open())</div>
|
||||
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> log_file << tol_condition;</div>
|
||||
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> }</div>
|
||||
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span> </div>
|
||||
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span> <span class="keywordflow">return</span> std::pair<uint32_t, long double>(iter, tol_condition);</div>
|
||||
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span> </div>
|
||||
<div class="foldopen" id="foldopen00208" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"><a class="line" href="../../da/df2/durand__kerner__roots_8cpp.html#a1440a7779ac56f47a3f355ce4a8c7da0"> 208</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="../../da/df2/durand__kerner__roots_8cpp.html#a1440a7779ac56f47a3f355ce4a8c7da0">test1</a>() {</div>
|
||||
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span> <span class="keyword">const</span> std::valarray<double> coeffs = {1, 0, 4}; <span class="comment">// x^2 - 2 = 0</span></div>
|
||||
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span> std::valarray<std::complex<double>> roots(2);</div>
|
||||
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span> std::valarray<std::complex<double>> expected = {</div>
|
||||
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span> std::complex<double>(0., 2.),</div>
|
||||
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span> std::complex<double>(0., -2.) <span class="comment">// known expected roots</span></div>
|
||||
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span> };</div>
|
||||
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span> </div>
|
||||
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span> <span class="comment">/* initialize root approximations with random values */</span></div>
|
||||
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> n = 0; n < roots.size(); n++) {</div>
|
||||
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span> roots[n] = std::complex<double>(std::rand() % 100, std::rand() % 100);</div>
|
||||
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"> 219</span> roots[n] -= 50.f;</div>
|
||||
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"> 220</span> roots[n] /= 25.f;</div>
|
||||
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span> }</div>
|
||||
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span> </div>
|
||||
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> <span class="keyword">auto</span> result = <a class="code hl_function" href="../../da/df2/durand__kerner__roots_8cpp.html#a2c35b320ace8677f9b331faf94f8b2fd">durand_kerner_algo</a>(coeffs, &roots, <span class="keyword">false</span>);</div>
|
||||
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> </div>
|
||||
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < roots.size(); i++) {</div>
|
||||
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> <span class="comment">// check if approximations are have < 0.1% error with one of the</span></div>
|
||||
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span> <span class="comment">// expected roots</span></div>
|
||||
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span> <span class="keywordtype">bool</span> err1 = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j = 0; j < roots.size(); j++)</div>
|
||||
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span> err1 |= std::abs(std::abs(roots[i] - expected[j])) < 1e-3;</div>
|
||||
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span> assert(err1);</div>
|
||||
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> }</div>
|
||||
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span> </div>
|
||||
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span> std::cout << <span class="stringliteral">"Test 1 passed! - "</span> << result.first << <span class="stringliteral">" iterations, "</span></div>
|
||||
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span> << result.second << <span class="stringliteral">" accuracy"</span></div>
|
||||
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"> 236</span> << <span class="stringliteral">"\n"</span>;</div>
|
||||
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span> </div>
|
||||
<div class="foldopen" id="foldopen00243" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"><a class="line" href="../../da/df2/durand__kerner__roots_8cpp.html#a0283886819c7c140a023582b7269e2d0"> 243</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="../../da/df2/durand__kerner__roots_8cpp.html#a0283886819c7c140a023582b7269e2d0">test2</a>() {</div>
|
||||
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span> <span class="keyword">const</span> std::valarray<double> coeffs = {<span class="comment">// 0.015625 x^3 - 1 = 0</span></div>
|
||||
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span> 1. / 64., 0., 0., -1.};</div>
|
||||
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span> std::valarray<std::complex<double>> roots(3);</div>
|
||||
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span> <span class="keyword">const</span> std::valarray<std::complex<double>> expected = {</div>
|
||||
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"> 248</span> std::complex<double>(4., 0.), std::complex<double>(-2., 3.46410162),</div>
|
||||
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"> 249</span> std::complex<double>(-2., -3.46410162) <span class="comment">// known expected roots</span></div>
|
||||
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"> 250</span> };</div>
|
||||
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"> 251</span> </div>
|
||||
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"> 252</span> <span class="comment">/* initialize root approximations with random values */</span></div>
|
||||
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> n = 0; n < roots.size(); n++) {</div>
|
||||
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span> roots[n] = std::complex<double>(std::rand() % 100, std::rand() % 100);</div>
|
||||
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span> roots[n] -= 50.f;</div>
|
||||
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"> 256</span> roots[n] /= 25.f;</div>
|
||||
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"> 257</span> }</div>
|
||||
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"> 258</span> </div>
|
||||
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"> 259</span> <span class="keyword">auto</span> result = <a class="code hl_function" href="../../da/df2/durand__kerner__roots_8cpp.html#a2c35b320ace8677f9b331faf94f8b2fd">durand_kerner_algo</a>(coeffs, &roots, <span class="keyword">false</span>);</div>
|
||||
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span> </div>
|
||||
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"> 261</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < roots.size(); i++) {</div>
|
||||
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"> 262</span> <span class="comment">// check if approximations are have < 0.1% error with one of the</span></div>
|
||||
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span> <span class="comment">// expected roots</span></div>
|
||||
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</span> <span class="keywordtype">bool</span> err1 = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j = 0; j < roots.size(); j++)</div>
|
||||
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"> 266</span> err1 |= std::abs(std::abs(roots[i] - expected[j])) < 1e-3;</div>
|
||||
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"> 267</span> assert(err1);</div>
|
||||
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"> 268</span> }</div>
|
||||
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span> </div>
|
||||
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span> std::cout << <span class="stringliteral">"Test 2 passed! - "</span> << result.first << <span class="stringliteral">" iterations, "</span></div>
|
||||
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span> << result.second << <span class="stringliteral">" accuracy"</span></div>
|
||||
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno"> 272</span> << <span class="stringliteral">"\n"</span>;</div>
|
||||
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"> 273</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno"> 274</span> </div>
|
||||
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno"> 275</span><span class="comment">/***</span></div>
|
||||
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"> 276</span><span class="comment"> * Main function.</span></div>
|
||||
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"> 277</span><span class="comment"> * The comandline input arguments are taken as coeffiecients of a</span></div>
|
||||
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"> 278</span><span class="comment"> *polynomial. For example, this command</span></div>
|
||||
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"> 279</span><span class="comment"> * ```sh</span></div>
|
||||
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span><span class="comment"> * ./durand_kerner_roots 1 0 -4</span></div>
|
||||
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"> 281</span><span class="comment"> * ```</span></div>
|
||||
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span><span class="comment"> * will find roots of the polynomial \f$1\cdot x^2 + 0\cdot x^1 + (-4)=0\f$</span></div>
|
||||
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span><span class="comment"> **/</span></div>
|
||||
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"> 284</span><span class="keywordtype">int</span> <a class="code hl_function" href="../../dd/d1e/generate__parentheses_8cpp.html#gae66f6b31b5ad750f1fe042a706a4e3d4">main</a>(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> **argv) {</div>
|
||||
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"> 285</span> <span class="comment">/* initialize random seed: */</span></div>
|
||||
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span> std::srand(std::time(<span class="keyword">nullptr</span>));</div>
|
||||
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span> </div>
|
||||
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span> <span class="keywordflow">if</span> (argc < 2) {</div>
|
||||
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"> 289</span> <a class="code hl_function" href="../../da/df2/durand__kerner__roots_8cpp.html#a1440a7779ac56f47a3f355ce4a8c7da0">test1</a>(); <span class="comment">// run tests when no input is provided</span></div>
|
||||
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"> 290</span> <a class="code hl_function" href="../../da/df2/durand__kerner__roots_8cpp.html#a0283886819c7c140a023582b7269e2d0">test2</a>(); <span class="comment">// and skip tests when input polynomial is provided</span></div>
|
||||
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"> 291</span> std::cout << <span class="stringliteral">"Please pass the coefficients of the polynomial as "</span></div>
|
||||
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span> <span class="stringliteral">"commandline "</span></div>
|
||||
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"> 293</span> <span class="stringliteral">"arguments.\n"</span>;</div>
|
||||
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"> 294</span> <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span> }</div>
|
||||
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno"> 296</span> </div>
|
||||
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"> 297</span> <span class="keywordtype">int</span> n, degree = argc - 1; <span class="comment">// detected polynomial degree</span></div>
|
||||
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno"> 298</span> std::valarray<double> coeffs(degree); <span class="comment">// create coefficiencts array</span></div>
|
||||
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno"> 299</span> </div>
|
||||
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno"> 300</span> <span class="comment">// number of roots = degree - 1</span></div>
|
||||
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno"> 301</span> std::valarray<std::complex<double>> s0(degree - 1);</div>
|
||||
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"> 302</span> </div>
|
||||
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno"> 303</span> std::cout << <span class="stringliteral">"Computing the roots for:\n\t"</span>;</div>
|
||||
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno"> 304</span> <span class="keywordflow">for</span> (n = 0; n < degree; n++) {</div>
|
||||
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"> 305</span> coeffs[n] = strtod(argv[n + 1], <span class="keyword">nullptr</span>);</div>
|
||||
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno"> 306</span> <span class="keywordflow">if</span> (n < degree - 1 && coeffs[n] != 0)</div>
|
||||
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"> 307</span> std::cout << <span class="stringliteral">"("</span> << coeffs[n] << <span class="stringliteral">") x^"</span> << degree - n - 1 << <span class="stringliteral">" + "</span>;</div>
|
||||
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"> 308</span> <span class="keywordflow">else</span> <span class="keywordflow">if</span> (coeffs[n] != 0)</div>
|
||||
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"> 309</span> std::cout << <span class="stringliteral">"("</span> << coeffs[n] << <span class="stringliteral">") x^"</span> << degree - n - 1</div>
|
||||
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno"> 310</span> << <span class="stringliteral">" = 0\n"</span>;</div>
|
||||
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"> 311</span> </div>
|
||||
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"> 312</span> <span class="comment">/* initialize root approximations with random values */</span></div>
|
||||
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"> 313</span> <span class="keywordflow">if</span> (n < degree - 1) {</div>
|
||||
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno"> 314</span> s0[n] = std::complex<double>(std::rand() % 100, std::rand() % 100);</div>
|
||||
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno"> 315</span> s0[n] -= 50.f;</div>
|
||||
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"> 316</span> s0[n] /= 50.f;</div>
|
||||
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno"> 317</span> }</div>
|
||||
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"> 318</span> }</div>
|
||||
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno"> 319</span> </div>
|
||||
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno"> 320</span> <span class="comment">// numerical errors less when the first coefficient is "1"</span></div>
|
||||
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno"> 321</span> <span class="comment">// hence, we normalize the first coefficient</span></div>
|
||||
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"> 322</span> {</div>
|
||||
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"> 323</span> <span class="keywordtype">double</span> tmp = coeffs[0];</div>
|
||||
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"> 324</span> coeffs /= tmp;</div>
|
||||
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"> 325</span> }</div>
|
||||
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"> 326</span> </div>
|
||||
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno"> 327</span> clock_t end_time, start_time = clock();</div>
|
||||
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno"> 328</span> <span class="keyword">auto</span> <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">result</a> = <a class="code hl_function" href="../../da/df2/durand__kerner__roots_8cpp.html#a2c35b320ace8677f9b331faf94f8b2fd">durand_kerner_algo</a>(coeffs, &s0, <span class="keyword">true</span>);</div>
|
||||
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno"> 329</span> end_time = clock();</div>
|
||||
<div class="line"><a id="l00330" name="l00330"></a><span class="lineno"> 330</span> </div>
|
||||
<div class="line"><a id="l00331" name="l00331"></a><span class="lineno"> 331</span> std::cout << <span class="stringliteral">"\nIterations: "</span> << <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">result</a>.first << <span class="stringliteral">"\n"</span>;</div>
|
||||
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno"> 332</span> <span class="keywordflow">for</span> (n = 0; n < degree - 1; n++)</div>
|
||||
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno"> 333</span> std::cout << <span class="stringliteral">"\t"</span> << <a class="code hl_function" href="../../da/df2/durand__kerner__roots_8cpp.html#a90219e35062007d1f1b68e9af071ab5c">complex_str</a>(s0[n]) << <span class="stringliteral">"\n"</span>;</div>
|
||||
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"> 334</span> std::cout << <span class="stringliteral">"absolute average change: "</span> << <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">result</a>.second << <span class="stringliteral">"\n"</span>;</div>
|
||||
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"> 335</span> std::cout << <span class="stringliteral">"Time taken: "</span></div>
|
||||
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"> 336</span> << <span class="keyword">static_cast<</span><span class="keywordtype">double</span><span class="keyword">></span>(end_time - start_time) / CLOCKS_PER_SEC</div>
|
||||
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno"> 337</span> << <span class="stringliteral">" sec\n"</span>;</div>
|
||||
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span> </div>
|
||||
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno"> 339</span> <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"> 340</span>}</div>
|
||||
<div class="ttc" id="adurand__kerner__roots_8cpp_html_a024b8bc4755863315456d573a6732377"><div class="ttname"><a href="../../da/df2/durand__kerner__roots_8cpp.html#a024b8bc4755863315456d573a6732377">check_termination</a></div><div class="ttdeci">bool check_termination(long double delta)</div><div class="ttdef"><b>Definition</b> <a href="#l00092">durand_kerner_roots.cpp:92</a></div></div>
|
||||
<div class="ttc" id="adurand__kerner__roots_8cpp_html_a0283886819c7c140a023582b7269e2d0"><div class="ttname"><a href="../../da/df2/durand__kerner__roots_8cpp.html#a0283886819c7c140a023582b7269e2d0">test2</a></div><div class="ttdeci">void test2()</div><div class="ttdef"><b>Definition</b> <a href="#l00243">durand_kerner_roots.cpp:243</a></div></div>
|
||||
<div class="ttc" id="adurand__kerner__roots_8cpp_html_a1440a7779ac56f47a3f355ce4a8c7da0"><div class="ttname"><a href="../../da/df2/durand__kerner__roots_8cpp.html#a1440a7779ac56f47a3f355ce4a8c7da0">test1</a></div><div class="ttdeci">void test1()</div><div class="ttdef"><b>Definition</b> <a href="#l00208">durand_kerner_roots.cpp:208</a></div></div>
|
||||
<div class="ttc" id="adurand__kerner__roots_8cpp_html_a2c35b320ace8677f9b331faf94f8b2fd"><div class="ttname"><a href="../../da/df2/durand__kerner__roots_8cpp.html#a2c35b320ace8677f9b331faf94f8b2fd">durand_kerner_algo</a></div><div class="ttdeci">std::pair< uint32_t, double > durand_kerner_algo(const std::valarray< double > &coeffs, std::valarray< std::complex< double > > *roots, bool write_log=false)</div><div class="ttdef"><b>Definition</b> <a href="#l00110">durand_kerner_roots.cpp:110</a></div></div>
|
||||
<div class="ttc" id="adurand__kerner__roots_8cpp_html_a90219e35062007d1f1b68e9af071ab5c"><div class="ttname"><a href="../../da/df2/durand__kerner__roots_8cpp.html#a90219e35062007d1f1b68e9af071ab5c">complex_str</a></div><div class="ttdeci">const char * complex_str(const std::complex< double > &x)</div><div class="ttdef"><b>Definition</b> <a href="#l00077">durand_kerner_roots.cpp:77</a></div></div>
|
||||
<div class="ttc" id="adurand__kerner__roots_8cpp_html_ae2ab49ba1969d7a5988f9bc2c8924569"><div class="ttname"><a href="../../da/df2/durand__kerner__roots_8cpp.html#ae2ab49ba1969d7a5988f9bc2c8924569">poly_function</a></div><div class="ttdeci">std::complex< double > poly_function(const std::valarray< double > &coeffs, std::complex< double > x)</div><div class="ttdef"><b>Definition</b> <a href="#l00054">durand_kerner_roots.cpp:54</a></div></div>
|
||||
<div class="ttc" id="adurand__kerner__roots_8cpp_html_af270a96662132d0385cb6b4637c5a689"><div class="ttname"><a href="../../da/df2/durand__kerner__roots_8cpp.html#af270a96662132d0385cb6b4637c5a689">ACCURACY</a></div><div class="ttdeci">#define ACCURACY</div><div class="ttdef"><b>Definition</b> <a href="#l00046">durand_kerner_roots.cpp:46</a></div></div>
|
||||
<div class="ttc" id="afibonacci__sum_8cpp_html_aadb40ac4c74a7efc0680b83eeee138aa"><div class="ttname"><a href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">math::fibonacci_sum::result</a></div><div class="ttdeci">uint64_t result(uint64_t n)</div><div class="ttdef"><b>Definition</b> <a href="../../de/dc3/fibonacci__sum_8cpp_source.html#l00077">fibonacci_sum.cpp:77</a></div></div>
|
||||
<div class="ttc" id="agenerate__parentheses_8cpp_html_gae66f6b31b5ad750f1fe042a706a4e3d4"><div class="ttname"><a href="../../dd/d1e/generate__parentheses_8cpp.html#gae66f6b31b5ad750f1fe042a706a4e3d4">main</a></div><div class="ttdeci">int main()</div><div class="ttdoc">Main function.</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d1e/generate__parentheses_8cpp_source.html#l00110">generate_parentheses.cpp:110</a></div></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_9c6faab82c22511b50177aa2e38e2780.html">numerical_methods</a></li><li class="navelem"><a class="el" href="../../da/df2/durand__kerner__roots_8cpp.html">durand_kerner_roots.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.12.0 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||