This is a pre-release version (latest). Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy latest / numpy / polynomial / polyutils / _div

function

numpy.polynomial.polyutils:_div

source: build-install/usr/lib/python3.14/site-packages/numpy/polynomial/polyutils.py :519

Signature

def   _div ( mul_f c1 c2 )

Summary

Helper function used to implement the <type>div functions.

Extended Summary

Implementation uses repeated subtraction of c2 multiplied by the nth basis. For some polynomial types, a more efficient approach may be possible.

Parameters

mul_f : function(array_like, array_like) -> array_like

The <type>mul function, such as polymul

c1, c2

See the <type>div functions for more detail

Aliases

  • numpy.polynomial.polyutils._div