link-khovanov
Compute distinct integral Khovanov homologies across component orientations of a link.
Installation
pip install link-khovanov
Usage example
from link_khovanov import link_khovanov
hopf = [[2, 3, 1, 4], [4, 1, 3, 2]]
for value in link_khovanov(hopf):
print(value)
Algorithm
The PD component graph is decomposed into oriented cycles. One global orientation is fixed because reversing every component simultaneously is redundant; the remaining 2^(n-1) orientation representatives are evaluated and duplicate homology strings are removed. Computation is delegated in batches to the Khovanov backend to avoid starting a new compiler or process for every orientation.
Input conventions
A PD code is represented as a list of four-entry crossings. Arc labels normally occur exactly twice. Public functions validate inputs and return new values rather than mutating caller-owned data unless their API explicitly says otherwise.
External software
- A C++14 compiler is required by the Khovanov backend on first use.
- No Java runtime is required.
Development
Run examples and package checks before release. Python packages require Python 3.10 or newer. Build PyPI artifacts with:
poetry check
poetry build
License
MIT. See LICENSE.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file link_khovanov-0.1.1.tar.gz.
File metadata
- Download URL: link_khovanov-0.1.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.4.1 CPython/3.11.15 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f44336d6855cb94bb7b1beafc63c9268b1448ef7e6d0738218ad699ac3030e88
|
|
| MD5 |
ff3857d2412fccec3a152f1a95a6fa83
|
|
| BLAKE2b-256 |
842f05f24f6bb2f82df7d218115356dce45dc87044f9d59283cd1e0c3941c6c4
|
File details
Details for the file link_khovanov-0.1.1-py3-none-any.whl.
File metadata
- Download URL: link_khovanov-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.4.1 CPython/3.11.15 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59cbfcf54b4427a78ad2e5deb266a8b8483a40a92cfa87f2ede90f1916e367c0
|
|
| MD5 |
a7d75e302b9b77dbc18f7c7295956660
|
|
| BLAKE2b-256 |
25c22d2d1c3e04544693a0375cc0c3c004a15b619ed33592b87f16d0b1a42ebf
|