🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #4281

Bug#1153847: ITP: cxroots -- find all roots of a function in the complex plane

#4281
From: 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.
Technical Details
Message-ID: <NYHfz-btdn-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Drew Parsons <dparsons@debian.org>
Newsgroups: linux.debian.bugs.dist,linux.debian.devel,linux.debian.maint.python
Subject: Bug#1153847: ITP: cxroots -- find all roots of a function in the complex plane
Date: Thu, 12 Nov 2026 19:00:01 +0100
Message-ID: <NYHfz-btdn-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Nov 12 17:55:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Drew Parsons <dparsons@debian.org>, 1153847@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-devel@lists.debian.org, debian-science@lists.debian.org, debian-python@lists.debian.org, wnpp@debian.org
X-Debian-Pr-Message: report 1153847
X-Debian-Pr-Package: wnpp
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0+nmu1
X-Debian-User: dparsons
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2002258
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 34
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 12 Nov 2026 18:53:05 +0100
X-Original-Message-ID: <179450598589.835872.15757279962439901999.reportbug@gelly>