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


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

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/ring.lisp

    r2057 r2058  
    8787|#
    8888
    89 (defgeneric ring-parse (object)
     89(defgeneric parse (object)
    9090  (:method ((object t)) object))
    9191
    92 (defgeneric ring-unit-for (object)
     92(defgeneric unit-for (object)
    9393  (:method ((self number)) 1))
    9494
    95 (defgeneric ring-zerop (object)
     95(defgeneric zerop (object)
    9696  (:method ((self number)) (zerop self)))
    9797
    98 (defgeneric ring-add (x y)
     98(defgeneric add (x y)
    9999  (:method ((x number) (y number)) (+ x y)))
    100100
    101 (defgeneric ring-mul (x y)
     101(defgeneric mul (x y)
    102102  (:method ((x number) (y number)) (* x y)))
    103103
    104 (defgeneric ring-div (x y)
     104(defgeneric div (x y)
    105105  (:method ((x number) (y number)) (/ x y)))
    106106
    107 (defgeneric ring-lcm (x y)
     107(defgeneric lcm (x y)
    108108  (:method ((x integer) (y integer)) (lcm x y)))
    109109
    110 (defgeneric ring-ezgcd (x y)
     110(defgeneric ezgcd (x y)
    111111  (:method ((x integer) (y integer)
    112112            &aux (c (gcd x y)))
Note: See TracChangeset for help on using the changeset viewer.