Represents an object that performs incremental calculations.
SystemObject Extreme.DataAnalysisAccumulatorT, U
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public class Accumulator<T, U> : IAccumulator<T, U>
Public Class Accumulator(Of T, U)
Implements IAccumulator(Of T, U)
generic<typename T, typename U>
public ref class Accumulator : IAccumulator<T, U>
type Accumulator<'T, 'U> =
class
interface IAccumulator<'T, 'U>
end
Type Parameters
- T
- The type of the input to the accumulator.
- U
- The type of the output of the accumulator.
The AccumulatorT, U type exposes the following members.
| Name | Description |
---|
 | AccumulatorT, U | Initializes a new instance of the AccumulatorT, U class |
Top
| Name | Description |
---|
 | CurrentValue |
Gets the current value of the accumulator.
|
 | HasValue |
Gets whether the accumulator has received enough data to compute a value.
|
Top
| Name | Description |
---|
 | Add |
Updates the accumulator with the specified value.
|
 | AddMissing |
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.) |
 | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
 | GetType | Gets the Type of the current instance. (Inherited from Object.) |
 | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
 | 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.
|
 | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Reference