Setup: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
<!--$$<< KnotTheory`$$--> |
<!--$$<< KnotTheory`$$--> |
||
<!--Robot Land, no human edits to "END"--> |
<!--Robot Land, no human edits to "END"--> |
||
<tt><font color=blue>In[ |
<tt><font color=blue>In[2]:=</font></tt><code> << KnotTheory`</code> |
||
<tt>Loading KnotTheory` version of |
<tt>Loading KnotTheory` version of August 31, 2006, 11:36:50.1678. |
||
Read more at http://katlas.math.toronto.edu/wiki/KnotTheory.</tt> |
Read more at http://katlas.math.toronto.edu/wiki/KnotTheory.</tt> |
||
<!--END--> |
<!--END--> |
||
Line 18: | Line 18: | ||
<!--Robot Land, no human edits to "END"--> |
<!--Robot Land, no human edits to "END"--> |
||
{{InOut| |
{{InOut| |
||
n = |
n = 3 | |
||
in = <nowiki>Alexander[Knot[6, 2]][t]</nowiki> | |
in = <nowiki>Alexander[Knot[6, 2]][t]</nowiki> | |
||
out= <nowiki> -2 3 2 |
out= <nowiki> -2 3 2 |
||
Line 28: | Line 28: | ||
<!--Robot Land, no human edits to "END"--> |
<!--Robot Land, no human edits to "END"--> |
||
{{HelpLine| |
{{HelpLine| |
||
n = |
n = 4 | |
||
in = <nowiki>KnotTheoryVersion</nowiki> | |
in = <nowiki>KnotTheoryVersion</nowiki> | |
||
out= <nowiki>KnotTheoryVersion[] returns the date of the current version of the |
out= <nowiki>KnotTheoryVersion[] returns the date of the current version of the |
||
package KnotTheory`. KnotTheoryVersion[k] returns the kth field in |
|||
KnotTheoryVersion[].</nowiki>}} |
|||
<!--END--> |
<!--END--> |
||
Line 36: | Line 38: | ||
<!--Robot Land, no human edits to "END"--> |
<!--Robot Land, no human edits to "END"--> |
||
{{HelpLine| |
{{HelpLine| |
||
n = |
n = 5 | |
||
in = <nowiki>KnotTheoryVersionString</nowiki> | |
in = <nowiki>KnotTheoryVersionString</nowiki> | |
||
out= <nowiki>KnotTheoryVersionString[] returns a string containing the date and |
out= <nowiki>KnotTheoryVersionString[] returns a string containing the date and |
||
time of the current version of the package KnotTheory`. It is generated |
|||
from KnotTheoryVersion[].</nowiki>}} |
|||
<!--END--> |
<!--END--> |
||
Line 44: | Line 48: | ||
<!--Robot Land, no human edits to "END"--> |
<!--Robot Land, no human edits to "END"--> |
||
{{HelpLine| |
{{HelpLine| |
||
n = |
n = 6 | |
||
in = <nowiki>KnotTheoryWelcomeMessage</nowiki> | |
in = <nowiki>KnotTheoryWelcomeMessage</nowiki> | |
||
out= <nowiki>KnotTheoryWelcomeMessage[] returns a string containing the welcome message |
out= <nowiki>KnotTheoryWelcomeMessage[] returns a string containing the welcome message |
||
printed when KnotTheory` is first loaded.</nowiki>}} |
|||
<!--END--> |
<!--END--> |
||
Line 54: | Line 59: | ||
<!--Robot Land, no human edits to "END"--> |
<!--Robot Land, no human edits to "END"--> |
||
{{InOut| |
{{InOut| |
||
n = |
n = 7 | |
||
in = <nowiki>{KnotTheoryVersion[], KnotTheoryVersionString[]}</nowiki> | |
in = <nowiki>{KnotTheoryVersion[], KnotTheoryVersionString[]}</nowiki> | |
||
out= <nowiki>{{2006, |
out= <nowiki>{{2006, 8, 31, 11, 36, 50.1678}, August 31, 2006, 11:36:50.1678}</nowiki>}} |
||
<!--END--> |
<!--END--> |
||
Line 62: | Line 67: | ||
<!--Robot Land, no human edits to "END"--> |
<!--Robot Land, no human edits to "END"--> |
||
{{InOut| |
{{InOut| |
||
n = |
n = 8 | |
||
in = <nowiki>KnotTheoryWelcomeMessage[]</nowiki> | |
in = <nowiki>KnotTheoryWelcomeMessage[]</nowiki> | |
||
out= <nowiki>Loading KnotTheory` version of |
out= <nowiki>Loading KnotTheory` version of August 31, 2006, 11:36:50.1678. |
||
Read more at http://katlas.math.toronto.edu/wiki/KnotTheory.</nowiki>}} |
Read more at http://katlas.math.toronto.edu/wiki/KnotTheory.</nowiki>}} |
||
<!--END--> |
<!--END--> |
||
Line 71: | Line 76: | ||
<!--Robot Land, no human edits to "END"--> |
<!--Robot Land, no human edits to "END"--> |
||
{{HelpLine| |
{{HelpLine| |
||
n = |
n = 9 | |
||
in = <nowiki>KnotTheoryDirectory</nowiki> | |
in = <nowiki>KnotTheoryDirectory</nowiki> | |
||
out= <nowiki>KnotTheoryDirectory[] returns the best guess KnotTheory` has for its |
out= <nowiki>KnotTheoryDirectory[] returns the best guess KnotTheory` has for its |
||
location on the host computer. It can be reset by the user.</nowiki>}} |
|||
<!--END--> |
<!--END--> |
||
Line 79: | Line 85: | ||
<!--Robot Land, no human edits to "END"--> |
<!--Robot Land, no human edits to "END"--> |
||
{{InOut| |
{{InOut| |
||
n = |
n = 10 | |
||
in = <nowiki>KnotTheoryDirectory[]</nowiki> | |
in = <nowiki>KnotTheoryDirectory[]</nowiki> | |
||
out= <nowiki>C: |
out= <nowiki>C:\Program Files\Wolfram\ |
||
Research\Mathematica\6.0\AddOns\ExtraPackages\KnotTheory</nowiki>}} |
|||
<!--END--> |
<!--END--> |
||
Revision as of 11:46, 7 June 2007
Start by downloading either the file KnotTheory.tar.gz or the file KnotTheory.zip (around 3MB each), and unpack either one. This will create a subdirectory KnotTheory/ in your current working directory. This done, no installation is required (though you may wish to check out Further Data Files below). Start Mathematica and you're ready to go:
In[2]:= << KnotTheory`
Loading KnotTheory` version of August 31, 2006, 11:36:50.1678. Read more at http://katlas.math.toronto.edu/wiki/KnotTheory.
Notice the little "prime" at the end of KnotTheory above. It is a backquote (find it on the upper left side of most keyboards) and not a quote, and it really has to be there for things to work.
Let us check that everything is working well:
In[3]:=
|
Alexander[Knot[6, 2]][t]
|
Out[3]=
|
-2 3 2
-3 - t + - + 3 t - t
t
|
|
|
|
Thus on the day this manual page was last changed, we had:
In[7]:=
|
{KnotTheoryVersion[], KnotTheoryVersionString[]}
|
Out[7]=
|
{{2006, 8, 31, 11, 36, 50.1678}, August 31, 2006, 11:36:50.1678}
|
In[8]:=
|
KnotTheoryWelcomeMessage[]
|
Out[8]=
|
Loading KnotTheory` version of August 31, 2006, 11:36:50.1678.
Read more at http://katlas.math.toronto.edu/wiki/KnotTheory.
|
|
In[10]:=
|
KnotTheoryDirectory[]
|
Out[10]=
|
C:\Program Files\Wolfram\
Research\Mathematica\6.0\AddOns\ExtraPackages\KnotTheory
|
KnotTheoryDirectory may not work under some operating systems/environments. Please let Dror know if you encounter any difficulties.
Notes
Precomputed Data
KnotTheory`
comes with a certain amount of precomputed data which is loaded "on demand" just when it is needed. When a precomputed data file is read by KnotTheory`, a notification message is displayed. To prevent these messages from appearing execute the command Off[KnotTheory::loading]
.
====Further Data Files==== To access the Hoste-Thistlethwaite enumeration of knots with 12 to 16 crossings (see Naming and Enumeration), also download either the file DTCodes4Knots12To16.tar.gz or the file DTCodes4Knots12To16.zip (about 9MB each), and unpack either one into the directory KnotTheory/.