Using the LinKnot package

From Knot Atlas
Revision as of 11:18, 28 August 2007 by 218.234.66.132 (talk)
Jump to navigationJump to search

julia chanel mpegs prome di maturita magic combi tullio jenny from the block video esecuzione ostaggi in irak cuo santos laguna partimpim artu asrock k8 939 carol smart lombardia distruggi con la pallina gadget pubblicitari comune verona lettore dvd con tv i wish remix kingston compactflash 1gb netmed dragom boll the long day is over midi raduno macchine tuning www pamelaa auto leasing toxi aragoste hole in my soul parkhotel la croce gloriosa laibach wat bilba immagini xi otranto mare it hub 10 porte d-link alpine trapani sony np-fp90 montale il fascismo hamlet antenna esterna calendario di alessia marcuzzi o zone dragostea din tei video oral-b professional care il passaggio del reno logitech 700 pagine bianche pasticceria domenica un emozione da poco anna oxa palmari barcode clive owen t 10 leatherhead quartieri a luci rosse foto porno di uomini gratis radiosveglia con lettore cd scta tv tft 8 reflex nikon d70 midland 400 the loveless nikkor af 50mm f 1 8 d xu 440 wed weider bench pro 420 ristoranti cinesi toscana warner cinema banca cermenate mp3 cruzer opa opa vandi vitillo il mirto e la rosa berg esecution numer xiamen cose fare oh happy days sister act crack step7 5 2 dragostea fin tei lyrics modella napoli madonna re invention world tour 2004 legge del 19 maggio 2004 kyocera fs1200 np-fm 50 audi a4 milano tariffa telefonica partita mondiale calcio termometro per il vino www thecut com video di britney calabrisella mia handel cd clk cabrio monitor philips 109e50 19 luoghi allaperto tg verissimo funcion de sales sony kv-21cl10 modi risonanti laltra vasco rossi vasco rossi braun 7505 cancion y letra en ingles de julio igles savoir cdi tv lcd 1280x1024 cerca lassassino www traviesas com ar centro assistenza in campania marchio am teseo contro il minotauro sardegna badesi immagini di animali sigma apo 70-200 f 2 8 i cinque draghi doro non piangere stasera ragazzo novi ligure lo strano percosso fetishbank canon wp-dc40 logisty videosorveglianza allarmi what u get is what u c charrito negro rider tomtom navigatori gps sicily parfume la donna ideale www nazisti batteria ioni di litio azione immediata kingston mmc rs caught in a middle maglia cofidis media express range rover psion netbook pro profumo chopard montague, charles edward immagini ragazze nude gratis enpacl papa winnie valery gergiev piscina di antegnate ram memoria 168 pin then comes the sun kiangsu spiller groovejet maren ord capannori plasmon 2 batteria acer 200 mg zr 160 we re not gonna take it guerrieri in smoking x men2 philips jukebox mp3 hdd-100 department diamonds milano era di maggio macchine fotografiche digitale batteria gsmk cryptophone 200 trolley 4 ruote le son qui tu batteria cellulare panasonic lex steele sulla neve lamarck, jean-baptiste-pierre... immagini video gena lee nolin pine island bay templo climatizzatore fisso classe a phaser 8500 xpeople org je ta promiss vacanze italia club mini inferno williams angel elton jhon sacrifice dj jean sastre anthony perkins risuscito club bologna macchina delle bolle mouse laser logitech mx 1000 ragazzo ciampino the reason grennday ferentino ian brown brazil brother dr 2000 online personal ads ospedali salernitani cordless easy telecom annuncio affitto biella delta airlines telefoni 3 indirizzi grandi firme www duncanjames it per niente al mondo jayden pascuale samantha de grene cellulare e palmare gps gprs mohamed ray ddddd dp 470

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 notation, and, at least on Windows machines, provides nice graphics for knots, and a graphical interface for drawing knots by hand.

(LinKnot also has a webMathematica interface!)

There are two ways LinKnot can be used along with KnotTheory`:

  • As a "subcontractor": LinKnot is mostly hidden and wrapper functions are provided to access some of its functionality from within KnotTheory`.
  • In parallel: everything from both packages is visible.

The advantage for the first approach is that the interface to LinKnot is then consistent with the conventions used by KnotTheory` and the Mathematica name space remains less cluttered. The advantage of the second approach is obvious - with it, all the functionality of LinKnot is available, and not just the parts for which wrapper functions are provided within KnotTheory`.


Using LinKnot as a "subcontractor"

To use LinKnot from within KnotTheory, download the file LinKnot.zip from the LinKnot site or from our mirror. Unzip and install the content of LinKnot.zip wherever you like, and within Mathematica 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. (LinKnot 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.

In case of problems, 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
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.

Using LinKnot in parallel with KnotTheory`

To use LinKnot in parallel with KnotTheory`, you should download LinKnot.zip from the LinKnot site (a full LinKnot manual page ManualK2KC.nb is in the zip file, and the main file is the mathematica notebook K2KL.nb). After downloading the file LinKnot.zip:

  1. Extract LinKnot.zip anywhere (e.g., to the local disc "C:\"). It will automatically create a new folder LinKnot.
  2. Set the directory to LinKnot, add the path to KnotTheory` to the Mathematica $Path, and run:
SetDirectory["/path/to/LinKnot/"];
<< LinKnots`
AppendTo[$Path, "Path to KnotTheory"];
<< KnotTheory`

For example, if LinKnot is installed in "C:\LinKnot" and KnotTheory` is installed at "C:\KnotTheory", run:

SetDirectory["C:\\LinKnot"];
<< LinKnots`
AppendTo[$Path, "C:\\"];
<< KnotTheory`

Then you can work with the both programs KnotTheory` and LinKnot.

If you need to have the complete program LinKnot visible (with the usage, description of all LinKnot functions, etc.) and run together KnotTheory` and LinKnot, you can open the file K2KL.nb from the directory LinKnot and run the same command as before.

After you've done this, everything should just work. If everything doesn't just work, please complain to S. Jablan (jablans@yahoo.com).


Further usage notes by Jablans

If you have any problem with running LinKnot (as a separate program) please do the following:

  1. in your Mathematica directory (e.g., C:\Program Files\Wolfram Research\Mathematica\5.0) make a new folder named LinKnot;
  2. extract the contents of the file LinKnot.zip into the directory LinKnot;
  3. open the "Mathematica" notebook K2KL.nb that you will find in the directory LinKnot;
  4. run the first line:
SetDirectory["LinKnot"]
<< LinKnots.m

Then you can fix the appropriate path and work with KnotTheory and LinKnot as well.

See also

See also Extending/Modifying KnotTheory`#Lessons learnt from integrating LinKnot` for technical details on how LinKnot` and KnotTheory` were integrated.