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.

Changeset 2755 for branches/f4grobner


Ignore:
Timestamp:
2015-06-20T19:17:35-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r2754 r2755  
    102102
    103103
    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
     108polynomials, P and Q.  The addition/subtraction of coefficients is
     109performed by calling ADD/SUBTRACT-METHOD-NAME.  If UMINUS-METHOD-NAME
     110is supplied, it is used to negate the coefficients of Q which do not
     111have a corresponding coefficient in P. The code implements an efficient
    108112algorithm to add two polynomials represented as sorted lists of
    109113terms. This function destroys both arguments, reusing the terms to
Note: See TracChangeset for help on using the changeset viewer.