Computing the ratios discussed above requires that we maintain the inverse of the Slater matrix evaluated at the current position. Each time a trial position is accepted, the row number i of the Slater matrix changes and updating its inverse has to be carried out. Getting the inverse of an N×N matrix by Gaussian elimination has a complexity of order of O(N3) operations, a luxury that we cannot afford for each time a particle move is accepted. We will use the expression
d−1kj(xnew)={d−1kj(xold)−d−1ki(xold)R∑Nl=1dil(xnew)d−1lj(xold)if j≠id−1ki(xold)R∑Nl=1dil(xold)d−1lj(xold)if j=i