public class Mean extends ValueFunction
| Modifier and Type | Method and Description |
|---|---|
Data |
execute(Data in1,
double in2,
double count) |
void |
execute2(KahanObject in1,
double in2,
double count)
Simplified version of execute(Data in1, double in2)
without exception handling and casts.
|
static Mean |
getMeanFnObject() |
requiresCorrectionpublic static Mean getMeanFnObject()
public Data execute(Data in1, double in2, double count)
execute in class FunctionObjectpublic void execute2(KahanObject in1, double in2, double count)
in1 - Kahan object inputin2 - double inputcount - the count to divide byCopyright © 2021 The Apache Software Foundation. All rights reserved.