hypersphere_properties_test, a MATLAB program which calls hypersphere_properties() to carry out various operations for an M-dimensional hypersphere, including converting between Cartesian and spherical coordinates, stereographic projection, sampling the surface of the sphere, and computing the surface area and volume.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
hypersphere_properties, a MATLAB library which carries out various operations for an M-dimensional hypersphere, including converting between Cartesian and spherical coordinates, stereographic projection, sampling the surface of the sphere, and computing the surface area and volume.