We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d834b9 commit 7795d55Copy full SHA for 7795d55
src/sage/tests/books/computational-mathematics-with-sagemath/linsolve_doctest.py
@@ -20,7 +20,7 @@
20
....: A = matrix(QQ, [[1/(i+j-1) for j in [1..n]] for i in [1..n]])
21
....: y = A*x
22
....: A[n-1,n-1] = (1/(2*n-1))*(1+1/(10^5)) # modifies the matrix
23
- ....: s = A\y
+ ....: s = A.solve_right(y)
24
....: return max(abs(float(s[i]-x[i])) for i in range(0,n))
25
26
Sage example in ./linsolve.tex, line 396::
0 commit comments