sagemath_homfly: Homfly polynomials of knots/links with libhomfly¶
This pip-installable distribution passagemath-homfly
provides a Cython interface
to the libhomfly library.
What is included¶
Examples¶
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-homfly[test]" ipython
In [1]: from sage.libs.homfly import homfly_polynomial_dict
In [2]: trefoil = '1 6 0 1 1 -1 2 1 0 -1 1 1 2 -1 0 1 1 1 2 1'
In [3]: homfly_polynomial_dict(trefoil)
Out[3]: {(-4, 0): -1, (-2, 0): -2, (-2, 2): 1}
Type¶
standard
Dependencies¶
$(PYTHON)
$(PYTHON_TOOLCHAIN)
cython: C-Extensions for Python, an optimizing static compiler
mpc: Arithmetic of complex numbers with arbitrarily high precision and correct rounding
mpfr: Multiple-precision floating-point computations with correct rounding
sagemath_objects: Sage objects, elements, parents, categories, coercion, metaclasses
Version Information¶
package-version.txt:
10.6.29
version_requirements.txt:
passagemath-homfly ~= 10.6.29.0
Installation commands¶
$ pip install passagemath-homfly~=10.6.29.0
$ sage -i sagemath_homfly
However, these system packages will not be used for building Sage
because spkg-configure.m4
has not been written for this package;
see upstream Issue #27330 for more information.