Setup: Difference between revisions
DrorsRobot (talk | contribs) No edit summary |
DrorsRobot (talk | contribs) No edit summary |
||
Line 19: | Line 19: | ||
<!--$$?KnotTheoryVersion$$--> |
<!--$$?KnotTheoryVersion$$--> |
||
<!--The lines to END were generated by WikiSplice: do not edit; see manual.--> |
<!--The lines to END were generated by WikiSplice: do not edit; see manual.--> |
||
{| width=70% border=1 |
{| width=70% border=1 align=center |
||
| |
| |
||
<font color=blue><tt>In[3]:=</tt></font><font color=red><code> ?KnotTheoryVersion</code></font> |
<font color=blue><tt>In[3]:=</tt></font><font color=red><code> ?KnotTheoryVersion</code></font> |
||
Line 28: | Line 28: | ||
<!--$$?KnotTheoryVersionString$$--> |
<!--$$?KnotTheoryVersionString$$--> |
||
<!--The lines to END were generated by WikiSplice: do not edit; see manual.--> |
<!--The lines to END were generated by WikiSplice: do not edit; see manual.--> |
||
{| width=70% border=1 |
{| width=70% border=1 align=center |
||
| |
| |
||
<font color=blue><tt>In[4]:=</tt></font><font color=red><code> ?KnotTheoryVersionString</code></font> |
<font color=blue><tt>In[4]:=</tt></font><font color=red><code> ?KnotTheoryVersionString</code></font> |
||
Line 37: | Line 37: | ||
<!--$$?KnotTheoryWelcomeMessage$$--> |
<!--$$?KnotTheoryWelcomeMessage$$--> |
||
<!--The lines to END were generated by WikiSplice: do not edit; see manual.--> |
<!--The lines to END were generated by WikiSplice: do not edit; see manual.--> |
||
{| width=70% border=1 |
{| width=70% border=1 align=center |
||
| |
| |
||
<font color=blue><tt>In[5]:=</tt></font><font color=red><code> ?KnotTheoryWelcomeMessage</code></font> |
<font color=blue><tt>In[5]:=</tt></font><font color=red><code> ?KnotTheoryWelcomeMessage</code></font> |
||
Line 62: | Line 62: | ||
<!--$$?KnotTheoryDirectory$$--> |
<!--$$?KnotTheoryDirectory$$--> |
||
<!--The lines to END were generated by WikiSplice: do not edit; see manual.--> |
<!--The lines to END were generated by WikiSplice: do not edit; see manual.--> |
||
{| width=70% border=1 |
{| width=70% border=1 align=center |
||
| |
| |
||
<font color=blue><tt>In[8]:=</tt></font><font color=red><code> ?KnotTheoryDirectory</code></font> |
<font color=blue><tt>In[8]:=</tt></font><font color=red><code> ?KnotTheoryDirectory</code></font> |
Revision as of 14:53, 23 August 2005
Start by downloading either the file KnotTheory.tar.gz or the file KnotTheory.zip (around 1MB 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[1]:= << KnotTheory`
Loading KnotTheory` (version of August 19, 2005, 13:11:25)...
Let us check that everything is working well:
In[2]:= Alexander[Knot[6, 2]][t]
Out[2]=
In[3]:= KnotTheoryVersion[] returns the date of the current version of the package KnotTheory`. KnotTheoryVersion[k] returns the kth field in KnotTheoryVersion[]. |
In[4]:= KnotTheoryVersionString[] returns a string containing the date and time of the current version of the package KnotTheory`. It is generated from KnotTheoryVersion[]. |
In[5]:= KnotTheoryWelcomeMessage[] returns a string containing the welcome message printed when KnotTheory` is first loaded. |
Thus on the day this manual page was last changed, we had:
In[6]:= {KnotTheoryVersion[], KnotTheoryVersionString[]}
Out[6]=
In[7]:= KnotTheoryWelcomeMessage[]
Out[7]=
In[8]:= KnotTheoryDirectory[] returns the best guess KnotTheory` has for its location on the host computer. It can be reset by the user. |
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 commandOff[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/.