Description Usage Arguments Details Value
Check if a set of polynomial is positive (or negative) inside a given interval.
1 | is_positives(poly_coefs, a, b, positive = TRUE, EPS = 1e-06)
|
poly_coefs |
a matrix of polynomial coefficients in ascending order, each column corresponds to a polynomial. (num mat) |
a |
the lower bound. (num) |
b |
the upper bound. (num) |
positive |
if it is |
EPS |
error tolerance. (num) |
This can be done by checking wherether the roots of the polynomials have even multiplicities. In addition, one of the points in the interval must have the desired sign.
a boolean vector indicating whether the condition in the description is met.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.