HalfLife
Time-driven decay: alpha = ln(2) / halfLife, progress measured in nanoseconds.
Properties
Functions
Link copied to clipboard
Bias-correction factor 1 - exp(-alpha*w), the fraction of a running exponentially weighted mean's bias that has been "worked off" after observing cumulative weight w. Returns 0 for w = 0 to avoid 0/0 when no observations have arrived.