conway#

Alexander–Conway polynomial via HOMFLY-PT specialization.

conway(k)#

Return the Alexander–Conway polynomial of a knot or link.

This uses the HOMFLY-PT specialization with your convention:

x = 1
y = -1
z → -z
Parameters:

k (PlanarDiagram | OrientedPlanarDiagram) – Planar diagram (oriented or unoriented).

Returns:

SymPy expression in z representing the Conway polynomial.

Return type:

Expr