AverageType enum
Spell out the types of moving average calculations available in this package.
Values
- simple → const AverageType
-
A simple moving average, where each element in the window is weighted equally.
- weighted → const AverageType
-
A weighted moving average, where more recent elements in the window are more heavily weighted.
- exponential → const AverageType
-
An exponential moving average, where the current data point, and the previous moving average are combined to calculate the new moving average.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
AverageType> - A constant List of the values in this enum, in order of their declaration.