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 2918 for branches


Ignore:
Timestamp:
2015-06-21T12:46:31-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r2917 r2918  
    221221    ;; If p= p0+p1 and q=q0+q1 then p*q=p0*q0+p0*q1+p1*q
    222222    ((endp (cdr p))
    223      (multiply-term-by-termlist-dropping-zeros (car p) q)
    224      ((endp (cdr q))
    225       (multiply-term-by-termlist-dropping-zeros (car q) p t)
    226       (t
    227        (nconc (multiply-terms (car p) (car q))
    228               (tail (add-termlists
    229                      (multiply-term-by-termlist-dropping-zeros (car p) (cdr q))
    230                      (multiply-termlists (cdr p) q)
    231                      order-fn))))))))
     223     (multiply-term-by-termlist-dropping-zeros (car p) q))
     224    ((endp (cdr q))
     225     (multiply-term-by-termlist-dropping-zeros (car q) p t)
     226     (t
     227      (nconc (multiply-terms (car p) (car q))
     228             (tail (add-termlists
     229                    (multiply-term-by-termlist-dropping-zeros (car p) (cdr q))
     230                    (multiply-termlists (cdr p) q)
     231                    order-fn)))))))
    232232#|
    233233
Note: See TracChangeset for help on using the changeset viewer.