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


Ignore:
Timestamp:
2016-06-04T22:10:49-07:00 (8 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/rational-field.lisp

    r4297 r4298  
    3030           "UNARY-MINUS"
    3131           "UNARY-INVERSE"
    32            "UNIVERSAL-GCD"
    33            "UNIVERSAL-EZGCD"
    3432           "UNIVERSAL-EQUALP"
    3533           "UNIVERSAL-ZEROP"
     
    107105    (zerop value)))
    108106
    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 
    118107(defmethod universal-equalp ((self rational-field) (other rational-field))
    119108  (with-slots (value)
Note: See TracChangeset for help on using the changeset viewer.