public final class MathFunctions extends Object
| Modifier and Type | Method and Description |
|---|---|
static double |
logGamma(double n)
Implementation of the natural log of the absolute value of
the gamma function.
|
static double |
pow(double a,
int b)
Computes ab, where the exponent b is an integer.
|
public static double pow(double a,
int b)
Math.pow(double, double) since
it exploits the integer type of the exponent.a - The base.b - The exponent.public static double logGamma(double n)
n - input parameter to the functionCopyright © 2005-2020 Vincent A. Cicirello. All rights reserved.