Using the LinKnot package: Difference between revisions

From Knot Atlas
Jump to navigationJump to search
No edit summary
No edit summary
Line 6: Line 6:


<!--$$AppendTo[$Path, "/path/to/LinKnots.m"];$$-->
<!--$$AppendTo[$Path, "/path/to/LinKnots.m"];$$-->
<!--Robot Land, no human edits to "END"-->
{{In|
n = 2 |
in = <nowiki>AppendTo[$Path, "/path/to/LinKnots.m"];</nowiki>}}
<!--END-->
<!--END-->


Line 13: Line 17:


<!--$$?LinKnotDirectory$$-->
<!--$$?LinKnotDirectory$$-->
<!--Robot Land, no human edits to "END"-->
{{HelpLine|
n = 3 |
in = <nowiki>LinKnotDirectory</nowiki> |
out= <math>\textrm{RemoveWhitespace}(\textrm{LinKnotDirectory}\textrm{::}\textrm{usage})</math>}}
<!--END-->
<!--END-->

Revision as of 10:36, 18 February 2006


The Mathematica package LinKnot is a combination of two packages. The first, "Knot2000" was written by M.Ochiai and N.Imafuji. This was extended to the package "LinKnot" by S. Jablan and R. Sazdanovic. This package provides many useful things KnotTheory can't do natively; for example, it can interpret Conway notations, and, at least on Windows machines, provides nice graphics for knots, and a graphical interface for drawing knots by hand.

To use LinKnot with KnotTheory, you should download LinKnot.zip from [1] (a full LinKnot manual page is in the zip file, in the mathematica notebook K2KL.nb). Install this wherever you like, and in your Mathematica session issue a command like

In[2]:= AppendTo[$Path, "/path/to/LinKnots.m"];

After you've done this, everything should just work. (LinKnots` will only be loaded when necessary, and there might be a short delay when this happens.) If everything doesn't just work, please complain to Scott.

You may find it helpful to explicitly set the path in which you've installed LinKnot (although KnotTheory tries to do this itself). Simply set LinKnotDirectory[].

In[3]:= ?LinKnotDirectory