IBinaryAccumulator<T1, T2> Interface

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

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public interface IBinaryAccumulator<T1, T2>

Type Parameters

T1
The type of the first input to the accumulator.
T2
The type of the second 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