IAccumulator2<T, U> 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> : IAccumulator2<T, T, U>
Implements
IAccumulator2<T, T, U>

Type Parameters

T
The type of the inputs to the accumulator.
U
The type of the output of the accumulator.

Properties

CurrentValue Gets the current value of the accumulator.
(Inherited from IAccumulator2<T, U, V>)
HasValue Gets whether the accumulator has received enough data to compute a value.
(Inherited from IAccumulator2<T, U, V>)

Methods

Add Updates the accumulator with the specified value.
(Inherited from IAccumulator2<T, U, V>)
Remove Updates the accumulator by removing the specified value.
(Inherited from IAccumulator2<T, U, V>)
Reset Resets the accumulator to its initial state.
(Inherited from IAccumulator2<T, U, V>)

See Also