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

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/getKnotType.R

Description

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

Usage

1
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

The knot type (the simplest knot having the input polynomial). Optionally, additional informations on it.

Author(s)

Federico Comoglio, federico.comoglio@bsse.ethz.ch

References

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

See Also

computeInvariant

Examples

1
2
3
4
5
#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)

FedericoComoglio/Rknots documentation built on May 6, 2019, 4:35 p.m.