IAccumulator<T, U> Interface
Represents an object that performs incremental calculations.
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public interface IAccumulator<T, U>
Type Parameters
- T
- The type of the input to the accumulator.
- U
- The type of the output of the accumulator.
Properties
Current | Gets the current value of the accumulator. |
Has | Gets whether the accumulator has received enough data to compute a value. |
Methods
Add | Updates the accumulator with the specified value. |
Add | Updates the accumulator with a missing value. |
Remove | Updates the accumulator by removing the specified value. |
Remove | Updates the accumulator by removing a missing value. |
Reset | Resets the accumulator to its initial state. |