A random matrix analysis of random Fourier features: beyond the Gaussian kernel, a precise phase transition, and the corresponding double descent*This article is an updated version of: Liao Z, Couillet R and Mahoney M W 2020 A random matrix analysis of random Fourier features: beyond the Gaussian kernel, a precise phase transition, and the corresponding double descent Advances in Neural Information Processing Systems vol 33, ed H Larochelle, M Ranzato, R Hadsell, M F Balcan and H Lin (New York: Curran Associates), pp 13939–50. (29th December 2021)