1 | Dear User:
|
---|
2 |
|
---|
3 | This archive contains files which provide Grobner basis support for the
|
---|
4 | free computer algebra system Maxima. In order to use the package,
|
---|
5 | 1. Copy the files in this directory to your favorite location;
|
---|
6 | or better, checkout the contents of this repository with SVN.
|
---|
7 | 2. Edit the file "grobner.mac" to modify the location of the Lisp
|
---|
8 | files, to reflect your choice made in previous step.
|
---|
9 | 3. Start your Maxima and load the file "grobner.mac"
|
---|
10 | 4. Optionally, compile the Lisp files, so that the next file
|
---|
11 | you load "grobner.mac", the compiled (.fasl) versions of
|
---|
12 | the files will be loaded. The compilation instructions
|
---|
13 | vary slightly depending on Lisp version.
|
---|
14 |
|
---|
15 | This version has been verified to work under this Maxima version:
|
---|
16 |
|
---|
17 | ----------------------------------------------------------------
|
---|
18 | Maxima 5.34.1 http://maxima.sourceforge.net
|
---|
19 | using Lisp SBCL 1.2.4-1.fc21
|
---|
20 | ----------------------------------------------------------------
|
---|
21 |
|
---|
22 | It should also be portable across other ANSI Common Lisp implementations.
|
---|
23 |
|
---|
24 | The file grobner.demo is a Macsyma-style demo file for most of the operations
|
---|
25 | provided by the package. In order to run it, go to the Maxima level and
|
---|
26 | type:
|
---|
27 |
|
---|
28 | demo("grobner.demo");
|
---|
29 |
|
---|
30 | or
|
---|
31 |
|
---|
32 | batch("grobner.demo");
|
---|
33 |
|
---|
34 | and watch the demonstration.
|
---|
35 |
|
---|
36 | Maxima documentation for this package has not been written yet, but
|
---|
37 | there is a sizable amount of documentation in the LISP source.
|
---|
38 |
|
---|
39 | == COMPILATION INSTRUCTIONS FOR SBCL ==
|
---|
40 |
|
---|
41 | === When using ASDF (preferred way):
|
---|
42 | ----------------------------------------------------------------
|
---|
43 | > (require :asdf)
|
---|
44 | > (load "ngrobner.asd")
|
---|
45 | > (asdf:install-system :ngrobner)
|
---|
46 | ----------------------------------------------------------------
|
---|
47 | The compiled files (extension .fasl for SBCL) will be typically
|
---|
48 | placed in a standard location determined by the ASDF configuration. On my system it is:
|
---|
49 | ----------------------------------------------------------------
|
---|
50 | /home/marek/.cache/common-lisp/sbcl-1.2.4-1.fc21-linux-x64/home/marek/Repos/MaximaGrobner/branches/f4grobner/
|
---|
51 | ----------------------------------------------------------------
|
---|
52 | given that the SVN repository was copied to /home/marek/Repos/MaximaGrobner.
|
---|
53 |
|
---|
54 |
|
---|
55 | === When not using ASDF (for whatever reason):
|
---|
56 |
|
---|
57 | Step 1. Start SBCL in the directory which is a copy of this directory.
|
---|
58 | Step 2. Execute Lisp commands:
|
---|
59 | ----------------------------------------------------------------
|
---|
60 | > (load "ngrobner-package.lisp")
|
---|
61 | > (ngrobner::compile-ngrobner)
|
---|
62 | ----------------------------------------------------------------
|
---|
63 |
|
---|
64 | The resulting compiled files (extension .fasl for SBCL) will end up in
|
---|
65 | the same folder as the Lisp files. Then can be moved any directory
|
---|
66 | where Maxima can find them, as determined by the variable
|
---|
67 | file_search_lisp. This variable needs to be modified in "grobner.mac"
|
---|
68 | accordingly. After that, every time you load "grobner.mac" the
|
---|
69 | compiled version will be used.
|
---|
70 |
|
---|
71 | == ADDITIONAL COMMENTS ==
|
---|
72 |
|
---|
73 | The files were derived the sources of a package CGBlisp, version 2,
|
---|
74 | also authored by me, which will eventually be released at my Web site
|
---|
75 | (see below). An older version of CGBlisp is available at the Web
|
---|
76 | site.
|
---|
77 |
|
---|
78 | Enjoy.
|
---|
79 | --Marek Rychlik
|
---|
80 |
|
---|
81 | 5-24-2002
|
---|
82 | Revised: 1-25-2009
|
---|
83 | Revised: 1-25-2015
|
---|
84 |
|
---|
85 | E-mail: rychlik@u.arizona.edu
|
---|
86 | URL: http://marekrychlik.com
|
---|