Computes x^-1, the inverse of a square non-singular matrix x, by
solving x %*% y = I for y.
For most use cases prefer nv_solve() directly: forming the explicit
inverse is both slower and less numerically stable than solving against
a right-hand side.
Arguments
- x
(
arrayish)
Square non-singular matrix.
Value
arrayish
The inverse, same shape and dtype as x.