Polynomial.linspace()

numpy.polynomial.polynomial.Polynomial.linspace

Polynomial.linspace(n=100, domain=None) [source]

Return x, y values at equally spaced points in domain.

Returns the x, y values at n linearly spaced points across the domain. Here y is the value of the polynomial at the points x. By default the domain is the same as that of the series instance. This method is intended mostly as a plotting aid.

New in version 1.5.0.

登录查看完整内容