View source: R/numberOfRealRoots.R
numberOfRealRoots | R Documentation |
Number of distinct real roots of a univariate polynomial.
numberOfRealRoots(qspray)
qspray |
a univariate |
An integer, the number of real roots of the polynomial.
The roots are not counted with their multiplicity.
library(resultant)
x <- qlone(1)
P <- 2*x^4 + x^3 - 3*x^2 - x + 1
numberOfRealRoots(P)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.