GaussianHeavisideLorentz
Gaussian Heaviside, commonly referred to as the Gaussian-smoothed Heaviside, is a smooth approximation to the Heaviside step function. It replaces the discontinuity at zero with a rapid but continuous transition, enabling differentiation and improved numerical stability.
Definition: For a positive scale parameter ε, the Gaussian Heaviside is Hε(x) = Φ(x/ε) = (1/2)[1 + erf(x/(√2 ε))], where Φ is
Properties: Hε is monotone increasing and infinitely differentiable for ε > 0. The transition width is proportional to
Applications: It is used in numerical analysis and partial differential equations to regularize nonsmooth terms, in
Alternatives and remarks: Other smooth approximations include the logistic sigmoid 1/(1+e−kx) and arctan-based functions. Gaussian smoothing
Implementation tips: Choose ε relative to the desired smoothness and grid resolution. Functions like erf and Φ are