solve.polynom: Find Polynomial Zeros

View source: R/PolynomF.R

solve.polynomR Documentation

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 class 'polynom'
solve(a, b, ...)

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

Arguments

a, b

Polynomials for the LHS and RHS respectively

...

Currently unused

Value

A vector of roots, usually complex

Examples

p <- poly_calc(0:5)
solve(p)
solve(p, 1)

PolynomF documentation built on May 2, 2022, 9:07 a.m.