This is documentation for an old release of SciPy (version 0.8.). Read this page in the documentation of the latest stable release (version 1.15.1).
Determine the unique roots and their multiplicities in two lists
Inputs:
p – The list of roots tol — The tolerance for two roots to be considered equal. rtype — How to determine the returned root from the close
- ones: ‘max’: pick the maximum
- ‘min’: pick the minimum ‘avg’: average roots
Outputs: (pout, mult)
pout – The list of sorted roots mult – The multiplicity of each root