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#
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

CurrentValue Gets the current value of the accumulator.
HasValue Gets whether the accumulator has received enough data to compute a value.

Methods

Add Updates the accumulator with the specified value.
AddMissing Updates the accumulator with a missing value.
Remove Updates the accumulator by removing the specified value.
RemoveMissing Updates the accumulator by removing a missing value.
Reset Resets the accumulator to its initial state.

See Also