Learn R Programming

Rknots (version 1.3.2)

getKnotType: Given a polynomial invariant, obtain information on the knot type

Description

Given a polynomial invariant, obtain information on the knot type. Additionally, other polynomials are returned if wished

Usage

getKnotType( polynomial, invariant = 'HOMFLY', full.output = FALSE )

Arguments

polynomial
a single element character vector containing a polynomial invariant as returned by computeInvariant
invariant
the type of polynomial. It can assume values among 'HOMFLY', 'Jones' and 'Alexander'
full.output
logical, define the output type. If TRUE, the polynomial provided in input is converted to other polynomials. The knot type, an URL to retrieve additional information on the knot type and the full set of invariants are returned. If FALSE, only the knot type is returned. Default to FALSE.

Value

References

The Rolfsen Knot Table on Knot Atlas, http://www.math.toronto.edu/~drorbn/KAtlas/Knots

See Also

computeInvariant

Examples

Run this code
#suppose you obtain the following HOMFLY polynomial (e.g. via computeInvariant)
polynomial <- 'l^(-4) - 1/l^2 + l^2 - m^2 - m^2/l^2'
getKnotType(polynomial = polynomial, invariant='HOMFLY')
#get more information of the Stevedore's knot
getKnotType(polynomial = polynomial, invariant='HOMFLY', full.output = TRUE)

Run the code above in your browser using DataLab