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.3
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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
Current | Gets the accumulated result. |
Has |
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>) |
Add |
Updates the accumulator with a missing value.
(Inherited from IAccumulator<T>) |
Remove |
Updates the accumulator by removing the specified value.
(Inherited from IAccumulator<T>) |
Remove |
Updates the accumulator by removing a missing value.
(Inherited from IAccumulator<T>) |
Reset |
Resets the accumulator to its initial state.
(Inherited from IAccumulator<T>) |