Setup: Difference between revisions

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


<!--$$<< KnotTheory`$$-->
<!--$$<< KnotTheory`$$-->
<!--Robot Land, no human edits to "END"-->
<!--The lines to END were generated by WikiSplice: do not edit; see manual.-->
<tt><font color=blue>In[1]:=</font></tt><code> << KnotTheory`</code>
<tt><font color=blue>In[1]:=</font></tt><code> << KnotTheory`</code>


Line 13: Line 13:


<!--$$Alexander[Knot[6, 2]][t]$$-->
<!--$$Alexander[Knot[6, 2]][t]$$-->
<!--Robot Land, no human edits to "END"-->
<!--The lines to END were generated by WikiSplice: do not edit; see manual.-->
{{InOut1|n=2}}
{|
<pre style="color: red; border: 0px; padding: 0em"><nowiki>Alexander[Knot[6, 2]][t]</nowiki></pre>
|<tt><font color=blue>In[2]:=</font></tt>
{{InOut2|n=2}}<pre style="border: 0px; padding: 0em"><nowiki> -2 3 2
|<code><font color=red> Alexander[Knot[6, 2]][t]</font></code>
|- valign=top
|<tt><font color=blue>Out[2]=</font></tt>
|<pre style="border: 0px; padding: 0em"> -2 3 2
-3 - t + - + 3 t - t
-3 - t + - + 3 t - t
t</pre>
t</nowiki></pre>
{{InOut3}}
|}
<!--END-->
<!--END-->


<!--$$?KnotTheoryVersion$$-->
<!--$$?KnotTheoryVersion$$-->
<!--Robot Land, no human edits to "END"-->
<!--The lines to END were generated by WikiSplice: do not edit; see manual.-->
{{Help1|n=3|s=KnotTheoryVersion}}
{| width=70% border=1 align=center
KnotTheoryVersion[] returns the date of the current version of the package KnotTheory`. KnotTheoryVersion[k] returns the kth field in KnotTheoryVersion[].
|
{{Help2}}
<font color=blue><tt>In[3]:=</tt></font><font color=red><code> ?KnotTheoryVersion</code></font>

<tt>KnotTheoryVersion[] returns the date of the current version of the package KnotTheory`. KnotTheoryVersion[k] returns the kth field in KnotTheoryVersion[].</tt>
|}
<!--END-->
<!--END-->


<!--$$?KnotTheoryVersionString$$-->
<!--$$?KnotTheoryVersionString$$-->
<!--Robot Land, no human edits to "END"-->
<!--The lines to END were generated by WikiSplice: do not edit; see manual.-->
{{Help1|n=4|s=KnotTheoryVersionString}}
{| width=70% border=1 align=center
KnotTheoryVersionString[] returns a string containing the date and time of the current version of the package KnotTheory`. It is generated from KnotTheoryVersion[].
|
{{Help2}}
<font color=blue><tt>In[4]:=</tt></font><font color=red><code> ?KnotTheoryVersionString</code></font>

<tt>KnotTheoryVersionString[] returns a string containing the date and time of the current version of the package KnotTheory`. It is generated from KnotTheoryVersion[].</tt>
|}
<!--END-->
<!--END-->


<!--$$?KnotTheoryWelcomeMessage$$-->
<!--$$?KnotTheoryWelcomeMessage$$-->
<!--Robot Land, no human edits to "END"-->
<!--The lines to END were generated by WikiSplice: do not edit; see manual.-->
{{Help1|n=5|s=KnotTheoryWelcomeMessage}}
{| width=70% border=1 align=center
KnotTheoryWelcomeMessage[] returns a string containing the welcome message printed when KnotTheory` is first loaded.
|
{{Help2}}
<font color=blue><tt>In[5]:=</tt></font><font color=red><code> ?KnotTheoryWelcomeMessage</code></font>

<tt>KnotTheoryWelcomeMessage[] returns a string containing the welcome message printed when KnotTheory` is first loaded.</tt>
|}
<!--END-->
<!--END-->


