• Wilder's smoothing (RMA): seed from the first complete finite window, then (prev * (period - 1) + v) / period. Valid scalar defaults retry nonfinite seeds, leave a gap for missing inputs and retain seeded state. Running overflow is unavailable without restarting. Supplied skip seeds from period finite observations and holds state across gaps. propagate clears state on a missing input and reseeds after period consecutive finite observations. Warmup is NaN. The option path requires a positive safe-integer period and valid policy, throwing RangeError or TypeError respectively.

    Parameters

    Returns number[]