IAccumulator<T> Interface

Represents an object that performs incremental calculations.

Definition

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

Type Parameters

T
The type of the input to the accumulator.

Properties

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