Line 58: Line 46:


<!--$${KnotTheoryVersion[], KnotTheoryVersionString[]}$$-->
<!--$${KnotTheoryVersion[], KnotTheoryVersionString[]}$$-->
<!--Robot Land, no human edits to "END"-->
<!--The lines to END were generated by WikiSplice: do not edit; see manual.-->
{{InOut1|n=6}}
{|
<pre style="color: red; border: 0px; padding: 0em"><nowiki>{KnotTheoryVersion[], KnotTheoryVersionString[]}</nowiki></pre>
|<tt><font color=blue>In[6]:=</font></tt>
{{InOut2|n=6}}<pre style="border: 0px; padding: 0em"><nowiki>{{2005, 8, 19, 13, 11, 25}, August 19, 2005, 13:11:25}</nowiki></pre>
|<code><font color=red> {KnotTheoryVersion[], KnotTheoryVersionString[]}</font></code>
{{InOut3}}
|- valign=top
|<tt><font color=blue>Out[6]=</font></tt>
|<pre style="border: 0px; padding: 0em">{{2005, 8, 19, 13, 11, 25}, August 19, 2005, 13:11:25}</pre>
|}
<!--END-->
<!--END-->


<!--$$KnotTheoryWelcomeMessage[]$$-->
<!--$$KnotTheoryWelcomeMessage[]$$-->
<!--Robot Land, no human edits to "END"-->
<!--The lines to END were generated by WikiSplice: do not edit; see manual.-->
{{InOut1|n=7}}
{|
<pre style="color: red; border: 0px; padding: 0em"><nowiki>KnotTheoryWelcomeMessage[]</nowiki></pre>
|<tt><font color=blue>In[7]:=</font></tt>
{{InOut2|n=7}}<pre style="border: 0px; padding: 0em"><nowiki>Loading KnotTheory` (version of August 19, 2005, 13:11:25)...</nowiki></pre>
|<code><font color=red> KnotTheoryWelcomeMessage[]</font></code>
{{InOut3}}
|- valign=top
|<tt><font color=blue>Out[7]=</font></tt>
|<pre style="border: 0px; padding: 0em">Loading KnotTheory` (version of August 19, 2005, 13:11:25)...</pre>
|}
<!--END-->
<!--END-->


<!--$$?KnotTheoryDirectory$$-->
<!--$$?KnotTheoryDirectory$$-->
<!--Robot Land, no human edits to "END"-->
<!--The lines to END were generated by WikiSplice: do not edit; see manual.-->
{{Help1|n=8|s=KnotTheoryDirectory}}
{| width=70% border=1 align=center
KnotTheoryDirectory[] returns the best guess KnotTheory` has for its location on the host computer. It can be reset by the user.
|
{{Help2}}
<font color=blue><tt>In[8]:=</tt></font><font color=red><code> ?KnotTheoryDirectory</code></font>

<tt>KnotTheoryDirectory[] returns the best guess KnotTheory` has for its location on the host computer. It can be reset by the user.</tt>
|}
<!--END-->
<!--END-->



Revision as of 19:40, 27 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]=
      -2   3          2
-3 - t   + - + 3 t - t
           t
In[3]:= ?KnotTheoryVersion

KnotTheoryVersion[] returns the date of the current version of the package KnotTheory`. KnotTheoryVersion[k] returns the kth field in KnotTheoryVersion[].

In[4]:= ?KnotTheoryVersionString

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

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]=
{{2005, 8, 19, 13, 11, 25}, August 19, 2005, 13:11:25}
In[7]:=
KnotTheoryWelcomeMessage[]
Out[7]=
Loading KnotTheory` (version of August 19, 2005, 13:11:25)...
In[8]:= ?KnotTheoryDirectory

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 command Off[KnotTheory::loading].