solveSystem(S)
solveSystem(S,numThreads=>4)
solveSystem(S,computingPrecision=>2)
solveSystem(S,randomSeed=>12345)
Suppose we want numerical approximations of all complex isolated solutions to the following system:
|
|
We call PHCpack's blackbox solver:
|
The method solveSystem prints the PHCpack input and output file names and returns two solutions. The solutions are of type Point, defined in NAGtypes. Each point p comes with cached diagnostics. For example, p.cache.LastT is the end value of the continuation parameter; if it equals 1, then the solver reached the end of the path properly.
|
|
The method handles overdetermined systems by inserting slack variables.
|
|
|
|
The method solveSystem does not check the dimension of the system; it checks for number of equations instead. So solveSystem will return an error if there are less equations than unknowns even if the system is zero-dimensional. In addition, if the system is square but not zero-dimensional, the output is meaningless. Thus, it is suggested that the user checks the dimension of the system before using solveSystem.
The object solveSystem is a method function with options.