solve_unipoly: Solve a univariate mpoly with polyroot

View source: R/solve_unipoly.R

solve_unipolyR Documentation

Solve a univariate mpoly with polyroot

Description

Solve a univariate mpoly with polyroot

Usage

solve_unipoly(mpoly, real_only = FALSE)

Arguments

mpoly

an mpoly

real_only

return only real solutions?

Examples


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


dkahle/mpoly documentation built on July 27, 2023, 11:44 p.m.