All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
GeometricEquations.cpp
51 return std::pow(std::sqrt(boost::math::constants::pi<double>()) * r, static_cast<double>(N)) / std::tgamma(static_cast<double>(N)/2.0 + 1.0);
57 return std::pow(std::sqrt(boost::math::constants::pi<double>()), static_cast<double>(N)) / std::tgamma(static_cast<double>(N)/2.0 + 1.0);
78 // First multiply together the radii, noting that the first radius is the transverse diameter/2.0, and the other N-1 are the conjugate diameter/2.0
double unitNBallMeasure(unsigned int N)
The Lebesgue measure (i.e., "volume") of an n-dimensional ball with a unit radius.
Definition: GeometricEquations.cpp:54
double prolateHyperspheroidMeasure(unsigned int N, double dFoci, double dTransverse)
The Lebesgue measure (i.e., "volume") of an n-dimensional prolate hyperspheroid (a symmetric hyperell...
Definition: GeometricEquations.cpp:60
double nBallMeasure(unsigned int N, double r)
The Lebesgue measure (i.e., "volume") of an n-dimensional ball of given radius.
Definition: GeometricEquations.cpp:49