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() |
requiresCorrection
public static Mean getMeanFnObject()
public Data execute(Data in1, double in2, double count)
execute
in class FunctionObject
public void execute2(KahanObject in1, double in2, double count)
in1
- Kahan object inputin2
- double inputcount
- the count to divide byCopyright © 2020 The Apache Software Foundation. All rights reserved.