numpy.polynomial.legendre.legdiv(c1, c2) [source]
Divide one Legendre series by another. Returns the quotient-with-remainder of two Legendre 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:
c1, c2 : array_like 1-D arrays of Legendre series coefficients ordered from low to high. Returns:
quo, rem : ndarrays Of Legendre series coefficients representing the quotient and re