template <class D, class V>
auto RemoveRangeAroundZero(const D d, const double kw, const V x) -> V