Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
fixed doc indent
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Kliem committed Jan 27, 2020
1 parent 29f9ebe commit cfd9b1a
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions src/sage/matrix/matrix2.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -3682,23 +3682,23 @@ cdef class Matrix(Matrix1):

For inexact rings one should avoid echolonizing if possible::

sage: A = Matrix(
....: [[ 0.0, 0.5, 0.8090169944],
....: [ 0.0, 0.5, -0.8090169944],
....: [ 0.0, -0.5, 0.8090169944],
....: [ 0.0, -0.5, -0.8090169944],
....: [ 0.5, 0.8090169944, 0.0],
....: [ 0.5, -0.8090169944, 0.0],
....: [ -0.5, 0.8090169944, 0.0],
....: [ -0.5, -0.8090169944, 0.0],
....: [ 0.8090169944, 0.0, 0.5],
....: [-0.8090169944, 0.0, 0.5],
....: [ 0.8090169944, 0.0, -0.5],
....: [-0.8090169944, 0.0, -0.5]]).transpose()
sage: (A*A.right_kernel_matrix().transpose()).norm() > 2
True
sage: (A*A.right_kernel_matrix(basis='computed').transpose()).norm() < 1e-15
True
sage: A = Matrix(
....: [[ 0.0, 0.5, 0.8090169944],
....: [ 0.0, 0.5, -0.8090169944],
....: [ 0.0, -0.5, 0.8090169944],
....: [ 0.0, -0.5, -0.8090169944],
....: [ 0.5, 0.8090169944, 0.0],
....: [ 0.5, -0.8090169944, 0.0],
....: [ -0.5, 0.8090169944, 0.0],
....: [ -0.5, -0.8090169944, 0.0],
....: [ 0.8090169944, 0.0, 0.5],
....: [-0.8090169944, 0.0, 0.5],
....: [ 0.8090169944, 0.0, -0.5],
....: [-0.8090169944, 0.0, -0.5]]).transpose()
sage: (A*A.right_kernel_matrix().transpose()).norm() > 2
True
sage: (A*A.right_kernel_matrix(basis='computed').transpose()).norm() < 1e-15
True

Trivial Cases:

Expand Down

0 comments on commit cfd9b1a

Please sign in to comment.