12.07.2015 Views

Sage Reference Manual: Matrices and Spaces of Matrices

Sage Reference Manual: Matrices and Spaces of Matrices

Sage Reference Manual: Matrices and Spaces of Matrices

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.2ValueError: received an unexpected keyword: col2=3sage: E = elementary_matrix(QQ, row1=3, scale=12)Traceback (most recent call last):...ValueError: size <strong>of</strong> elementary matrix must be givensage: E = elementary_matrix(ZZ, 4/3, row1=3, row2=1, scale=12)Traceback (most recent call last):...TypeError: size <strong>of</strong> elementary matrix must be an integer, not 4/3sage: E = elementary_matrix(ZZ, -3, row1=3, row2=1, scale=12)Traceback (most recent call last):...ValueError: size <strong>of</strong> elementary matrix must be 1 or greater, not -3sage: E = elementary_matrix(ZZ, 5, row2=1, scale=12)Traceback (most recent call last):...ValueError: row1 or col1 must be specifiedsage: E = elementary_matrix(ZZ, 5, row1=3, col1=3, scale=12)Traceback (most recent call last):...ValueError: cannot specify both row1 <strong>and</strong> col1sage: E = elementary_matrix(ZZ, 5, row1=4/3, row2=1, scale=12)Traceback (most recent call last):...TypeError: row <strong>of</strong> elementary matrix must be an integer, not 4/3sage: E = elementary_matrix(ZZ, 5, col1=5, col2=1, scale=12)Traceback (most recent call last):...ValueError: column <strong>of</strong> elementary matrix must be positive <strong>and</strong> smaller than 5, not 5sage: E = elementary_matrix(ZZ, 5, col1=3, col2=4/3, scale=12)Traceback (most recent call last):...TypeError: column <strong>of</strong> elementary matrix must be an integer, not 4/3sage: E = elementary_matrix(ZZ, 5, row1=3, row2=-1, scale=12)Traceback (most recent call last):...ValueError: row <strong>of</strong> elementary matrix must be positive <strong>and</strong> smaller than 5, not -1sage: E = elementary_matrix(ZZ, 5, row1=3, row2=1, scale=4/3)Traceback (most recent call last):...TypeError: scale parameter <strong>of</strong> elementary matrix must an element <strong>of</strong> Integer Ring, not 4/3sage: E = elementary_matrix(ZZ, 5, row1=3)Traceback (most recent call last):...ValueError: insufficient parameters provided to construct elementary matrixsage: E = elementary_matrix(ZZ, 5, row1=3, row2=3, scale=12)35

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

Saved successfully!

Ooh no, something went wrong!