IAccumulator<T, TResult> Interface

Represents an accumulator that computes a result of the specified type.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public interface IAccumulator<T, TResult> : IAccumulator<T>
Implements
IAccumulator<T>

Type Parameters

T
The type of the input to the accumulator.
TResult
The type of the result of the accumulator.

Properties

CurrentValue Gets the accumulated result.
HasValue Gets whether the accumulator has received enough data to compute a value.
(Inherited from IAccumulator<T>)

Methods

Add Updates the accumulator with the specified value.
(Inherited from IAccumulator<T>)
AddMissing Updates the accumulator with a missing value.
(Inherited from IAccumulator<T>)
Remove Updates the accumulator by removing the specified value.
(Inherited from IAccumulator<T>)
RemoveMissing Updates the accumulator by removing a missing value.
(Inherited from IAccumulator<T>)
Reset Resets the accumulator to its initial state.
(Inherited from IAccumulator<T>)

See Also