Skip to main content

scikit-zeros

Actions Status Documentation Status PyPI version PyPI platforms GitHub Discussion

Documentation

scikit-zeros is a Python package for finding the all the roots of a holomorphic function in a given region of the complex plane. It is based on subdivision using the argument principle combined with AAA rational approximation of the logarithm derivative.

Installation

You can install scikit-zeros using pip:

pip install skzeros

Example

import numpy as np
import skzeros

A = -0.19435
B = 1000.41
C = 522463
T = 0.005


def f(z):
    return z**2 + A * z + B * np.exp(-T * z) + C


def f_z(z):
    return 2 * z + A - T * B * np.exp(-T * z)


r = skzeros.Rectangle(complex(-2500, -15000), complex(10, 15000))
res = skzeros.find_zeros(r, f, f_z, max_arg_principle=7)

See Also

Metadata

Release files for skzeros 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for skzeros 0.0.2
File Size Uploaded
skzeros-0.0.2.tar.gz 1.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for skzeros 0.0.2
File Interpreter ABI Platform
skzeros-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 1.1 MB

Release files / skzeros-0.0.2.tar.gz

Download URL skzeros-0.0.2.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
2789ec76e022dd1ea9590bec18c840af1aa2d5451bbeabcf7b756a35871eb235
BLAKE2b-256 checksum
How to use checksums
7eed8989cdb5f37a7cee7a6a57e430416501c8ab5b46da3c3d41428b85cb452c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 12, 2025.

Transparency log

Release files / skzeros-0.0.2-py3-none-any.whl

Download URL skzeros-0.0.2-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
80b478dc76c662cf02870121829bdd3b65d5e0c595d2976b59c9e0985a8ce039
BLAKE2b-256 checksum
How to use checksums
40bf392b455b9d6458b07ee5742361edcaa24b1862a04cc399f8761772312085
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 12, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page