Accumulator<T, U> Class
Represents an object that performs incremental calculations.
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public class Accumulator<T, U> : IAccumulator<T, U>
- Inheritance
- Object → Accumulator<T, U>
- Implements
- IAccumulator<T, U>
Type Parameters
- T
- The type of the input to the accumulator.
- U
- The type of the output of the accumulator.
Constructors
Accumulator<T, U> | Initializes a new instance of the Accumulator<T, U> class |
Properties
Current | Gets the current value of the accumulator. |
Has | Gets whether the accumulator has received enough data to compute a value. |
Methods
Add | Updates the accumulator with the specified value. |
Add | Updates the accumulator with a missing value. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
Get | Serves as the default hash function. (Inherited from Object) |
Get | Gets the Type of the current instance. (Inherited from Object) |
Memberwise | Creates a shallow copy of the current Object. (Inherited from Object) |
Remove | Updates the accumulator by removing the specified value. |
Remove | Updates the accumulator by removing a missing value. |
Reset | Resets the accumulator to its initial state. |
ToString | Returns a string that represents the current object. (Inherited from Object) |