unboundedMean

fun unboundedMean(coefficients: DoubleArray): Double(source)

The mean of an unbounded metalog with five or fewer terms, from Keelin (2016) section 3.4. Coefficients beyond those supplied are treated as zero, which is why the same expression covers two through five terms.