improve scalar multiplication for mzed_t

Issue #9 resolved
Martin Albrecht repo owner created an issue

{{{

!python

sage: MS = MatrixSpace(GF(64,'a'),5000,5000)
sage: K = MS.base_ring()
sage: c = K.random_element()
sage: A = MS.random_element()
sage: %time Ac
CPU times: user 0.68 s, sys: 0.02 s, total: 0.70 s
Wall time: 0.71 s
5000 x 5000 dense matrix over Finite Field in a of size 2^6
sage: MS1 = MatrixSpace(GF(64,'a'),1,5000)
sage: B = MS1.random_element()
sage: %timeit B
c
625 loops, best of 3: 88.3 µs per loop
}}}

This is too slow, cf. http://trac.sagemath.org/sage_trac/ticket/9562

Comments (2)

  1. Log in to comment