08.02.2015 Views

Sage Reference Manual: Matrices and Spaces of Matrices - Mirrors

Sage Reference Manual: Matrices and Spaces of Matrices - Mirrors

Sage Reference Manual: Matrices and Spaces of Matrices - Mirrors

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Sage</strong> <strong>Reference</strong> <strong>Manual</strong>: <strong>Matrices</strong> <strong>and</strong> <strong>Spaces</strong> <strong>of</strong> <strong>Matrices</strong>, Release 6.1.1<br />

sage: A._multiply_classical(B) == A._multiply_strassen(B, 3) #indirect doctest<br />

True<br />

AUTHORS:<br />

•David Harvey<br />

•Simon King (2011-07): Improve memory efficiency; trac ticket #11610<br />

sage.matrix.strassen.test(n, m, R, c=2)<br />

INPUT:<br />

•n - integer<br />

•m - integer<br />

•R - ring<br />

•c - integer (optional, default:2)<br />

EXAMPLES:<br />

sage: from sage.matrix.strassen import test<br />

sage: for n in range(5): print n, test(2*n,n,Frac(QQ[’x’]),2)<br />

0 True<br />

1 True<br />

2 True<br />

3 True<br />

4 True<br />

274 Chapter 8. Generic Asymptotically Fast Strassen Algorithms

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!