Class BoostMath
java.lang.Object
org.apache.commons.numbers.gamma.BoostMath
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static doublepowm1(double x, double y) Returnspow(x, y) - 1.
-
Constructor Details
-
BoostMath
private BoostMath()Private constructor.
-
-
Method Details
-
powm1
static double powm1(double x, double y) Returnspow(x, y) - 1. This function is accurate whenx -> 1oryis small.Adapted from
boost/math/special_functions/powm1.hpp. Explicit handling of edges cases (overflow, domain error) using the policy has been removed.- Parameters:
x- the xy- the y- Returns:
pow(x, y) - 1
-