Accumulator
| Accumulator adds up its input value. |
Methods | Arguments | Return Value |
reset | initValue::continuous | none |
compute | value::continuous | none |
out | none | continuous |
On activation of method
Reset
The accumulator value is set to initValue.
Compute
The accumulator is incremented by the input value, i.e., accumulator (new) = accumulator (old) + input value.
Out
The accumulator value is returned.
