IAccumulator2<T, U, V> Interface

Represents an object that performs incremental calculations on two input sequences.

Definition

Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public interface IAccumulator2<T, U, V>

Type Parameters

T
The type of the first input to the accumulator.
U
The type of the second input to the accumulator.
V
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.
Remove Updates the accumulator by removing the specified value.
Reset Resets the accumulator to its initial state.

See Also