- Timestamp:
- 2016-06-04T22:10:49-07:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/rational-field.lisp
r4297 r4298 30 30 "UNARY-MINUS" 31 31 "UNARY-INVERSE" 32 "UNIVERSAL-GCD"33 "UNIVERSAL-EZGCD"34 32 "UNIVERSAL-EQUALP" 35 33 "UNIVERSAL-ZEROP" … … 107 105 (zerop value))) 108 106 109 (defmethod universal-gcd ((self rational-field) (other rational-field))110 (make-instance 'rational-field :value 1))111 112 113 (defmethod universal-ezgcd ((object rational-field) (other rational-field))114 (values (make-instance 'rational-field :value 1)115 (copy-instance object)116 (copy-instance other)))117 118 107 (defmethod universal-equalp ((self rational-field) (other rational-field)) 119 108 (with-slots (value)
Note:
See TracChangeset
for help on using the changeset viewer.