Maple 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\crank\w-setup"
    
    This program saves the crank 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 crank package. Start MAPLE and do something like the following.
    > currentdir("C:\\cygwin\\HOME\\fgarvan\\maple\\mypackages\\crank\\w-setup");
                 "C:\cygwin\home\fgarvan\maple\mypackages\crank\w-setup"
    > currentdir();
    >            "C:\cygwin\home\fgarvan\maple\mypackages\crank\w-setup"
    > LLN:=500: xprint:=true:
    > read "CRANKPROG13.txt":
    
    You will need to change "C:....w-setup" to the appropriate place.
    This program computes M(m,n) for n up to 500 and saves this table of crank values and the package as a file crank.m in the mylib dir. See
  • STEP 5
    Exit MAPLE and restart it to test the package:
    > with(crank);
      [M, crankgen, crankgenb, cranknum, crankresgen, crankresgenb, crankresnum, 
        crankresnumb, cranktablemake]
    > modp(1/24,5*7*11);
                                          369
    > seq(M(r,5,369),r=0..4);
             191745739582467609, 191745739582467609, 191745739582467609, 
               191745739582467609, 191745739582467609
    > seq(M(r,7,369),r=0..3);
     136961242558905435, 136961242558905435, 136961242558905435, 136961242558905435
    > seq(M(r,11,369),r=0..5);
    87157154355667095, 87157154355667095, 87157154355667095, 87157154355667095, 
      87157154355667095, 87157154355667095
    
    Do you get this? See

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


MAIL fgarvan@ufl.edu