#9562: Add M4RIE to Sage
-------------------------------+--------------------------------------------
Reporter: malb | Owner: tbd
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.0
Component: packages | Keywords: m4ri
Work_issues: | Upstream: None of the above - read trac
for reasoning.
Reviewer: Paul Zimmermann | Author: Martin Albrecht
Merged: | Dependencies:
-------------------------------+--------------------------------------------
Comment(by kcrisman):
Okay, it ''did'' finally finish!
{{{
checking for cache sizes...
s: 4, rx: 0.20, x: 0.20, wt: 0.20, dx: NaN
s: 8, rx: 0.38, x: 0.38, wt: 0.38, dx: 0.96
s: 16, rx: 0.39, x: 0.79, wt: 0.39, dx: 1.03
s: 32, rx: 0.46, x: 1.83, wt: 0.46, dx: 1.16
s: 64, rx: 0.49, x: 3.92, wt: 0.49, dx: 1.07
s: 128, rx: 0.57, x: 9.17, wt: 0.57, dx: 1.17
s: 256, rx: 0.63, x: 40.57, wt: 0.64, dx: 2.21
s: 512, rx: 1.17, x: 300.03, wt: 1.18, dx: 3.70
s: 4, rx: 0.19, x: 0.19, wt: 0.19, dx: NaN
s: 8, rx: 0.38, x: 0.38, wt: 0.38, dx: 1.01
s: 16, rx: 0.42, x: 0.83, wt: 0.42, dx: 1.10
s: 32, rx: 0.44, x: 1.78, wt: 0.44, dx: 1.06
s: 64, rx: 0.50, x: 4.00, wt: 0.50, dx: 1.13
s: 128, rx: 0.46, x: 14.83, wt: 0.46, dx: 1.85
s: 256, rx: 0.99, x: 63.40, wt: 0.99, dx: 2.14
s: 512, rx: 1.21, x: 310.35, wt: 1.22, dx: 2.45
s: 4, rx: 0.17, x: 0.17, wt: 0.17, dx: NaN
s: 8, rx: 0.39, x: 0.39, wt: 0.39, dx: 1.14
s: 16, rx: 0.43, x: 0.87, wt: 0.43, dx: 1.11
s: 32, rx: 0.43, x: 1.73, wt: 0.43, dx: 1.00
s: 64, rx: 0.47, x: 3.74, wt: 0.47, dx: 1.08
s: 128, rx: 0.60, x: 9.58, wt: 0.60, dx: 1.28
s: 256, rx: 0.56, x: 36.13, wt: 0.57, dx: 1.89
s: 512, rx: 1.25, x: 320.55, wt: 1.26, dx: 4.44
s: 4, rx: 0.21, x: 0.21, wt: 0.21, dx: NaN
s: 8, rx: 0.39, x: 0.39, wt: 0.39, dx: 0.94
s: 16, rx: 0.43, x: 0.85, wt: 0.43, dx: 1.10
s: 32, rx: 0.44, x: 1.74, wt: 0.44, dx: 1.02
s: 64, rx: 0.48, x: 3.87, wt: 0.48, dx: 1.11
s: 128, rx: 0.59, x: 9.39, wt: 0.59, dx: 1.21
s: 256, rx: 0.63, x: 40.42, wt: 0.63, dx: 2.15
s: 512, rx: 1.16, x: 297.41, wt: 1.17, dx: 3.68
s: 4, rx: 0.19, x: 0.19, wt: 0.19, dx: NaN
s: 8, rx: 0.39, x: 0.39, wt: 0.39, dx: 1.01
s: 16, rx: 0.41, x: 0.82, wt: 0.41, dx: 1.04
s: 32, rx: 0.42, x: 1.69, wt: 0.42, dx: 1.04
s: 64, rx: 0.48, x: 3.81, wt: 0.48, dx: 1.13
s: 128, rx: 0.59, x: 9.40, wt: 0.59, dx: 1.23
s: 256, rx: 0.73, x: 46.75, wt: 0.73, dx: 2.49
s: 512, rx: 1.20, x: 306.20, wt: 1.20, dx: 3.27
s: 512, rx: 20.54, x: 20.54, wt: 20.54, dx: NaN
s: 1024, rx: 68.61, x: 68.61, wt: 68.63, dx: 1.67
s: 1536, rx: 0.24, x: 124.21, wt: 0.26, dx: 1.21
s: 2048, rx: 0.18, x: 182.39, wt: 0.20, dx: 1.10
s: 3072, rx: 0.30, x: 303.95, wt: 0.32, dx: 1.11
s: 4096, rx: 0.24, x: 487.92, wt: 0.28, dx: 1.20
s: 6144, rx: 0.19, x: 793.79, wt: 0.25, dx: 1.08
s: 8192, rx: 0.00, x: 0.38, wt: 0.08, dx: 0.00
s: 16384, rx: 0.00, x: 0.31, wt: 0.19, dx: 0.41
s: 32768, rx: 0.00, x: 0.37, wt: 0.32, dx: 0.59
s: 512, rx: 18.06, x: 18.06, wt: 18.07, dx: NaN
s: 1024, rx: 68.43, x: 68.43, wt: 68.43, dx: 1.89
s: 1536, rx: 0.24, x: 125.17, wt: 0.26, dx: 1.22
s: 2048, rx: 0.17, x: 169.91, wt: 0.18, dx: 1.02
s: 3072, rx: 0.31, x: 318.15, wt: 0.34, dx: 1.25
s: 4096, rx: 0.22, x: 444.11, wt: 0.26, dx: 1.05
s: 6144, rx: 0.20, x: 803.39, wt: 0.26, dx: 1.21
s: 8192, rx: 0.00, x: 0.30, wt: 0.08, dx: 0.00
s: 16384, rx: 0.00, x: 0.38, wt: 0.15, dx: 0.62
s: 32768, rx: 0.00, x: 0.31, wt: 0.31, dx: 0.41
s: 512, rx: 17.85, x: 17.85, wt: 17.86, dx: NaN
s: 1024, rx: 68.59, x: 68.59, wt: 68.60, dx: 1.92
s: 1536, rx: 0.26, x: 131.07, wt: 0.27, dx: 1.27
s: 2048, rx: 0.18, x: 182.17, wt: 0.20, dx: 1.04
s: 3072, rx: 0.32, x: 323.67, wt: 0.34, dx: 1.18
s: 4096, rx: 0.22, x: 444.65, wt: 0.26, dx: 1.03
s: 6144, rx: 0.19, x: 788.59, wt: 0.25, dx: 1.18
s: 8192, rx: 0.29, x: 1203.62, wt: 0.38, dx: 1.14
s: 16384, rx: 0.00, x: 0.35, wt: 0.16, dx: 0.00
s: 32768, rx: 0.00, x: 0.35, wt: 0.33, dx: 0.50
s: 512, rx: 17.39, x: 17.39, wt: 17.40, dx: NaN
s: 1024, rx: 68.02, x: 68.02, wt: 68.03, dx: 1.96
s: 1536, rx: 0.24, x: 123.60, wt: 0.26, dx: 1.21
s: 2048, rx: 0.17, x: 178.99, wt: 0.19, dx: 1.09
s: 3072, rx: 0.29, x: 301.11, wt: 0.32, dx: 1.12
s: 4096, rx: 0.24, x: 501.66, wt: 0.28, dx: 1.25
s: 6144, rx: 0.19, x: 796.99, wt: 0.25, dx: 1.06
s: 8192, rx: 0.28, x: 1141.88, wt: 0.36, dx: 1.07
s: 16384, rx: 0.00, x: 0.36, wt: 0.15, dx: 0.00
s: 32768, rx: 0.00, x: 0.37, wt: 0.31, dx: 0.51
s: 512, rx: 19.65, x: 19.65, wt: 19.66, dx: NaN
s: 1024, rx: 68.37, x: 68.37, wt: 68.38, dx: 1.74
s: 1536, rx: 0.23, x: 119.48, wt: 0.26, dx: 1.16
s: 2048, rx: 0.20, x: 202.14, wt: 0.22, dx: 1.27
s: 3072, rx: 0.29, x: 299.73, wt: 0.32, dx: 0.99
s: 4096, rx: 0.22, x: 441.61, wt: 0.26, dx: 1.11
s: 6144, rx: 0.19, x: 795.29, wt: 0.25, dx: 1.20
s: 8192, rx: 0.28, x: 1141.73, wt: 0.35, dx: 1.08
s: 16384, rx: 0.00, x: 0.35, wt: 0.16, dx: 0.00
s: 32768, rx: 0.00, x: 0.35, wt: 0.32, dx: 0.50
262144:524288
}}}
----
Doctest failure:
{{{
sage: A.pivots() # indirect doctest
Expected:
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
Got:
(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
}}}
Series of failures, for all such doctests:
{{{
AttributeError: 'sage.matrix.matrix_mod2e_dense.Matrix_mod2e_dense'
object has no attribute '_multiply_classical'
}}}
Is something not inheriting properly? This method seems to be defined in
Sage, and similar doctests in the rest of the matrix/ folder pass (in
fact, all other tests in crypto and matrix pass other than one unrelated
one from something I did on this installation).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9562#comment:37>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.