- Timestamp:
- 2015-06-15T18:01:00-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r1847 r1904 108 108 109 109 ;; Leading monomial 110 (defun poly-lm (p) (term-monom (poly-lt p))) 110 (defun poly-lm (p) 111 (declare (type poly p)) 112 (term-monom (poly-lt p))) 111 113 112 114 ;; Second monomial 113 (defun poly-second-lm (p) (term-monom (poly-second-lt p))) 115 (defun poly-second-lm (p) 116 (declare (type poly p)) 117 (term-monom (poly-second-lt p))) 114 118 115 119 ;; Leading coefficient 116 (defun poly-lc (p) (term-coeff (poly-lt p))) 120 (defun poly-lc (p) 121 (declare (type poly p)) 122 (term-coeff (poly-lt p))) 117 123 118 124 ;; Second coefficient 119 (defun poly-second-lc (p) (term-coeff (poly-second-lt p))) 125 (defun poly-second-lc (p) 126 (declare (type poly p)) 127 (term-coeff (poly-second-lt p))) 120 128 121 129 ;; Testing for a zero polynomial 122 (defun poly-zerop (p) (null (poly-termlist p))) 130 (defun poly-zerop (p) 131 (declare (type poly p)) 132 (null (poly-termlist p))) 123 133 124 134 ;; The number of terms
Note:
See TracChangeset
for help on using the changeset viewer.