powered by
Solve a univariate mpoly with polyroot
solve_unipoly(mpoly, real_only = FALSE)
an mpoly
return only real solutions?
# NOT RUN { solve_unipoly(mp("x^2 - 1")) # check x = -1, 1 solve_unipoly(mp("x^2 - 1"), real_only = TRUE) # }
Run the code above in your browser using DataLab