Changeset 2303 for branches/f4grobner
- Timestamp:
- 2015-06-18T17:24:04-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/5am-monom.lisp
r2302 r2303 52 52 (in-suite monom-suite) 53 53 54 (def-fixture monom-context (& bodybody)55 56 (m (make-instance 'monom :dimension 3 :exponents '(1 2 3)))57 (n (make-instance 'monom :dimension 3 :exponents '(4 5 6)))58 (m*n (make-instance 'monom :dimension 3 :exponents '(5 7 9)))59 (n/m (make-instance 'monom :dimension 3 :exponents '(3 3 3)))60 (m-tensor-n (make-instance 'monom :exponents '(1 2 3 4 5 6))))61 54 (def-fixture monom-context (&rest body) 55 `(let ((z (make-instance 'monom :dimension 3)) 56 (m (make-instance 'monom :dimension 3 :exponents '(1 2 3))) 57 (n (make-instance 'monom :dimension 3 :exponents '(4 5 6))) 58 (m*n (make-instance 'monom :dimension 3 :exponents '(5 7 9))) 59 (n/m (make-instance 'monom :dimension 3 :exponents '(3 3 3))) 60 (m-tensor-n (make-instance 'monom :exponents '(1 2 3 4 5 6)))) 61 ,@body)) 62 62 63 63 (test monom-basics … … 66 66 (is (= (r-dimension m) 3)))) 67 67 68 #| 68 69 (test monom 69 70 "monom" … … 93 94 (error "Index out of bounds") 94 95 (r-depends-p m 3)))) 96 |# 95 97 96 98
Note:
See TracChangeset
for help on using the changeset viewer.