View source: R/solve_unipoly.R
solve_unipoly | R Documentation |
Solve a univariate mpoly with polyroot
solve_unipoly(mpoly, real_only = FALSE)
mpoly |
an mpoly |
real_only |
return only real solutions? |
solve_unipoly(mp("x^2 - 1")) # check x = -1, 1
solve_unipoly(mp("x^2 - 1"), real_only = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.