com.apama.aggregates
Aggregate avg(TYPE d) TYPE


Parameters:
d - Operates on decimals or floats.
Return the arithmetic mean of the items in the window.

If the window is empty or contains both positive and negative infinities, returns NaN. NaN values in the window are ignored.