@@ -7,7 +7,7 @@ mainly for use at the command line.
77Interfaces for Maple, MATLAB (Octave), SageMath, and Python
88provide a scripting environment.
99
10- Input formats
10+ Input Formats
1111=============
1212
1313A lot of examples are contained in the database of Demo systems,
@@ -106,21 +106,34 @@ of the antidiagonal require only the executable version phc.
106106The other interfaces PHClib, PHCmpi, and phcpy are tied
107107to the source code.
108108
109- The phc.py is an optional package, available in the distribution
109+ The ``phc.py `` (observe the dot between ``phc `` and ``py ``)
110+ is an optional package, available in the distribution
110111of SageMath. Another, perhaps more natural interface to SageMath,
111112is to extend the Python interpreter of SageMath with phcpy.
112113
113- Calling the blackbox solver
114- ===========================
114+ Runs in a Jupyter notebook work with a Python or SageMath kernel,
115+ using the interpreter with phcpy installed.
116+ For Julia, use PHCpack.jl, either as standalone or in a Jupyter
117+ notebook with a Julia kernel.
115118
116- The blackbox solver works reasonably well to approximate all isolated
117- solutions of a polynomial system. On the system we saved earlier in
119+ The Blackbox Solvers
120+ ====================
121+
122+ Depending on whether the polynomial system has only isolated solutions,
123+ or whether also positive dimensional solution sets, select one of those
124+ two blackbox options:
125+
126+ 1. ``phc -b `` to approximate all isolated solutions; or
127+
128+ 2. ``phc -B `` for a numerical irreducible decomposition.
129+
130+ To use ``phc -b `` on the system we saved earlier in
118131the file multilin, we invoke the blackbox solver typing
119132at the command prompt
120133
121134::
122135
123- /tmp/ phc -b multilin multilin.phc
136+ phc -b multilin multilin.phc
124137
125138The output of the solver will be sent to the file multilin.phc.
126139In case the input file did not yet contain any solutions,
@@ -147,12 +160,13 @@ solution in the list occurs in the following format:
147160
148161This is the actual output of the root refiner. As the residual
149162at the end of the solution path and at the start of the root refinement
150- is already 1.887E-14, one iteration of
163+ is already `` 1.887E-14 `` , one iteration of
151164Newton's method suffices to confirm the quality of the root.
152165
153166The next line in the output indicates that we reached the end of
154- the path, at t=1, properly. The multiplicity of the root is one,
155- as indicated by m = 1. Then we see the values for the five variables,
167+ the path, at ``t : 1.00000000000000E+00 0.00000000000000E+00 ``
168+ properly. The multiplicity of the root is one,
169+ as indicated by ``m : 1 ``. Then we see the values for the five variables,
156170as pairs of two floating-point numbers: the real and imaginary part of
157171each value. The last line summarizes the numerical quality of the root.
158172The value for err is the magnitude of the last correction term
@@ -187,7 +201,7 @@ with the option ``-B``, typing at the command prompt
187201
188202::
189203
190- /tmp/ phc -B adjmin4 adjmin4.phc
204+ phc -B adjmin4 adjmin4.phc
191205
192206The user is then prompted to enter the top dimension of the solution set,
193207which by default equals the number of variables minus one.
@@ -201,10 +215,10 @@ in the numerical irreducible decomposition.
201215To run in quad double precision on 16 threads,
202216type ``phc -B4 -t16 `` at the command prompt.
203217
204- Running the program in full mode
218+ Running the Program in Full Mode
205219================================
206220
207- If we just type in ``/tmp/ phc `` without any option, we run the program
221+ If we just type in ``phc `` without any option, we run the program
208222in full mode and will pass through all the main menus.
209223A nice application is the verification of the counterexample of Bertrand
210224Haas. We type in haas when the program asks us for the name of
@@ -233,8 +247,16 @@ m-homogeneous start systems. We can save the start system in the file
233247multilin\_ start (only used for backup).
234248Now we continue just as before.
235249
236- Running the program in toolbox mode
237- ===================================
250+ Running Toolbox Mode
251+ ====================
252+
253+ The blackbox mode makes a selection of algorithms
254+ and runs them with default settings of the tolerances and parameters.
255+ In toolbox mode, defaults can be alterned and the stages in the solver
256+ are separated.
257+
258+ For Isolated Solutions Only
259+ ---------------------------
238260
239261Skipping the preconditioning stage (scaling and reduction),
240262we can compute root counts and construct start systems via the option ``-r ``,
@@ -247,12 +269,12 @@ is useful if we have to solve a slightly modified problem.
247269For instance,
248270suppose we change the coefficients of the system in multilin,
249271then we can still use multilin_start to solve the system with
250- modified coefficients, using the ``-p `` option. In this way we use
251- a cheater's homotopy, performing a kind of coefficient-parameter
252- polynomial continuation.
272+ modified coefficients, using the ``-p `` option.
273+ In this way we use a :index: ` cheater's homotopy `, alternatively called
274+ :index: ` coefficient-parameter polynomial continuation` .
253275
254- Dealing with components of solutions
255- ====================================
276+ Computing Components of Solutions
277+ ---------------------------------
256278
257279Consider the system of adjacent minors, we previously saved
258280as ``adjmin4 ``. We first must construct a suitable embedding
@@ -263,4 +285,4 @@ solver has no difficulty to solve this problem and appends the
263285witness points to the file ``adjmin4e5 ``. To compute the
264286irreducible decomposition, we may use the monodromy breakup
265287algorithm, selecting 2 from the menu that comes up when we
266- can the program with the option ``-f ``.
288+ run with the option ``-f ``.
0 commit comments