@@ -778,15 +778,15 @@ cdef class Matrix(Matrix1):
778
778
A degenerate case::
779
779
780
780
sage: A = matrix(RDF, 0, 0, [])
781
- sage: A.solve_right(vector(RDF,[]))
781
+ sage: A.solve_right(vector(RDF,[])) # needs scipy
782
782
()
783
783
784
784
Over an inexact ring like ``RDF``, the coefficient matrix of a
785
785
square system must be nonsingular::
786
786
787
787
sage: A = matrix(RDF, 5, range(25))
788
788
sage: b = vector(RDF, [1,2,3,4,5])
789
- sage: A.solve_right(b)
789
+ sage: A.solve_right(b) # needs scipy
790
790
Traceback (most recent call last):
791
791
...
792
792
LinAlgError: Matrix is singular.
@@ -795,7 +795,7 @@ cdef class Matrix(Matrix1):
795
795
796
796
sage: A = matrix(RDF, 5, range(25))
797
797
sage: b = vector(RDF, [1,2,3,4])
798
- sage: A.solve_right(b)
798
+ sage: A.solve_right(b) # needs sage.rings.finite_rings
799
799
Traceback (most recent call last):
800
800
...
801
801
ValueError: number of rows of self must equal degree of
@@ -1768,7 +1768,7 @@ cdef class Matrix(Matrix1):
1768
1768
1769
1769
Although it is not too far off::
1770
1770
1771
- sage: (~M - M.pseudoinverse(algorithm='numpy')).norm() < 1e-14 # needs numpy
1771
+ sage: (~M - M.pseudoinverse(algorithm='numpy')).norm() < 1e-14 # needs scipy
1772
1772
True
1773
1773
1774
1774
TESTS::
@@ -7359,7 +7359,7 @@ cdef class Matrix(Matrix1):
7359
7359
7360
7360
The following example shows that :issue:`12595` has been resolved::
7361
7361
7362
- sage: # needs sage.rings.complex_double
7362
+ sage: # needs scipy sage.rings.complex_double
7363
7363
sage: m = Matrix(CDF, 8, [[-1, -1, -1, -1, 1, -3, -1, -1],
7364
7364
....: [1, 1, 1, 1, -1, -1, 1, -3],
7365
7365
....: [-1, 3, -1, -1, 1, 1, -1, -1],
0 commit comments