solve_unipoly: Solve a univariate mpoly with polyroot

Description Usage Arguments Examples

View source: R/solve_unipoly.R

Description

Solve a univariate mpoly with polyroot

Usage

1
solve_unipoly(mpoly, real_only = FALSE)

Arguments

mpoly

an mpoly

real_only

return only real solutions?

Examples

1
2
solve_unipoly(mp("x^2 - 1")) # check x = -1, 1
solve_unipoly(mp("x^2 - 1"), real_only = TRUE)

mpoly documentation built on March 26, 2020, 7:33 p.m.