Changes between Initial Version and Version 14 of Ticket #15305


Ignore:
Timestamp:
11/05/13 23:15:34 (6 years ago)
Author:
tscrim
Comment:

New version timings

sage: %timeit S2(S.an_element())
1000 loops, best of 3: 316 us per loop
sage: %timeit S2(S.an_element())
1000 loops, best of 3: 317 us per loop
sage: %timeit S2(S.an_element())
1000 loops, best of 3: 321 us per loop

Although it returns a NotImplementedError when the coercion is not defined, which is the wrong kind of error, but at least it is an error. I'll see if I can fix this.

I found this funny:

sage -t free_module.py
    [666 tests, 1.09 s]

For patchbot:

Apply: trac_15305-coercion_tensor_products-ts.patch

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15305

    • Property Status changed from new to needs_review
    • Property Authors changed from Travis Scrimshaw to Travis Scrimshaw, Nicolas Borie
    • Property Cc nborie added
    • Property Dependencies changed from to #15309
    • Property Reviewers changed from to Nicolas Borie, Travis Scrimshaw
  • Ticket #15305 – Description

    initial v14  
    11Given modules `A1, A2, B1, B2` with coercions `A1 -> B1` and `A2 -> B2`, there is the natural coercion `A1 # A2 -> B1 # B2` as the tensor of the factor coercions. This ticket implements the above coercion as a natural coercion for `CombinatorialFreeModule_Tensor`.
     2
     3Apply: [attachment:trac_15305-coercion_tensor_products-ts.patch]