phc {m2r} | R Documentation |
PHCpack
Description
Call PHCpack to solve a zero-dimensional system
Usage
solve_system(mpolyList)
solve_system.(mpolyList)
mixed_volume(mpolyList)
Arguments
mpolyList |
An mpolyList object |
Details
Note that solve_system()
doesn't take in an input ring
because the solver only works over the complex numbers.
Value
(currently) the output of an m2() call (string?)
Examples
## Not run: requires Macaulay2
# for this to work, you need to have modified your
# init-PHCpack.m2 file instead of changing your .bashrc
# file to establish the path of phc
# (**clarify**, maybe checkout algstat::polySolve)
(mpolyList <- mp(c("t^4 - x", "t^3 - y", "t^2 - z", "x+y+z")))
solve_system(mpolyList)
mixed_volume(mpolyList)
## End(Not run)
[Package m2r version 1.0.2 Index]