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

Commit c227dad

Browse files
committed
30518: additional test for eigenvectors over nf
1 parent 6430356 commit c227dad

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/sage/matrix/matrix2.pyx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6590,6 +6590,12 @@ cdef class Matrix(Matrix1):
65906590
doctest:...: DeprecationWarning: "extend" should be used as keyword argument
65916591
See https://trac.sagemath.org/29243 for details.
65926592
[]
6593+
6594+
Check :trac:`30518`::
6595+
6596+
sage: K.<i> = QuadraticField(-1)
6597+
sage: m = matrix(K, 4, [2,4*i,-i,0, -4*i,2,-1,0, 2*i,-2,0,0, 4*i+4, 4*i-4,1-i,-2])
6598+
sage: assert all(m*v == e*v for e, vs, _ in m.eigenvectors_right() for v in vs)
65936599
"""
65946600
if other is not None:
65956601
if isinstance(other, bool):

0 commit comments

Comments
 (0)