Learn R Programming

gsignal (version 0.3-7)

polyreduce: Reduce polynomial

Description

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

Usage

polyreduce(pc)

Value

Vector of reduced polynomial coefficients.

Arguments

pc

vector of polynomial coefficients

Author

Tony Richardson, arichard@stark.cc.oh.us,
adapted by John W. Eaton.
Conversion to R by Geert van Boxtel, G.J.M.vanBoxtel@gmail.com

Examples

Run this code
p <- polyreduce(c(0, 0, 1, 2, 3))

Run the code above in your browser using DataLab