In NumPy, the ____ function is used to compute the inverse of a matrix.

  • np.inverse()
  • np.invert()
  • np.linalg.inv()
  • np.transpose()
In NumPy, the np.linalg.inv() function is used to compute the inverse of a matrix. This function is essential for various linear algebra operations in NumPy, such as solving linear equations.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *