🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.maint.python
1 messages
1 total messages Started by Drew Parsons Thu, 12 Nov 2026 18:00
Bug#1153847: ITP: cxroots -- find all roots of a function in the complex plane
#67
Author: Drew Parsons
Date: Thu, 12 Nov 2026 18:00
34 lines
3031 bytes
Package: wnpp
Severity: wishlist
Owner: Drew Parsons <dparsons@debian.org>
X-Debbugs-Cc: debian-devel@lists.debian.org, debian-science@lists.debian.org, debian-python@lists.debian.org

* Package name    : cxroots
  Version         : 3.2.0
  Upstream Contact: Robert Parini <robert.parini@gmail.com>
* URL             : https://github.com/rparini/cxroots
* License         : BSD-3-Clause
  Programming Lang: Python
  Description     : find all roots of a function in the complex plane

cxroots is a Python package for finding all the roots of a function,
f(z), of a single complex variable within a given contour, C, in the
complex plane. It requires only that both:

    f(z) has no roots or poles on C
    f(z) is analytic in the interior of C

The implementation is primarily based on [KB] and evaluates contour
integrals involving f(z) and its derivative f'(z) to determine the
roots. If f'(z) is not provided then it is approximated using a finite
difference method. The roots are further refined using Newton-Raphson
if f'(z) is given or Muller's method if not.

This is a damn useful package,
augmenting the root finders of scipy.optimize,
which only return one root.

The package may be interesting to Debian Science users,
but it's a general package for any mathematical application,
so I think it is better maintained by the Debian Python team,
alongside scipy.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads