Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 3
    116 float multiplications compared with 200 for the accepted answer. (and determinant checking before doing majority of calculation)
    – paddyg
    Commented Jul 16, 2018 at 20:34
  • 2
    This answer feels like a gift from God. You even use the same naming convention for matrix elements as I do.
    – Stuntddude
    Commented Oct 4, 2019 at 2:55
  • 1
    Really good answer, but regarding this " I need a code that inverses 5x5 matrix, but nobody in the earth have done this" --- The reason for that is probably, that it is cheaper to use a direct solver (Gauss, LU) than using a formula based on determinants (Cramers rule?).
    – wychmaster
    Commented Jun 4, 2020 at 8:49