Polynomials

Polynomials in NumPy can be created, manipulated, and even fitted using the Using the Convenience Classes of the numpy.polynomial package, introduced in NumPy 1.4.

在NumPy 1.4之前,numpy.poly1d是选择的类,它仍然可用,以保持向后兼容性。然而,较新的多项式包比numpy.poly1d更完整,其便利类在numpy环境中表现更好。因此,建议对新编码使用多项式。