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@ 4302

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

* empty log message *

File size: 3.6 KB
Line 
1;;; -*- Mode: Lisp -*-
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
23;;
24;; Create the main Groebner Basis package.
25;;
26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
27
28(defpackage "NGROBNER"
29 (:use :cl
30 :copy
31 ;;:ring
32 :monom
33 ;;:order
34 ;;:ring-and-order
35 ;;:term
36 :infix
37 :infix-printer
38 :polynomial
39 ;;:grobner-debug
40 ;;:division
41 ;;:buchberger
42 ;;:gebauer-moeller
43 ;;:gb-postprocessing
44 ;;:ideal
45 ;;:utils
46 ;;:grobner-wrap
47 )
48 (:export
49 ;;
50 ;; Global symbols/switches usable at Maxima interpreter level
51 ;;
52 "$POLY_MONOMIAL_ORDER"
53 "$POLY_ELIMINATION_ORDER"
54 "$POLY_PRIMARY_ELIMINATION_ORDER"
55 "$POLY_PRIMARY_ELIMINATION_ORDER"
56 "$POLY_SECONDARY_ELIMINATION_ORDER"
57 "$POLY_RETURN_TERM_LIST"
58 "$POLY_COEFFICIENT_RING"
59 "$POLY_GROBNER_DEBUG" ;debugging switch
60 ;;
61 ;; Global variables
62 ;;
63 "*EXPRESSION-RING*"
64 "*ELIMINATION-ORDER*"
65 "*MONOMIAL-ORDER*"
66 "*PRIMARY-ELIMINATION-ORDER*"
67 "*SECONDARY-ELIMINATION-ORDER*"
68 "*RATDISREP-FUN*"
69 ;;
70 ;; Polynomial ring operations
71 ;; Note that some require Groebner basis.
72 ;;
73 "POLY-ADD" "POLY-SUB" "POLY-UMINUS"
74 "POLY-MUL" "POLY-EXPT"
75 "POLY-ZEROP" "POLY-LM" "POLY-LT"
76 "POLY-PSEUDO-DIVIDE"
77 "POLY-NORMALIZE" "POLY-NORMALIZE-LIST"
78 ;;
79 ;; High-level Groebner Basis related functions
80 ;;
81 "FIND-ORDER" "FIND-RING"
82 "NORMAL-FORM"
83 "POLY-EXACT-DIVIDE"
84 "COLON-IDEAL" "ELIMINATION-IDEAL"
85 "GROBNER"
86 "REDUCED-GROBNER"
87 "MINIMIZATION" "REDUCTION"
88 "POLY-LCM"
89 "GROBNER-EQUAL" "GROBNER-MEMBER" "GROBNER-SUBSETP"
90 "RING-INTERSECTION"
91 "IDEAL-INTERSECTION" "IDEAL-POLYSATURATION"
92 "IDEAL-POLYSATURATION-1" "IDEAL-SATURATION" "IDEAL-SATURATION-1"
93 "BUCHBERGER" "PARALLEL-BUCHBERGER" "GEBAUER-MOELLER" "BUCHBERGER-CRITERION"
94 ;;
95 ;; Low-level functions
96 ;;
97 "COERCE-COEFF" "COERCE-TO-INFIX" "MAKE-POLY-FROM-TERMLIST" "MAKE-POLY-ZERO"
98 "MAKE-RING" "MAKE-TERM" "MAKE-POLY-VARIABLE" "MAKE-RING-AND-ORDER" "RING-AND-ORDER"
99 "RO-RING" "RO-ORDER" "MONOM-EXPONENTS"
100 "POLY-CONTENT" "POLY-DEPENDS-P" "POLY-PRIMITIVE-PART"
101 "POLYSATURATION-EXTENSION" "POLY-TERMLIST" "RING-UNIT"
102 "SATURATION-EXTENSION" "SPOLY" "$POLY_ELIMINATION_ORDER" "TERM-COEFF"
103 "TERM-MONOM" "MAKELIST-1" "MAKELIST" "MAKE-MONOM" "LEX>" "GRLEX>"
104 "GREVLEX>" "REVLEX>" "INVLEX>" "ELIMINATION-ORDER"
105 "ELIMINATION-ORDER-1" "*PRIMARY-ELIMINATION-ORDER*"
106 "*SECONDARY-ELIMINATION-ORDER*" "*ELIMINATION-ORDER*"
107 "INFIX-PRINT" "+RING-OF-INTEGERS+" "MONOM->LIST"
108 ))
Note: See TracBrowser for help on using the repository browser.