My cosmology textbook tells me that if I raise the indicies on the metric tensor (from subscript to superscript), then all I have to do is divide one by each element. But from what I know about inverting matricies, the process is quite a bit more involved. When I raise the indicies on the metric tensor, is this analogous to taking the inverse of a matrix? If not, then what is the mathematical meaning of this procedure? Any hints would be appreciated. Thank you.