#16116: Multiplication of dense cyclotomic matrices should be faster
-------------------------------------------------+-------------------------
Reporter: jipilab | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-7.0
Component: number fields | Resolution:
Keywords: cyclotomic field, matrix, | Merged in:
multiplication, benchmark, days57 | Reviewers:
Authors: | Work issues:
Report Upstream: N/A | Commit:
Branch: | Stopgaps:
Dependencies: |
-------------------------------------------------+-------------------------
Changes (by tscrim):
* milestone: sage-6.9 => sage-7.0
Comment:
It seems that matrix multiplication over the universal cyclotomic field is
on the same order as the polynomial ring (probably because it uses the
generic matrix class):
{{{
sage: %timeit m * m
1000 loops, best of 3: 224 µs per loop
sage: %timeit elmt * elmt
1000 loops, best of 3: 207 µs per loop
}}}
However for UCF matrices, I'm thinking we might benefit from either using
(lib)GAP's matrix multiplication or internally storing the GAP element and
only converting it to a Sage UCF element as necessary. See #19821 for a
use-case.
--
Ticket URL: <http://trac.sagemath.org/ticket/16116#comment:17>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.