numpy.polynomial.laguerre.lagdiv(c1, c2)
[source]
Divide one Laguerre series by another.
Returns the quotientwithremainder of two Laguerre series c1
/ c2
. The arguments are sequences of coefficients from lowest order “term” to highest, e.g., [1,2,3] represents the series P_0 + 2*P_1 + 3*P_2
.
Parameters: 


Returns: 

In general, the (polynomial) division of one Laguerre series by another results in quotient and remainder terms that are not in the Laguerre polynomial basis set. Thus, to express these results as a Laguerre series, it is necessary to “reproject” the results onto the Laguerre basis set, which may produce “unintuitive” (but correct) results; see Examples section below.
>>> from numpy.polynomial.laguerre import lagdiv >>> lagdiv([ 8., 13., 38., 51., 36.], [0, 1, 2]) (array([1., 2., 3.]), array([0.])) >>> lagdiv([ 9., 12., 38., 51., 36.], [0, 1, 2]) (array([1., 2., 3.]), array([1., 1.]))
© 2005–2019 NumPy Developers
Licensed under the 3clause BSD License.
https://docs.scipy.org/doc/numpy1.17.0/reference/generated/numpy.polynomial.laguerre.lagdiv.html