- Timestamp:
- 2015-06-20T19:17:35-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r2754 r2755 102 102 103 103 104 (defmacro fast-add/subtract (p q order-fn add/subtract-fun 105 &optional 106 (uminus-fun nil uminus-fun-supplied-p)) 107 "Return an expression which will efficiently of two polynomials. Implements an efficient 104 (defmacro fast-add/subtract (p q order-fn 105 add/subtract-method-name 106 &optional (uminus-method-name nil uminus-method-name-supplied-p)) 107 "Return an expression which will efficiently adds/subtracts two 108 polynomials, P and Q. The addition/subtraction of coefficients is 109 performed by calling ADD/SUBTRACT-METHOD-NAME. If UMINUS-METHOD-NAME 110 is supplied, it is used to negate the coefficients of Q which do not 111 have a corresponding coefficient in P. The code implements an efficient 108 112 algorithm to add two polynomials represented as sorted lists of 109 113 terms. This function destroys both arguments, reusing the terms to
Note:
See TracChangeset
for help on using the changeset viewer.