polyreduce: Reduce polynomial

View source: R/polyreduce.R

polyreduceR 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))


gjmvanboxtel/gsignal documentation built on Nov. 22, 2023, 8:19 p.m.