bundles / numpy 2.4.3 / numpy / polynomial / chebyshev / _zseries_div
function
numpy.polynomial.chebyshev:_zseries_div
Signature
def _zseries_div ( z1 , z2 ) Summary
Divide the first z-series by the second.
Extended Summary
Divide z1 by z2 and return the quotient and remainder as z-series. Warning: this implementation only applies when both z1 and z2 have the same symmetry, which is sufficient for present purposes.
Parameters
z1, z2: 1-D ndarrayThe arrays must be 1-D and have the same symmetry, but this is not checked.
Returns
(quotient, remainder): 1-D ndarraysQuotient and remainder as z-series.
Notes
This is not the same as polynomial division on account of the desired form of the remainder. If symmetric/anti-symmetric z-series are denoted by S/A then the following rules apply:
S/S -> S,S A/A -> S,A
The restriction to types of the same symmetry could be fixed but seems like unneeded generality. There is no natural form for the remainder in the case where there is no symmetry.
Aliases
-
numpy.polynomial.chebyshev._zseries_div