powered by
Reduce a polynomial coefficient vector to a minimum number of terms by stripping off any leading zeros.
polyreduce(pc)
Vector of reduced polynomial coefficients.
vector of polynomial coefficients
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
p <- polyreduce(c(0, 0, 1, 2, 3))
Run the code above in your browser using DataLab