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


gsignal documentation built on Sept. 12, 2024, 6:27 a.m.