public interface VectorAccumulator
Modifier and Type | Method and Description |
---|---|
double |
accumulate()
Returns the accumulated value and resets this accumulator.
|
void |
update(int i,
double value)
Updates a value that was accumulated so far with new
vector's element.
|
void update(int i, double value)
i
- the element's indexvalue
- the element's valuedouble accumulate()
Copyright © 2015. All rights reserved.