Package | Description |
---|---|
org.apache.flink.api.java.summarize.aggregation |
Modifier and Type | Field and Description |
---|---|
static CompensatedSum |
CompensatedSum.ZERO |
Modifier and Type | Method and Description |
---|---|
CompensatedSum |
CompensatedSum.add(CompensatedSum other)
Increments the Kahan sum by adding two sums, and updating the correction term for reducing numeric errors.
|
CompensatedSum |
CompensatedSum.add(double value)
Increments the Kahan sum by adding a value without a correction term.
|
CompensatedSum |
CompensatedSum.add(double value,
double delta)
Increments the Kahan sum by adding a value and a correction term.
|
Modifier and Type | Method and Description |
---|---|
CompensatedSum |
CompensatedSum.add(CompensatedSum other)
Increments the Kahan sum by adding two sums, and updating the correction term for reducing numeric errors.
|
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.