Consider a case where, given an MxM matrix A and a vector b, I want to solve something of the form inv(A @ A.T) @ b (where I know A is invertible). As far as I
inv(A @ A.T) @ b