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 2057 for branches/f4grobner


Ignore:
Timestamp:
2015-06-17T18:53:39-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/ring.lisp

    r2056 r2057  
    113113    (values c (/ x c) (/ y c))))
    114114
    115 (defgeneric ring-gcd (x y)
     115(defgeneric gcd (x y)
    116116  (:method ((x integer) (y integer))
    117117    (gcd x y)))
    118118
    119 (defgeneric ring-dimension (object)
     119(defgeneric dimension (object)
    120120  (:method ((object integer)) 1))
    121121
    122 (defgeneric ring-divides-p (object1 object2)
     122(defgeneric divides-p (object1 object2)
     123  "Returns T if OBJECT1 divides OBJECT2"
    123124  (:method ((object1 integer) (object2 integer))
    124125    (zerop (rem object2 object1))))
Note: See TracChangeset for help on using the changeset viewer.