10.08.2013 Views

Exact Linear Algebra for SAGE - William Stein - University of ...

Exact Linear Algebra for SAGE - William Stein - University of ...

Exact Linear Algebra for SAGE - William Stein - University of ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Echelon Forms <strong>of</strong> Matrices<br />

Computing Echelon Forms<br />

Decomposing Spaces Under the Action <strong>of</strong> Matrix<br />

Echelon Form Example<br />

Example<br />

sage: A = MatrixSpace(QQ,2000,2000, sparse=True).random_element<br />

sage: time B = A.echelon_<strong>for</strong>m()<br />

CPU time: 1.19 s, Wall time: 1.42 s<br />

sage: A = MatrixSpace(QQ,2000,2100, sparse=True).random_element<br />

sage: set_verbose(2)<br />

sage: time B = A.echelon_<strong>for</strong>m(height_guess=100)<br />

verbose 2 (2969: matrix.py, echelon_<strong>for</strong>m) height_guess = 100<br />

verbose 2 (2969: matrix.py, echelon_<strong>for</strong>m) echelon modulo p=2001<br />

verbose 2 (2969: matrix.py, echelon_<strong>for</strong>m) time to reduce matrix<br />

verbose 1 (2969: matrix.py, sparse_matrix_pyx matrix_modint ech<br />

verbose 2 (2969: matrix.py, echelon_<strong>for</strong>m) time to put reduced m<br />

....<br />

CPU time: 15.79 s<br />

<strong>William</strong> <strong>Stein</strong> <strong>Exact</strong> <strong>Linear</strong> <strong>Algebra</strong> <strong>for</strong> <strong>SAGE</strong>

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

Saved successfully!

Ooh no, something went wrong!