Partial inverse of a matrix
In linear algebra and statistics, the partial inverse of a matrix is an operation related to Gaussian elimination which has applications in numerical analysis and statistics. It is also known by various authors as the principal pivot transform, or as the sweep, gyration, or exchange operator. Given an  matrix  over a vector space  partitioned into blocks:

If  is invertible, then the partial inverse of  around the pivot block  is created by inverting , putting the Schur complement  in place of , and adjusting the off-diagonal elements accordingly:

Conceptually, partial inversion corresponds to a rotation of the graph of the matrix , such that, for conformally-partitioned column matrices  and :

As defined this way, this operator is its own inverse: , and if the pivot block  is chosen to be the entire matrix, then the transform simply gives the matrix inverse . Note that some authors define a related operation (under one of the other names) which is not an inverse per se; particularly, one common definition instead has . The transform is often presented as a pivot around a single non-zero element , in which case one has

Partial inverses obey a number of nice properties:
 inversions around different blocks commute, so larger pivots may be built up from sequences of smaller ones
 partial inversion preserves the space of symmetric matrices

Use of the partial inverse in numerical analysis is due to the fact that there is some flexibility in the choices of pivots, allowing for non-invertible elements to be avoided, and because the operation of rotation (of the graph of the pivoted matrix) has better numerical stability than the shearing operation which is implicitly performed by Gaussian elimination. Use in statistics is due to the fact that the resulting matrix nicely decomposes into blocks which have useful meanings in the context of linear regression. References 

Matrix theory