solve_unipoly {mpoly}R 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)


[Package mpoly version 1.1.1 Index]