Diagonalization-free SCF