Laguerre.fit()

numpy.polynomial.laguerre.Laguerre.fit

Laguerre.fit(x, y, deg, domain=None, rcond=None, full=False, w=None, window=None) [source]

Least squares fit to data.

Return a series instance that is the least squares fit to the data y sampled at x. The domain of the returned instance can be specified and this will often result in a superior fit with less chance of ill conditioning.

Parameters:

x登录查看完整内容