hypersphere_integrals_test, a MATLAB code which calls hypersphere_integral(), which returns the exact value of the integral of any monomial over the surface of the unit hypersphere in M dimensions.
The computer code and data files described and made available on this web page are distributed under the MIT license
hypersphere_integrals, a MATLAB code which returns the exact value of the integral of any monomial over the surface of the unit hypersphere in M dimensions.