 
 
 
5.34.16  Inverse of a matrix with coefficients in ℤ/pℤ : inv inverse
inverse (or inv) takes as argument a matrix A in 
ℤ/pℤ.
inverse (or inv) returns the inverse of the matrix 
A in Z/pℤ.
Input :
inverse([[1,2,9]%13,[3,10,0]%13,[3,11,1]%13])
 
or :
inv([[1,2,9]%13,[3,10,0]%13,[3,11,1]%13])
 
or :
inverse([[1,2,9],[3,10,0],[3,11,1]]%13)
 
or :
inv([[1,2,9],[3,10,0],[3,11,1]]%13)
Output :
[[2%13,-4%13,-5%13],[2%13,0%13,-5%13], [-2%13,-1%13,6%13]]
 
it is the inverse of A=[[1,2,9],[3,10,0],[3,11,1]] in ℤ/13ℤ.
 
 
