Timeline for What algorithm(s) do numpy and scipy use to calculate matrix inverses?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 11, 2023 at 17:25 | comment | added | whpowell96 |
They use the exact same algorithm under the hood but obviously less work is done in using solve compared to inv because you just do fewer operations.
|
|
Dec 10, 2023 at 18:27 | comment | added | Stef |
I was sure that the documentation page for numpy.linalg.inv had a comment recommending to use numpy.linalg.solve instead whenever possible, but apparently I remember wrong.
|
|
Dec 10, 2023 at 2:11 | comment | added | Oscar Smith | Sure, but don't do that. | |
Dec 9, 2023 at 20:12 | comment | added | Federico Poloni |
Sure they do compute inverses, if you call inv .
|
|
Dec 9, 2023 at 19:58 | history | answered | Oscar Smith | CC BY-SA 4.0 |