Description Usage Arguments Details Value Examples
Call PHCpack to solve a zero-dimensional system
1 2 3 4 5 | 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?)
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## 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.