PolynomF (version 2.0-2)

solve.polynom: Find Polynomial Zeros

Description

Solve polynomial equations, a(x) = b(x), or alternatively find the zeros of the polynomial a(x) - b(x)

Usage

# S3 method for polynom
solve(a, b, ...)

# S3 method for polylist solve(a, b, ...)

Arguments

a, b

Polynomials for the LHS and RHS respectively

...

Currently unused

Value

A vector of roots, usually complex

Examples

Run this code
# NOT RUN {
p <- poly_calc(0:5)
solve(p)
solve(p, 1)
# }

Run the code above in your browser using DataCamp Workspace