public class SymbolicStatUtils
extends java.lang.Object
Constructor and Description |
---|
SymbolicStatUtils() |
Modifier and Type | Method and Description |
---|---|
static IExpr |
geometricMean(IAST values)
Returns the geometric mean of the entries in the input array, or
Double.NaN if the array is empty. |
public static IExpr geometricMean(IAST values)
Double.NaN
if the array is empty.
Throws IllegalArgumentException
if the array is null.
See org.apache.commons.math3.stat.descriptive.moment.GeometricMean
for details on the computing algorithm.
values
- the input arrayjava.lang.IllegalArgumentException
- if the array is null