close Warning: Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.

source: branches/f4grobner/ngrobner-package.lisp@ 538

Last change on this file since 538 was 538, checked in by Marek Rychlik, 9 years ago

* empty log message *

File size: 3.7 KB
Line 
1;;; -*- Mode: Lisp; Package: Maxima; Syntax: Common-Lisp; Base: 10 -*-
2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3;;;
4;;; Copyright (C) 1999, 2002, 2009, 2015 Marek Rychlik <rychlik@u.arizona.edu>
5;;;
6;;; This program is free software; you can redistribute it and/or modify
7;;; it under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 2 of the License, or
9;;; (at your option) any later version.
10;;;
11;;; This program is distributed in the hope that it will be useful,
12;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with this program; if not, write to the Free Software
18;;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19;;;
20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
21
22(defpackage "NGROBNER"
23 (:use :cl :ring :monomial :order :term :polynomial :grobner-debug
24 :division :buchberger :gebauer-moeller :gb-postprocessing :ideal
25 :utils :grobner-wrap)
26 (:export
27 ;;
28 ;; Global switches valid at maxima level
29 ;;
30 "$LEX" "$GRLEX" "$GREVLEX" "$INVLEX" ;names of monomial order
31 "$RING_OF_INTEGERS" ;names of rings
32 "$POLY_ELIMINATION_ORDER" "$POLY_MONOMIAL_ORDER"
33 "$POLY_MONOMIAL_ORDER" "$POLY_PRIMARY_ELIMINATION_ORDER"
34 "$POLY_PRIMARY_ELIMINATION_ORDER"
35 "$POLY_SECONDARY_ELIMINATION_ORDER"
36 "$POLY_RETURN_TERM_LIST"
37 "$POLY_COEFFICIENT_RING"
38 "$POLY_GROBNER_DEBUG" ;debugging switch
39 ;;
40 ;; Global variables
41 ;;
42 "*EXPRESSION-RING*"
43 "*ELIMINATION-ORDER*"
44 "*MONOMIAL-ORDER*"
45 "*PRIMARY-ELIMINATION-ORDER*"
46 "*SECONDARY-ELIMINATION-ORDER*"
47 "*RATDISREP-FUN*"
48 ;;
49 ;; Polynomial ring operations
50 ;;
51 "POLY-ADD" "POLY-MUL" "POLY-NORMALIZE" "POLY-NORMALIZE-LIST"
52 "POLY-ZEROP" "POLY-EXPT" "POLY-LCM" "POLY-LM" "POLY-LT"
53 "POLY-PSEUDO-DIVIDE" "POLY-SUB" "POLY-UMINUS"
54 ;;
55 ;; High-level Groebner Basis related functions
56 ;;
57 "NORMAL-FORM"
58 "POLY-EXACT-DIVIDE"
59 "COLON-IDEAL" "ELIMINATION-IDEAL"
60 "GROBNER"
61 "REDUCED-GROBNER"
62 "FIND-ORDER" "FIND-RING"
63 "GROBNER-EQUAL" "GROBNER-MEMBER" "GROBNER-SUBSETP"
64 "IDEAL-INTERSECTION" "IDEAL-POLYSATURATION"
65 "IDEAL-POLYSATURATION-1" "IDEAL-SATURATION" "IDEAL-SATURATION-1"
66 "MINIMIZATION" "REDUCTION"
67
68 ;;
69 ;; Low-level functions
70 ;;
71 "COERCE-COEFF" "MAKE-POLY-FROM-TERMLIST" "MAKE-POLY-ZERO" "MAKE-RING" "MAKE-TERM"
72 "MAKE-VARIABLE"
73 "MONOM-EXPONENTS" "POLY-CONTENT" "POLY-DEPENDS-P"
74 "POLY-PRIMITIVE-PART"
75 "POLYSATURATION-EXTENSION" "POLY-TERMLIST"
76 "RING-UNIT" "SATURATION-EXTENSION"
77 "SPOLY" "$POLY_ELIMINATION_ORDER"
78 "TERM-COEFF" "TERM-MONOM" "MAKELIST-1" "MAKELIST"
79 "MAKE-MONOM" "LEX>" "GRLEX>" "GREVLEX>" "REVLEX>" "INVLEX>"
80 "ELIMINATION-ORDER" "ELIMINATION-ORDER-1"
81 "*PRIMARY-ELIMINATION-ORDER*"
82 "*SECONDARY-ELIMINATION-ORDER*"
83 "*ELIMINATION-ORDER*"
84))
85
86(in-package :ngrobner)
87
88(defun compile-ngrobner ()
89 "Compile/load NGROBNER package files without ASDF. The order of files is
90 important!"
91 (dolist (file '("ngrobner-package" "utils" "ngrobner" "monomial"
92 "order" "term" "termlist" "polynomial" "priority-queue"
93 "pair-queue" "division" "criterion" "buchberger" "gebauer-moeller"
94 "gb-postprocessing" "ideal"))
95 (compile-file file :verbose t :print t)))
96
Note: See TracBrowser for help on using the repository browser.