Learn R Programming

gsignal (version 0.3-1)

polyreduce: Reduce polynomial

Description

Reduce a polynomial coefficient vector to a minimum number of terms by stripping off any leading zeros.

Usage

polyreduce(pc)

Arguments

pc

vector of polynomial coefficients

Value

Vector of reduced polynomial coefficients.

Examples

Run this code
# NOT RUN {
p <- polyreduce(c(0, 0, 1, 2, 3))

# }

Run the code above in your browser using DataLab