[Numpy-discussion] polyfit

Alan G Isaac alan.isaac at gmail.com
Wed Dec 18 17:23:01 EST 2013


For teaching it is certainly nice to have numpy.polynomial.polynomial.polyfit
providing modern (vs. traditional) parameter order, but

- it is rather buried
- np.polyfit uses traditional order and has the same name

I recall there was some controversy (?) over all of this,
but might it not be appropriate to have a keyword argument to
both specifying whether the parameter order is to be modern
or traditional (in both polyfits and polyvals)?

fwiw,
Alan Isaac



More information about the NumPy-Discussion mailing list