... | @@ -7,4 +7,8 @@ Thus, the diagonal elements of the above inner product must be equal to 1 (or ne |
... | @@ -7,4 +7,8 @@ Thus, the diagonal elements of the above inner product must be equal to 1 (or ne |
|
|
|
|
|
So far, we were used the simple [`numpy.linalg.inv()`](https://numpy.org/doc/stable/reference/generated/numpy.linalg.inv.html) function to calculate the inverse of a matrix. In this case, we found disagreement between the right-hand inverse matrix or the left-hand inverse matrix.
|
|
So far, we were used the simple [`numpy.linalg.inv()`](https://numpy.org/doc/stable/reference/generated/numpy.linalg.inv.html) function to calculate the inverse of a matrix. In this case, we found disagreement between the right-hand inverse matrix or the left-hand inverse matrix.
|
|
|
|
|
|
<img src="uploads/c077dbc52b6d9b13080492c543f15736/inv.png" width="440" > |
|
<img src="uploads/5c14e15cf27db9dde43ae57c9da231e0/inv.png" width="440" ><img src="uploads/5f028dfe024ae56916586e2488a3c602/inv_off_diag.png" width="440" >
|
|
|
|
|
|
|
|
In the above Figure, the quantity 'inv' refers to the `numpy.linalg.inv()` function.
|
|
|
|
|
|
|
|
To resolve this issue, we propose to use the Moore-Penrose pseudo-inverse method. |
|
|
|
\ No newline at end of file |