Using the LinKnot package: Difference between revisions
No edit summary |
DrorsRobot (talk | contribs) No edit summary |
||
Line 23: | Line 23: | ||
n = 3 | |
n = 3 | |
||
in = <nowiki>LinKnotDirectory</nowiki> | |
in = <nowiki>LinKnotDirectory</nowiki> | |
||
out= <nowiki>LinKnotDirectory[] contains the path to the LinKnot package. It must be set correctly in order for all the (Windows only) MathLink components of LinKnot to be usable. It can be overriden by the user.</nowiki>}} |
|||
out= <math>\textrm{RemoveWhitespace}(\textrm{LinKnotDirectory}\textrm{::}\textrm{usage})</math>}} |
|||
<!--END--> |
<!--END--> |
Revision as of 11:17, 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
(For In[1] see Setup)
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[].
|