Nijenhuis toolkit
Symbolic computation of Nijenhuis and Haantjes tensors for integrability analysis of hydrodynamic-type systems.
Features
- Nijenhuis and Haantjes tensor objects in python
- Symbolic computation using SymPy
- Checking of diagonalisability and zero elements
- Easy to read tensor summaries
- Direct LaTeX translation functions for tensors and matrices
Installation
If using pip: pip install nijenhuis-toolkit
Examples
# Define coordinates and a matrix as an operator
u, v = sp.symbols('u v')
L = Operator(
[[v,1],
[0,v]],coords=[u,v])
# Compute the Nijenhuis and Haantjes tensors
N = L.nijenhuis_tensor()
H = L.haantjes_tensor()
# Prouce a tensor summary
print(tensor_summary(N,symbol="N"))
>>> N: 2 components total, 0 non-zero
#Check if the Nijenhuis tensor is identically zero
print(L.is_nijenhuis())
>>> True
Metadata
Release files for nijenhuis-toolkit 0.1.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 |
|---|---|---|---|---|
| nijenhuis_toolkit-0.1.1.tar.gz | 4.0 kB | Without provenance | Details for nijenhuis_toolkit-0.1.1.tar.gz |
Release files / nijenhuis_toolkit-0.1.1.tar.gz
| Download URL | nijenhuis_toolkit-0.1.1.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08fbbc8162a95f213f8381a2b084c4febdc0967746cd7e406d1454c149044870
|
|
BLAKE2b-256 checksum How to use checksums |
c25a268a4d46c7eb81c2e94065cd7458f6e16fb5dc9e3537e61b2f45eccf40cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for nijenhuis-toolkit 0.1.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.