Polynomial.cast()

numpy.polynomial.polynomial.Polynomial.cast

classmethod Polynomial.cast(series, domain=None, window=None) [source]

Convert series to series of this class.

The series is expected to be an instance of some polynomial series of one of the types supported by by the numpy.polynomial module, but could be some other class that supports the convert method.

New in version 1.7.0.

登录查看完整内容