inv_p()
finds the inverse of a square matrix over the field \(F_p\). The function checks for invertibility and then row-reduces the augmented matrix \([A|I]\) over \(F_p\) to find the inverse.
inv_p()
finds the inverse of a square matrix over the field \(F_p\). The function checks for invertibility and then row-reduces the augmented matrix \([A|I]\) over \(F_p\) to find the inverse.