phc | R Documentation |
Call PHCpack to solve a zero-dimensional system
solve_system(mpolyList)
solve_system.(mpolyList)
mixed_volume(mpolyList)
mpolyList |
An mpolyList object |
Note that solve_system()
doesn't take in an input ring
because the solver only works over the complex numbers.
(currently) the output of an m2() call (string?)
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.