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 ebe0046 commit 2319de6Copy full SHA for 2319de6
linear_algebra/matrix_inversion.py
@@ -12,7 +12,7 @@ def invert_matrix(matrix: list[list[float]]) -> list[list[float]]:
12
list[list[float]]: Inverted matrix if invertible, else raises error.
13
14
>>> invert_matrix([[4.0, 7.0], [2.0, 6.0]])
15
- [[0.6000000000000001, -0.7000000000000001], [-0.2, 0.4]]
+ [[0.6, -0.7000000000000001], [-0.2, 0.4]]
16
>>> invert_matrix([[1.0, 2.0], [0.0, 0.0]])
17
Traceback (most recent call last):
18
...
0 commit comments