Class ByEma
java.lang.Object
com.illumon.numerics.movingaverages.ByEma
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ByEmaSimple
A DB aware EMA which can compute "by" emas without grouping and then ungrouping.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ByEma
(ByEma.BadDataBehavior nullBehavior, ByEma.BadDataBehavior nanBehavior) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract AbstractMa
double
update
(double value) double
double
double
update
(DBDateTime timestamp, double value) double
update
(DBDateTime timestamp, double value, Object... by)
-
Constructor Details
-
ByEma
-
-
Method Details
-
update
public double update(double value) -
update
-
update
-
update
-
update
-
createEma
-