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


Ignore:
Timestamp:
2015-06-21T16:51:35-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

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

    r3041 r3042  
    163163    (is (r-equalp (copy-instance term) term))))
    164164
     165(test term-tensor-product
     166  "Term tensor product"
     167  (let ((term1 (make-instance 'term :exponents '(1 2 3) :coeff 4))
     168        (term2 (make-instance 'term :exponents '(4 5) :coeff 3))
     169        (term1-left-tensor-by-term2 (make-instance 'term :exponents '(1 2 3 4 5) :coeff 12)))
     170    (is (r-equalp (left-tensor-product-by term1 term2) term1-left-tensor-by-term2))))
     171
    165172(test term-contract
    166173  "Term contract"
Note: See TracChangeset for help on using the changeset viewer.