The least-squares regression result can also be written as the product of the pseudo-inverse of the elemental composition matrix N + and the energy vector E. Calculation of ∆ LS H is then performed by replacing the chemical potentials in Eq. ( ) with the expression in Eq. ( ), leading to