FContin
Solve F(u, λ) = 0 over λ with just F!
This repository contains natural and pseudo-arclength/Euler-Newton continuation library using JAX for automatic differentiation, numdifftools for numerical differentiation using real or complex derivatives, and Pacopy
This enables automatic/numerical differentiation to obtain the Jacobian and derivative with respect to the parameter. GPU/TPU support is packaged as part of JAX.
How to install and execute?
Just run
pip install fcontin
The following program illustrates a basic example
from fcontin.ContProblem import ContProblem
###
# Define problem
###
def f(u, lmbda):
"""The evaluation of the function to be solved
"""
return [
u[0] + u[1] - (lmbda + 1.), u[0] - u[1] - lmbda
]
###
# Solving and Plotting
###
# Initial guess
u0 = [0., 0.]
# Initial parameter value
lmbda0 = 1.0
# Creating the problem
# Natural or Euler-Newton for cont_method
# Forward, Reverse, Numerical, Complex for jac_mode
problem = ContProblem(f, u0, lmbda0,
cont_method='Euler-Newton',
jac_mode='Complex',
max_steps=10,
newton_tol=1e-10,
callback=callback
)
problem.solve()
Whom to contact?
Please direct your queries to gpavanb1 for any questions.
Metadata
Release files for FContin 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 |
|---|---|---|---|---|
| FContin-0.1.tar.gz | 3.3 kB | Without provenance | Details for FContin-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| FContin-0.1-py3-none-any.whl | Python 3 | none | any | Details for FContin-0.1-py3-none-any.whl |
Total release size: 7.6 kB
Release files / FContin-0.1.tar.gz
| Download URL | FContin-0.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f9386172e5560a35718d495e522d74835e1fad440170632edfb3b46d3d97ef24
|
|
BLAKE2b-256 checksum How to use checksums |
909e11d2e06e712ae2513c0a5c422744d07be71d4ddebeb712ef558a463033ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.4
|
Release files / FContin-0.1-py3-none-any.whl
| Download URL | FContin-0.1-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9578ea2155e3d4b1eae109bc0c0c946a8e99e254cda6d2c9a1305dc6a3b84baf
|
|
BLAKE2b-256 checksum How to use checksums |
d1ff079d83ce5972138f7aa73a4fd92302a920d641b107a4b80ffdfb513ced9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.4
|
Security for FContin 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.