polyreduce {gsignal}R Documentation

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.

Author(s)

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

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


[Package gsignal version 0.3-5 Index]