Integration of exchange and correlation interaction has to be done numerically since the various functionals - and their derivatives - describing the interaction are too complex to evaluate analytically. There are a number of items that has to be implemented efficiently to quickly compute the interaction in question: