To invert a square Galois array, use the inv function. Related is the det function, which computes the determinant of a Galois array.