Maple SPT-Crank Package - Installation Instructions

These instructions are for Windows and Maple 13. If you are using a different version of Maple just change "13" to whatever.
  • STEP 1
    Create a directory for your maple lib (dotm) files.
    My directory is called mylib and is under the Maple 13 directory.
    This is what I did to create it:
    • Click Start
    • Click Run
    •  cd c:\"Program Files"\"Maple 13" 
    •  mkdir mylib
    You should now have a new directory called mylib.
  • STEP 2
    Set up a maple.ini file. This file is created in the Users subdirectory and contains the following lines:
    Homelib:="C:\\Program Files\\Maple 13/mylib":
    libname := libname, Homelib:
    
    Continuing from above we could do the following in the cmd window:
        cd Users
        echo Homelib:="C:\\Program Files\\Maple 13/mylib": > maple.ini 
        echo libname := libname, Homelib: >> maple.ini
    
    Now you should have a file maple.ini containing two lines of code.
  • STEP 3
    Download the file This file contains MAPLE code for setting up and saving the package. Save this file in a place where you keep your MAPLE programs. I saved it in a special directory:
    "C:\cygwin\home\fgarvan\maple\mypackages\sptcrank\w-setup"
    
    This program saves the sptcrank package on the mylib directory. If you want to save it in a different place you will need to edit the file.
  • STEP 4
    Install the sptcrank package. Start MAPLE and do something like the following.
    > currentdir("C:\\cygwin\\HOME\\fgarvan\\maple\\mypackages\\sptcrank\\w-setup");
                 "C:\cygwin\home\fgarvan\maple\mypackages\sptcrank\w-setup"
    > currentdir();
    >            "C:\cygwin\home\fgarvan\maple\mypackages\sptcrank\w-setup"
    > LLN:=500: xprint:=true:
    > read "SPTCRANKPROG.txt":
    
    You will need to change "C:....w-setup" to the appropriate place.
    This program computes NS(m,n) for n up to 500 and saves this table of sptcrank values and the package as a file sptcrank.m in the mylib dir. This program also requires both the rank and crank packages. See
  • STEP 5
    Exit MAPLE and restart it to test the package:
    > with(sptcrank);
          [NS, sptcrankgen, sptcranknum, sptcrankresgen, sptcrankresgenb, 
    
            sptcrankresnum, sptcrankresnumb, sptcranktablemake]
    > seq(NS(r,5,4),r=0..4);
                                    2, 2, 2, 2, 2
    > seq(NS(r,7,5),r=0..6);
                                 2, 2, 2, 2, 2, 2, 2
    > seq(NS(r,13,6),r=0..6);
                                 4, 4, 3, 2, 1, 1, 0
    > modp(1/24,35);
                                         19
    > modp(500,35);
                                         10
    > 500+9-35;
                                         474
    > seq(NS(r,5,474),r=0..2);
       1849624649837786902080, 1849624649837786902080, 1849624649837786902080
    > seq(NS(r,7,474),r=0..3);
      1321160464169847787200, 1321160464169847787200, 1321160464169847787200, 
        1321160464169847787200
    > for n from 1 to 20 do
    > lprint(n,seq(NS(m,n),m=0..n));
    > od;
    1, 1, 0
    2, 1, 1, 0
    3, 1, 1, 1, 0
    4, 2, 2, 1, 1, 0
    5, 2, 2, 2, 1, 1, 0
    6, 4, 4, 3, 2, 1, 1, 0
    7, 5, 4, 4, 3, 2, 1, 1, 0
    8, 7, 7, 6, 5, 3, 2, 1, 1, 0
    9, 10, 9, 8, 6, 5, 3, 2, 1, 1, 0
    10, 13, 13, 11, 10, 7, 5, 3, 2, 1, 1, 0
    11, 17, 16, 15, 12, 10, 7, 5, 3, 2, 1, 1, 0
    12, 24, 24, 21, 18, 14, 11, 7, 5, 3, 2, 1, 1, 0
    13, 31, 29, 27, 23, 19, 14, 11, 7, 5, 3, 2, 1, 1, 0
    14, 40, 40, 36, 32, 26, 21, 15, 11, 7, 5, 3, 2, 1, 1, 0
    15, 53, 51, 48, 41, 35, 27, 21, 15, 11, 7, 5, 3, 2, 1, 1, 0
    16, 69, 68, 62, 56, 46, 38, 29, 22, 15, 11, 7, 5, 3, 2, 1, 1, 0
    17, 88, 85, 80, 70, 61, 49, 39, 29, 22, 15, 11, 7, 5, 3, 2, 1, 1, 0
    18, 113, 112, 104, 94, 80, 67, 52, 41, 30, 22, 15, 11, 7, 5, 3, 2, 1, 1, 0
    19, 144, 139, 132, 118, 103, 85, 70, 53, 41, 30, 22, 15, 11, 7, 5, 3, 2, 1, 1, 0
    20, 183, 181, 169, 154, 133, 113, 91, 73, 55, 42, 30, 22, 15, 11, 7, 5, 3, 2, 1, 1, 0
    
    Do you get this? See

The url of this page is http://qseries.org/fgarvan/qmaple/sptcrank/install.html.
Created by F.G. Garvan (fgarvan@ufl.edu) on Monday, January 02, 2012.
Last update made Tue Jan 3 16:11:01 EST 2012.


MAIL fgarvan@ufl.edu