PyErf
A Pure-Python Error Function and Inverse Error Function Package
pyerf is a pure-Python implementation of the error function and inverse error function using the same functions that SciPy uses (namely parts of the Cephes math library, cprob/ndtr.c and cprob/ndtri.c).
This is a useful package for when you need to calculate some error fuctions but you don’t want to install all of the SciPy/NumPy stuff.
Usage
You can import the module:
from pyerf import pyerf
pyerf.erfinv(0.5) # 0.476936...
pyerf.erf(0.5) # 0.5204998...
pyerf.erfc(0.5) # 0.4795001...
or the package:
import pyerf
pyerf.erfinv(0.5) # 0.476936...
pyerf.erf(0.5) # 0.5204998...
pyerf.erfc(0.5) # 0.4795001...
or only a specific function:
from pyerf import erfinv as inverse_error_function
inverse_error_function(0.5) # 0.476936...
and lastly, you can even use import * (but that’s no longer considered very Pythonic as it pollutes the namespace):
from pyerf import *
erfinv(0.5) # 0.476936...
erf(0.5) # 0.5204998...
erfc(0.5) # 0.4795001...
Changelog
See CHANGELOG.md.
Metadata
Release files for pyerf 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyerf-1.0.1.tar.gz | 8.5 kB | Without provenance | Details for pyerf-1.0.1.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyerf-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for pyerf-1.0.1-py3-none-any.whl |
| pyerf-1.0.1-py2-none-any.whl | Python 2 | none | any | Details for pyerf-1.0.1-py2-none-any.whl |
Total release size: 30.8 kB
Release files / pyerf-1.0.1.tar.gz
| Download URL | pyerf-1.0.1.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0a9eef78cdb70550e08c08bd2d3cd3fb06ea9100de72d7c99ce9f329daf8797
|
|
BLAKE2b-256 checksum How to use checksums |
f20132cfc60a08cbcfd1a1de93a2d995ff458c65da3edde9f920754973ac7349
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pyerf-1.0.1-py3-none-any.whl
| Download URL | pyerf-1.0.1-py3-none-any.whl |
|---|---|
| Size | 11.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c1039d9d84681b0b635f3290699b72884b0f615fdf3a4738ba3e96c5185f69d8
|
|
BLAKE2b-256 checksum How to use checksums |
020be73e5e619f479fb98a24385a233be39237bac88950b24c50623818979aa4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pyerf-1.0.1-py2-none-any.whl
| Download URL | pyerf-1.0.1-py2-none-any.whl |
|---|---|
| Size | 11.2 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
68191839eedf566c031b4959fafff83fbd1c9022b42143ea3684c9b2d6e6371a
|
|
BLAKE2b-256 checksum How to use checksums |
e1184d6d10b5dfbdd58d3cefa8b47124d3fc325fb384b159b852473df1446dfb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pyerf 1.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.