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