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

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

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

<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 />

• the 0x3 <strong>and</strong> 3x0 matrices<br />

• the 1x1 null matrix [0]<br />

• the 1x1 identity matrix [1]<br />

If checkrank is False then the rank is not checked. This is used the check matrix over ring where echelon<br />

form is not implemented.<br />

TODO: must be adapted to category check framework when ready (see trac #5274).<br />

TESTS:<br />

sage: from sage.matrix.matrix_space import test_trivial_matrices_inverse as tinv<br />

sage: tinv(ZZ, sparse=True)<br />

sage: tinv(ZZ, sparse=False)<br />

sage: tinv(QQ, sparse=True)<br />

sage: tinv(QQ, sparse=False)<br />

sage: tinv(GF(11), sparse=True)<br />

sage: tinv(GF(11), sparse=False)<br />

sage: tinv(GF(2), sparse=True)<br />

sage: tinv(GF(2), sparse=False)<br />

sage: tinv(SR, sparse=True)<br />

sage: tinv(SR, sparse=False)<br />

sage: tinv(RDF, sparse=True)<br />

sage: tinv(RDF, sparse=False)<br />

sage: tinv(CDF, sparse=True)<br />

sage: tinv(CDF, sparse=False)<br />

sage: tinv(CyclotomicField(7), sparse=True)<br />

sage: tinv(CyclotomicField(7), sparse=False)<br />

sage: tinv(QQ[’x,y’], sparse=True)<br />

sage: tinv(QQ[’x,y’], sparse=False)<br />

14 Chapter 1. Matrix <strong>Spaces</strong>

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

Saved successfully!

Ooh no, something went wrong!