Skip to main content

Brent algorithm

To install

Brent's algorithm requires Python 3.8 and the rich library.

To install the library, run:

pip install pydagogy-brent

Then run the following in a Python shell:

from pydagogy_brent import Settings, brent
import math
settings = Settings(x_rel_tol=1e-12, x_abs_tol=1e-12, y_tol=1e-12, verbose=True)
f = math.cos
brent(f, 0.0, 3.0, settings)

To develop

We use the Poetry dependency management system.

We use VS Code, the Black/isort/pylint tools. To install them, run:

poetry install 

Metadata

Release files for pydagogy-brent 0.0.1

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

Source distribution (sdist)

Source distribution for pydagogy-brent 0.0.1
File Size Uploaded Provenance Actions
pydagogy-brent-0.0.1.tar.gz 3.8 kB Without provenance Details for pydagogy-brent-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pydagogy-brent 0.0.1
File Interpreter ABI Platform Actions
pydagogy_brent-0.0.1-py3-none-any.whl Python 3 none any Details for pydagogy_brent-0.0.1-py3-none-any.whl

Total release size: 7.4 kB

Release files / pydagogy-brent-0.0.1.tar.gz

Download URL pydagogy-brent-0.0.1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
99d660ca4b9f1e99bc7161b15616db0bd58f249c8a368a2f52ddd0d0172607df
BLAKE2b-256 checksum
How to use checksums
fe8d6bb6cca1d8984b27143a46b0481e1149391e13704dcd4a9f05149e19f2e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.9.12 Linux/5.4.0-113-generic

Release files / pydagogy_brent-0.0.1-py3-none-any.whl

Download URL pydagogy_brent-0.0.1-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
53f60218c89e06abf18681af0708cfd017f49368b3942583db723441b36666ea
BLAKE2b-256 checksum
How to use checksums
abaa7205ce3a6cfafe13f35eb0429f0447502947df3729089d19c6072c88d810
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.9.12 Linux/5.4.0-113-generic

Security for pydagogy-brent 0.0.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

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