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


Ignore:
Timestamp:
2015-06-18T16:27:00-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/5am-monom.lisp

    r2290 r2291  
    5555  "monom"
    5656  (let ((z (make-instance 'monom  :dimension 3))
    57         (m (make-instance 'monom  :dimension 3 :initial-exponents '(1 2 3)))
    58         (n (make-instance 'monom  :dimension 3 :initial-exponents '(4 5 6)))
    59         (m*n (make-instance 'monom  :dimension 3 :initial-exponents '(5 7 9)))
    60         (n/m (make-instance 'monom  :dimension 3 :initial-exponents '(3 3 3)))
    61         (m-tensor-n (make-instance 'monom  :initial-exponents '(1 2 3 4 5 6))))
     57        (m (make-instance 'monom  :dimension 3 :exponents '(1 2 3)))
     58        (n (make-instance 'monom  :dimension 3 :exponents '(4 5 6)))
     59        (m*n (make-instance 'monom  :dimension 3 :exponents '(5 7 9)))
     60        (n/m (make-instance 'monom  :dimension 3 :exponents '(3 3 3)))
     61        (m-tensor-n (make-instance 'monom  :exponents '(1 2 3 4 5 6))))
    6262    (is (= (r-dimension m) 3))
    6363    (is (= (r-elt m 2) 3))
     
    7070    (signals
    7171        (error "INITIAL-EXPONENTS must have length DIMENSION")
    72       (make-instance 'monom  :dimension 3 :initial-exponents '(1 2 3 4 5 6)))
     72      (make-instance 'monom  :dimension 3 :exponents '(1 2 3 4 5 6)))
    7373    (is-true (r-divides-p m n))
    7474    (is-false (r-divides-p n m))
Note: See TracChangeset for help on using the changeset viewer.