Linear and sublinear scaling formation of Hartree–Fock-type exchange matrices | Synapse