Open Access
This article is

- freely available
- re-usable

*Algorithms*
**2012**,
*5*(4),
604-628;
https://doi.org/10.3390/a5040604

Article

Laplace–Fourier Transform of the Stretched Exponential Function: Analytic Error Bounds, Double Exponential Transform, and Open-Source Implementation “libkww”

Forschungszentrum Jülich GmbH, Jülich Centre for Neutron Science at FRM II, Lichtenbergstraße 1, 85747 Garching, Germany

Received: 12 October 2012; in revised form: 13 November 2012 / Accepted: 14 November 2012 / Published: 22 November 2012

## Abstract

**:**

The C library

`libkww`provides functions to compute the Kohlrausch–Williams–Watts function, i.e., the Laplace–Fourier transform of the stretched (or compressed) exponential function $exp(-{t}^{\beta})$ for exponents β between 0.1 and 1.9 with double precision. Analytic error bounds are derived for the low and high frequency series expansions. For intermediate frequencies, the numeric integration is enormously accelerated by using the Ooura–Mori double exponential transformation. The primitive of the cosine transform needed for the convolution integrals is also implemented. The software is hosted at http://apps.jcns.fz-juelich.de/kww; version 3.0 is deposited as supplementary material to this article.Keywords:

stretched exponential; Laplace–Fourier transform; numeric integrationClassification:

**MSC**44A10; 65D30; 65-04

## 1. Introduction

The C library

`libkww`(please see the Supplementary Material:`libkww`source archive) provides functions for computing the Laplace–Fourier transform of the stretched or compressed exponential function $exp(-{t}^{\beta})$. It improves upon the previous work [1,2] in several respects: (1) A wider β range is covered; (2) Results have the full accuracy of double-precision floating-point numbers; (3) The computation is very fast, thanks to two measures: (a) rigorous error bounds allow to maximally extend the low and high frequency domains where series expansions are used, and (b) the numeric integration at intermediate frequency is enormously accelerated by using a recent mathematical innovation, the Ooura–Mori double exponential transform; (4) The implementation is made available in the most portable way, namely as a C library.Claims (1)–(3) require some explanation. Dishon et al. published tables for values of β between 0.01 and 2 [1]. However, for $\beta \lesssim 0.3$, those tables only cover an asymptotic power-law regime, which renders them practically useless. This will become clear in Section 4.3.

With respect to accuracy, one might argue that a numeric precision of ${10}^{-3}$ or ${10}^{-4}$ is largely sufficient for fitting spectroscopic data. However, violations of monotonicity at a level δ can trap a fit algorithm in a haphazard local minimum unless the minimum search step of the algorithm is correspondingly set to $\mathcal{O}\left(\delta \right)$. Since

`libkww`returns function values with`double`precision, it can be smoothly integrated into existing fit routines.With respect to speed of calculation, one might argue that given today’s computing power this is no longer a serious concern. However, the Fourier transform of the stretched exponential is often embedded in a convolution of a theoretical model with an instrumental resolution function, which in turn is embedded in a nonlinear curve fitting routine. In such a situation, accelerating the innermost loop is still advantageous.

The implementation in
Internally, series expansions and trapezoid sums are computed using
The modest signal-to-noise ratio $\delta /\u03f5$ made painstaking fine-tuning of the numeric integration unavoidable. The good side is that it will be easy to port

`libkww`is targeting a IEEE 754 compliant floating-point unit. Returned function values are accurate within the relative error of the`double`data type,
$$\delta :=2.2\xb7{10}^{-16}\lesssim {2}^{-52}$$

`long double`variables, expecting that this translates at least to 80 bits (extended double) so that floating-point errors are not larger than
$$\u03f5:=5.5\xb7{10}^{-20}\gtrsim {2}^{-64}$$

`libkww`to other architectures.**Figure 1.**Functions ${Q}_{\beta}\left(\omega \right)$, ${V}_{\beta}\left(\omega \right)$, ${P}_{\beta}\left(\omega \right)$ for selected values of β. Colored lines have been obtained by series expansions, solid black lines by numeric integration. Dashed lines have been computed using analytic expressions for $\beta =1,2$ (Appendix E).

This paper, after discussing typical applications (Section 2) and introducing some notation (Section 3), describes the mathematical foundations of the implemented algorithm in full detail (Section 4 and Section 5). Based on this, the application programming interface and some test programs are documented (Section 6). Exemplary results are shown in Figure 1.

## 2. Applications

#### 2.1. The Stretched Exponential

The stretched exponential function arises in different mathematical contexts, for instance as Lévy symmetric alpha-stable distribution, or as the complement of the cumulative Weibull distribution.

In physics, the stretched exponential function is routinely employed to describe relaxation in glasses, in glass-forming liquids, and in other disordered materials. The earliest known use is by Rudolf Kohlrausch in 1854 who investigated charge creep in a Leiden jar. He was followed by his son Friedrich Kohlrausch in 1863 who used the stretched exponential to describe torsional relaxation in glass wires, thereby improving previous studies by Wilhelm Weber (1841) and his father (1847). In the modern literature, these early accomplishments are often confounded, and a majority of references to Poggendorff’s Annalen der Physik und Chemie is incorrect [3].

In 1993, Böhmer et al. [4] listed stretching exponents for over 70 materials, obtained by viscoelastic, calorimetric, dielectric, optical, and other linear response measurements. Other important compilations, though tinted by highly personal theoretical views, include a review by Phillips [5], and a book by Ngai [6]. As of 2011, the Böhmer review has been cited over 1100 times, indicating a huge increase in the use of the stretched exponential function for describing relaxation phenomena. In the meantime, it has also become clear that non-exponential relaxation is not limited to supercooled glass-forming materials but that it also occurs in normal liquids [7,8,9].

Other physical applications of the stretched exponential function are the time dependence of luminescence or fluorescence decays [10], and the concentration dependence of diffusion coefficients and viscosities [11]. In most applications, the exponent is restricted to values $\beta \le 1$. However, in recent years some uses of the “compressed” or “squeezed” exponential function with $1<\beta <2$ have been proposed, mostly in protein kinetics [12,13,14], but also in magnetism [15]. Outside physics, the stretched exponential function has been found to provide a good fit to various socio-economic statistics, like urban agglomeration sizes, currency exchange rate variations, or the “success” of scientists, musicians, and Hollywood blockbusters [16,17,18].

Hardly ever the stretched exponential is the full story. It usually describes a scaling regime that extends over a finite, albeit logarithmically large, time range. Mode-coupling theory has provided one physical way to connect a long-time Kohlrausch asymptote to a short-time regime that satisfies all conservation laws [19,20]. On the other hand, a stretched exponential function can just be the short-time limit of a Mittag–Leffler function that leads over towards a power-law at long times [21,22].

#### 2.2. The Kohlrausch–Williams–Watts Function

The use of the Laplace–Fourier transform to describe dynamic susceptibilities and scattering experiments has its foundations in linear response theory. The relations between response functions, relaxation functions, susceptibilities, correlation functions, and scattering laws are briefly summarized in Appendix A. For applications in linear viscoelasticity, see [23,24].

In 1970, Williams and Watts introduced the Laplace transform of the stretched exponential function to describe dielectric response as function of frequency [25]. Their intuition is remarkable, since they were neither aware of earlier uses of the stretched exponential in the time domain, nor had they the technical means of actually computing the Fourier transform: based on analytic expressions for $\beta =1$ and $\beta =0.5$, they courageously extrapolated to $\beta =0.38$.

It was noticed soon that series expansions can be used to transform the stretched exponential in the limit of low or high frequencies [26,27,28]. Based on this, computer routines were implemented that complemented these series expansions by explicit integration for intermediate frequencies [1,2]. In actual fit routines, it was found more convenient to interpolate between tabulated values than to compute the Laplace transform explicitly [29]. Other experimentalists fit their data with the Havriliak–Negami function (a Cauchy–Lorentz–Debye spectrum decorated with two fractional exponents) and use some approximations [30,31] to convert parameters to those of the stretched exponential spectrum. Such indirect procedures can be made obsolete by a more efficient numeric computation of the Laplace–Fourier integral.

## 3. Notation

We write the stretched exponential function in dimensionless form as
Motivated by the relations between relaxation, linear response, and dynamic susceptibility (Appendix A), we define the Laplace transform of ${f}_{\beta}$ as
In most applications, one is interested in either the cosine or the sine transform,
The two-sided Fourier transform of ${f}_{\beta}\left(\right|t\left|\right)$ is
To compute the convolution of Equation (6) with an experimental resolution function (Appendix B), it is sometimes advisable to use the primitive of ${Q}_{\beta}\left(\omega \right)$,
The function ${Q}_{\beta}\left(\omega \right)$ is even in ω, with
whereas ${V}_{\beta}\left(\omega \right)$ and ${P}_{\beta}\left(\omega \right)$ are odd. To simplify the notation, we restrict ourselves to $\omega >0$ for the remainder of this paper.

$${f}_{\beta}\left(t\right):=exp\left(-{t}^{\beta}\right)$$

$${F}_{\beta}\left(\omega \right):={\int}_{0}^{\infty}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}t\phantom{\rule{0.166667em}{0ex}}{\mathrm{e}}^{i\omega t}\phantom{\rule{0.166667em}{0ex}}{f}_{\beta}\left(t\right)$$

$$\begin{array}{c}{Q}_{\beta}\left(\omega \right):=\mathrm{Re}\phantom{\rule{0.166667em}{0ex}}{F}_{\beta}\left(\omega \right)\hfill \\ {V}_{\beta}\left(\omega \right):=\mathrm{Im}\phantom{\rule{0.166667em}{0ex}}{F}_{\beta}\left(\omega \right)\hfill \end{array}$$

$${\int}_{-\infty}^{\infty}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}t\phantom{\rule{0.166667em}{0ex}}{\mathrm{e}}^{i\omega t}\phantom{\rule{0.166667em}{0ex}}{f}_{\beta}\left(\right|t\left|\right)=2{Q}_{\beta}\left(\omega \right)$$

$${P}_{\beta}\left(\omega \right):={\int}_{0}^{\omega}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}{\omega}^{\prime}\phantom{\rule{0.166667em}{0ex}}{Q}_{\beta}\left({\omega}^{\prime}\right)=\omega {\int}_{0}^{\infty}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}t\phantom{\rule{0.166667em}{0ex}}\mathrm{sinc}\left(\omega t\right){f}_{\beta}\left(t\right)$$

$${Q}_{\beta}\left(0\right)=\Gamma (1/\beta )/\beta $$

In physics, the stretched exponential function is almost always used with an explicit time constant τ,
The corresponding transforms can be expressed quite simply by their dimensionless versions:

$${f}_{\beta ,\tau}\left(t\right):=exp\left(-{(t/\tau )}^{\beta}\right)$$

$$\begin{array}{ccc}{F}_{\beta ,\tau}\left(\omega \right)\hfill & =& \tau {F}_{\beta}\left(\tau \omega \right)\hfill \\ {P}_{\beta ,\tau}\left(\omega \right)\hfill & =& {P}_{\beta}\left(\tau \omega \right)\hfill \end{array}$$

## 4. Series Expansions

#### 4.1. Small-ω Expansion

For small and for large values of ω, ${F}_{\beta}\left(\omega \right)$ can be determined from series expansions [1,2,26,27,28]. For small ω, we expand $exp\left(i\omega t\right)$ in Equation (4), substitute $x={t}^{\beta}$, and use the defining equation of the gamma function,
to one obtain the Taylor series (in [28] traced back to Cauchy 1853):
with
Separating real and imaginary parts, we get
The expansion of ${P}_{\beta}$ is obtained most easily by integrating that of ${Q}_{\beta}$,
The expansions of ${Q}_{\beta}\left(\omega \right)$, ${V}_{\beta}\left(\omega \right)$, and ${P}_{\beta}\left(\omega \right)$ shall be summarized as
with switches
All these series are useful only for small ω; otherwise large alternating terms prevent efficient summation. For $\beta \ge 1$, they converge for all values of ω. For $\beta <1$, they are asymptotic expansions, which means [32,33] they diverge, but when truncated at the right place they nevertheless provide useful approximations.

$${\int}_{0}^{\infty}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}x\phantom{\rule{0.166667em}{0ex}}{x}^{\mu -1}{\mathrm{e}}^{-x}=:\Gamma \left(\mu \right)$$

$${F}_{\beta}\left(\omega \right)=\frac{1}{\beta}\sum _{k=0}^{\infty}{A}_{k}{\left(i\omega \right)}^{k}$$

$${A}_{k}:=\frac{\Gamma \left(\right(k+1)/\beta )}{\Gamma (k+1)}$$

$$\begin{array}{ccc}{Q}_{\beta}\left(\omega \right)\hfill & =& {\displaystyle \frac{1}{\beta}\sum _{k=0}^{\infty}{(-1)}^{k}{A}_{2k}{\omega}^{2k}}\hfill \\ {V}_{\beta}\left(\omega \right)\hfill & =& {\displaystyle \frac{1}{\beta}\sum _{k=0}^{\infty}{(-1)}^{k}{A}_{2k+1}{\omega}^{2k+1}}\hfill \end{array}$$

$$P}_{\beta}\left(\omega \right)=\frac{1}{\beta}\sum _{k=0}^{\infty}{(-1)}^{k}\frac{{A}_{2k}}{2k+1}{\omega}^{2k+1$$

$$Y=\sum _{k=0}^{\infty}{(-1)}^{k}\frac{{A}_{2k+\kappa}}{{(2k+1)}^{\mu}}{\omega}^{2k+\kappa +\mu}$$

$$\kappa ,\mu :=\left\{\begin{array}{cc}0,0\hfill & \phantom{\rule{4.pt}{0ex}}\text{for}\phantom{\rule{4.pt}{0ex}}Q\hfill \\ 1,0\hfill & \phantom{\rule{4.pt}{0ex}}\text{for}\phantom{\rule{4.pt}{0ex}}V\hfill \\ 0,1\hfill & \phantom{\rule{4.pt}{0ex}}\text{for}\phantom{\rule{4.pt}{0ex}}P\hfill \end{array}\right.$$

#### 4.2. Large-ω Expansion

A complementary series expansion for large ω can be derived by expanding the $exp(-{t}^{\beta})$ term in Equation (4). Using
one obtains a series in powers of ${\omega}^{-\beta}$ (in [28] attributed to Wintner 1941 [34]):
with
Separating real and imaginary parts,
Instead of ${P}_{\beta}$, we compute its complement
The limit ${P}_{\beta}\left(\infty \right)=\pi /2$ is obtained most easily through Equation (6). Integration of Equation (21)
yields
The expansions of ${Q}_{\beta}\left(\omega \right)$, ${V}_{\beta}\left(\omega \right)$, and ${\overline{P}}_{\beta}\left(\omega \right)$ shall be summarized as
with
and with switches κ, μ as defined in Equation (17). To improve the numeric accuracy of the sine term in Equation (25) for $\beta \to 2$, the complementary exponent $\overline{\beta}:=2-\beta $ is introduced so that ${(-1)}^{1+k}sin(k\beta \pi /2)$ can be replaced by $sin(k\overline{\beta}\pi /2)$.

$${\int}_{0}^{\infty}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}t\phantom{\rule{0.166667em}{0ex}}{t}^{\mu -1}{\mathrm{e}}^{i\omega t}=\frac{\Gamma \left(\mu \right)}{{\omega}^{\mu}}{\mathrm{e}}^{i\mu \pi /2}$$

$${F}_{\beta}\left(\omega \right)=i\sum _{k=0}^{\infty}{(-1)}^{k}{\mathrm{e}\phantom{\left(\right)}}^{ik\beta \pi /2}{B}_{k}{\omega}^{-k\beta -1}$$

$${B}_{k}:=\frac{\Gamma (k\beta +1)}{\Gamma (k+1)}$$

$$\begin{array}{ccc}{Q}_{\beta}\left(\omega \right)\hfill & =& {\displaystyle \sum _{k=1}^{\infty}{(-1)}^{k-1}sin(k\beta \pi /2){B}_{k}{\omega}^{-k\beta -1}}\hfill \\ {V}_{\beta}\left(\omega \right)\hfill & =& {\displaystyle \sum _{k=0}^{\infty}{(-1)}^{k}cos(k\beta \pi /2){B}_{k}{\omega}^{-k\beta -1}}\hfill \end{array}$$

$${\overline{P}}_{\beta}\left(\omega \right):={P}_{\beta}\left(\infty \right)-{P}_{\beta}\left(\omega \right)$$

$${\overline{P}}_{\beta}\left(\omega \right)={\int}_{\omega}^{\infty}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}{\omega}^{\prime}\phantom{\rule{0.166667em}{0ex}}{Q}_{\beta}\left({\omega}^{\prime}\right)$$

$${\overline{P}}_{\beta}\left(\omega \right)=\sum _{k=1}^{\infty}{(-1)}^{k-1}sin(k\beta \pi /2)\frac{{B}_{k}}{k\beta}{\omega}^{-k\beta}$$

$$Y={(-1)}^{1-\kappa}\sum _{k=1-\kappa}^{\infty}{(-1)}^{k}sin\left((k\beta +\kappa )\frac{\pi}{2}\right){u}_{k}$$

$${u}_{k}:={B}_{k}{\left(k\beta \right)}^{-\mu}{\omega}^{\mu -1-k\beta}$$

For $\beta \le 1$, these series converge for all $\omega \ne 0$; for $\beta >1$, they are asymptotic expansions. This is just complementary to the small-ω expansion.

#### 4.3. Cross-Over Frequencies

The leading-order terms in Equations (14) and (21) are power-laws in ω. In a plot of $ln{Q}_{\beta}$ or $ln{V}_{\beta}$ versus $ln\omega $, these power-law asymptotes are straight lines that intersect at
and
For $\beta \to 0$, both cross-over frequencies go rapidly to zero, with a leading singularity

$${\omega}_{Q}:={\left(\frac{\beta \Gamma (1+\beta )sin(\beta \pi /2)}{\Gamma (1/\beta )}\right)}^{1/(1+\beta )}$$

$$\omega}_{V}:={\left(\frac{\beta}{\Gamma (2/\beta )}\right)}^{1/2$$

$${\omega}_{Q,V}\sim {\beta}^{1/\beta}$$

This explains why the limiting case $\beta \to 0$ has no practical importance, and it also explains why previously published tables [1] of ${Q}_{\beta}\left(\omega \right)$ and ${V}_{\beta}\left(\omega \right)$ are useless for small exponents $\beta \lesssim 0.3$: As these tables employ the same linear ω grid for all β, for small β they only cover the asymptotic large-ω power-law regime, and not the nontrivial cross-over regime for which alone a table would be needed.

For $\beta \to 2$, ${\omega}_{Q}$ goes to zero because of the sine term in Equation (27). This regime, probably of little practical importance, will be dealt with in Section 5.6.

#### 4.4. Error Bounds and Algorithm

The series (16) and (25) shall be approximated by finite sums
To control the accuracy of this approximation, we need an analytical bound ${r}_{n}$ for the truncation error
For the small-ω expansion, in Appendix C the bound ${r}_{n}=\left|{y}_{n}\right|$ is derived: The truncation error is not larger than the first neglected term. For the large-ω expansion, a bound is derived in Appendix D:
with the auxiliary variable
and with ${u}_{n}$ as defined in Equation (26).

$${Y}_{n}=\sum _{k={k}_{0}}^{n-1}{y}_{k}$$

$${\Delta}_{\mathrm{tr}}{Y}_{n}:=|{Y}_{n}-Y|\le {r}_{n}$$

$${r}_{n}={(sin\varphi )}^{-n\beta -1}{u}_{n}$$

$$\varphi :=\left\{\begin{array}{cc}\pi /2\hfill & if\beta \le 1\hfill \\ \pi /\left(2\beta \right)\hfill & if\beta >1\hfill \end{array}\right.$$

To avoid cancellation, the sum (30) is computed using an extended floating-point precision ϵ, as described in Section 1. This ensures an upper bound for the total floating-point error of
with the sum of absolute values
${Y}_{n}$ is requested to approximate Y with a relative accuracy of δ,
which is assured if
This leads to the following algorithm:

$${\Delta}_{\mathrm{fp}}{Y}_{n}\le \sum _{k={k}_{0}}^{n-1}\u03f5\left|{y}_{k}\right|=\u03f5{Z}_{n}$$

$${Z}_{n}:=\sum _{k={k}_{0}}^{n-1}\left|{y}_{k}\right|$$

$$({\Delta}_{\mathrm{fp}}+{\Delta}_{\mathrm{tr}}){Y}_{n}\le \delta \xb7{Y}_{n}$$

$$\frac{\u03f5{Z}_{n}+{r}_{n}}{{Y}_{n}}\le \delta $$

For each $n={k}_{0}+1,{k}_{0}+2,\dots $, compute ${y}_{n-1}$, ${Y}_{n}$, ${Z}_{n}$, and ${r}_{n}$. Terminate and return ${Y}_{n}$ if Equation (37) is fulfilled. Terminate and return an error code if one of the following conditions is met:

(i) ${y}_{k}$ is excessively large (approaching the largest floating-point number);

(ii) ${y}_{k}$ is excessively small (approaching the smallest normalized floating-point number);

(iii) $\u03f5{Z}_{n}/{Y}_{n}\ge \delta $: alternating terms have cancelled each other to an extent that floating-point errors may exceed δ;

(iv) this is an asymptotic expansion and ${r}_{k+1}>{r}_{k}$;

(v) a preset limit $n={n}_{\mathrm{lim}}$ is reached.

Since ${y}_{k}$ and ${r}_{k}$ require in part the same computations, the common factor ${u}_{k}$ is computed ahead to avoid the repetition of gamma function evaluations and other costly operations. For the small-ω expansion, we have just ${r}_{k}={u}_{k}$ and ${y}_{k}={(-1)}^{k}{u}_{k}$; for the large-ω expansion, ${u}_{k}$ is defined in (26).

#### 4.5. Application Domains

Let ${\omega}_{\mathrm{L}}\left(\beta \right)$ be the smallest ω at given β for which the small-ω algorithm returns an error code. Similarly, ${\omega}_{\mathrm{H}}\left(\beta \right)$ is the largest ω for which the large-ω expansion fails. Figure 2 shows these six limits, determined by a simple script (

`kww_findlims`, cf. Section 6.4), as function of β. Results for Q V, and P are very similar. For $\beta <1$, the ${\omega}_{\mathrm{H}}\left(\beta \right)$ fluctuate strongly, due to the trigonometric factor in Equation (25).For later use (Section 6.3), the ${\omega}^{\mathrm{L},\mathrm{H}}\left(\beta \right)$ are approximated by simple functions ${\tilde{\omega}}^{\mathrm{L},\mathrm{H}}\left(\beta \right)$, defined piecewise after dividing the β-range $[0.1,2]$ in two or three sections. Typically, within one section, ${\tilde{\omega}}^{\mathrm{L},\mathrm{H}}\left(\beta \right)$ is an exponential of a rational function with three or four parameters. Details can be found in the source

`kww.c`where the fit results are hardcoded. For the fluctuating data at $\beta <1$, ${\tilde{\omega}}_{\mathrm{H}}\left(\beta \right)$ approximates the lower bound rather than the full data set.**Figure 2.**Frequency limits for the series expansions for a required accuracy $\delta =2\times {10}^{-16}$ and a machine precision $\u03f5=1\times {10}^{-19}$. Orange points represent ${\omega}_{\mathrm{L}}$, green points ${\omega}_{\mathrm{H}}$. Black lines show the piecewise fits that are hardcoded in

`libkww`to decide whether a series expansion is tried or whether numeric integration is used from the outset.

## 5. Numeric Integration

#### 5.1. Notation

The definitions (5) and (7) of ${Q}_{\beta}$, ${V}_{\beta}$, and ${P}_{\beta}$ can be summarized as
with
and

$$Y={\int}_{0}^{\infty}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}t\phantom{\rule{0.166667em}{0ex}}sin(\omega t+\nu \pi )g\left(t\right)$$

$$g\left(t\right):={t}^{-\mu}{f}_{\beta}\left(t\right)$$

$$\nu ,\mu :=\left\{\begin{array}{ccc}1/2,\hfill & 0\hfill & \phantom{\rule{4.pt}{0ex}}\text{for}\phantom{\rule{4.pt}{0ex}}Q\hfill \\ 0,\hfill & 0\hfill & \phantom{\rule{4.pt}{0ex}}\text{for}\phantom{\rule{4.pt}{0ex}}V\hfill \\ 0,\hfill & 1\hfill & \phantom{\rule{4.pt}{0ex}}\text{for}\phantom{\rule{4.pt}{0ex}}P\hfill \end{array}\right.$$

#### 5.2. Integrating on a Double-exponential Grid

Popular approaches to calculate numeric Fourier transforms include straightforward fast Fourier transform, and Tuck’s simple “Filon-trapezoidal” rule [35]. Both methods evaluate the Fourier integrand on an equidistant grid ${t}_{k}=k\Delta t$. The Filon rule optimizes the weight of the grid points.

In our application, especially for small β, the decay of $g\left(t\right)$ extends over several decades. To limit the number of grid points that must be taken into account, it is customary to use a decimation algorithm. A more efficient and perhaps even simpler alternative is the double-exponential transformation. It was first proposed by Takahasi and Mori in 1974 for the efficient evaluation of integrals with end-point singularities [36,37]. Afterwards, it was adapted to oscillatory functions by Ooura and Mori [38,39]. The key idea is to choose grid points ${t}_{k}$ close to the zeros of the sine function in Equation (38).

A double-exponential transformation is a monotonous function $\varphi \left(x\right)$ that satisfies
This transformation shall now be applied to the time variable in the Fourier integral Equation (38):
yielding
It is convenient to abbreviate
The integral Equation (45) shall now be approximated by a sum, using the trapezoidal rule with stepwidth 1:
where the last term is the discretization error, to be discussed below (Section 5.4). As a second approximation, we truncate the summation at $\pm N$,
where the new term is the truncation error, also discussed below. This sum is used in

$$\begin{array}{ccc}& & \varphi (x\to -\infty )\to 0\hfill \end{array}$$

$$\begin{array}{ccc}& & {\varphi}^{\prime}(x\to -\infty )\to 0\mathrm{double}\mathrm{exponentially}\hfill \end{array}$$

$$\begin{array}{ccc}& & \varphi (x\to +\infty )\to x\mathrm{double}\mathrm{exponentially}\hfill \end{array}$$

$$t=\frac{\pi}{\omega}\varphi (k-\nu )$$

$$Y=\frac{\pi}{\omega}{\int}_{-\infty}^{\infty}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}k\phantom{\rule{0.166667em}{0ex}}{\varphi}^{\prime}(k-\nu )sin\left(\pi (\varphi (k-\nu )+\nu )\right)g\left(\frac{\pi \varphi (k-\nu )}{\omega}\right)$$

$$\begin{array}{ccc}\hfill {a}_{k}& :=& \pi \varphi (k-\nu )\hfill \end{array}$$

$$\begin{array}{ccc}\hfill {b}_{k}& :=& {\varphi}^{\prime}(k-\nu )sin\left(\pi (\varphi (k-\nu )+\nu )\right)\hfill \end{array}$$

$$\begin{array}{ccc}\hfill \tilde{Y}& :=& \frac{\omega}{\pi}Y\hfill \end{array}$$

$$\tilde{Y}=\sum _{k=-\infty}^{+\infty}{b}_{k}\phantom{\rule{0.166667em}{0ex}}g\phantom{\rule{-0.166667em}{0ex}}\left(\frac{{a}_{k}}{\omega}\right)+{\Delta}_{\mathrm{di}}\tilde{Y}$$

$$\tilde{Y}=\sum _{k=-N}^{+N}{b}_{k}\phantom{\rule{0.166667em}{0ex}}g\phantom{\rule{-0.166667em}{0ex}}\left(\frac{{a}_{k}}{\omega}\right)+{\Delta}_{\mathrm{di}}\tilde{Y}+{\Delta}_{\mathrm{tr}}\tilde{Y}$$

`libkww`to compute the KWW function at intermediate frequencies. Since ${a}_{k}$ and ${b}_{k}$ do not depend on β and ω, they must be generated only once, which greatly accelerates repeated evaluations of Equation (50).In practice, (50) can be well approximated with relatively small N. For $k\to -\infty $, condition (42) ensures that ${b}_{k}$ goes double exponentially to 0. For $k\to +\infty $, condition (43) makes the argument of the sine function in Equation (47) tend towards $\pi k$. If N is integer, then all k are integer as well, and the sine can be expanded around $sin\left(\pi k\right)=0$. In consequence, $|{b}_{k}|$ goes double exponentially to 0.

#### 5.3. Choosing a Double-exponential Transform

To proceed, the double-exponential transformation must be specified. All ϕ considered by Ooura and Mori [39] have the form
Inserting this in Equation (47), the sine term can be recast to make ${b}_{k}$ robust for large k:
Next, the function η shall be chosen. It must fulfill the conditions
Condition (54) guarantees that numerator and denominator of Equation (51) have a zero at the same location $x=0$. This singularity is removable; the values
are needed to compute ${a}_{0}$ and ${b}_{0}$ for $\nu =0$. Originally, Ooura and Mori [38] had proposed
with $p=3$ or $p=\pi $. The parameter h controls the mesh width in t; it will be determined below in Equation (65). In a later study, Ooura and Mori suggested a more complicated function $\eta \left(x\right)$ that copes better with singularities near the real axis [39]. Since our kernel $g\left(t\right)$ has no such singularities, we stay with the simple form Equation (57), extending it however by a linear term that decelerates the exponential asymptote at equal ${\eta}^{\prime}\left(0\right)$:
Given the poor signal-to-noise ratio $\delta /\u03f5$, it was not possible to find one parameterization for the entire $\beta ,\omega $ domain not covered by series expansions. Therefore, distinct sets of ${a}_{k}$ and ${b}_{k}$ are precomputed for five β ranges, using the parameter set shown in Table 1.

$$\varphi \left(x\right)=\frac{x}{1-exp\left(-\eta \left(x\right)\right)}$$

$${b}_{k}={\varphi}^{\prime}(k-\nu ){(-1)}^{k}sin\left(\frac{\pi (k-\nu )}{{\mathrm{e}}^{\eta (k-\nu )}-1}\right)$$

$$\begin{array}{ccc}& & \eta (x\to -\infty )\to -\infty \mathrm{exponentially}\hfill \end{array}$$

$$\begin{array}{ccc}& & \eta \left(0\right)=0\hfill \end{array}$$

$$\begin{array}{ccc}& & \eta (x\to +\infty )\to \infty \mathrm{exponentially}\hfill \end{array}$$

$$\varphi \left(0\right)=\frac{1}{{\eta}^{\prime}\left(0\right)},\phantom{\rule{1.em}{0ex}}{\varphi}^{\prime}\left(0\right)=\frac{1}{2}\left(1-\frac{{\eta}^{\prime \prime}\left(0\right)}{{\eta}^{\prime}{\left(0\right)}^{2}}\right)$$

$${\eta}_{\mathrm{OM}}\left(k\right):=2p\phantom{\rule{0.166667em}{0ex}}\mathrm{sinh}\left(hk\right)$$

$$\eta \left(k\right):=2p\phantom{\rule{0.166667em}{0ex}}\mathrm{sinh}\left(hk\right)+2qhk$$

#### 5.4. Truncation Error and Mesh Width

There are three sources of errors: Floating-point cancellation, discretization, and truncation. A bound for the floating-point error ${\Delta}_{\mathrm{fp}}\tilde{Y}$ can be estimated as in Equation (34). The discretization error will be controlled by iterative refinement of the grid (Section 5.5).

Truncation errors arise from the introduction of finite summation limits in Equation (50). The truncation error at the lower summation limit is
Provided ${\varphi}^{\prime}\left(k\right)$ does not change its sign for $k<-N$, the absolute-value operator can be omitted, and the integral becomes trivial, yielding
To obtain a bound for the upper truncation error, we start from the trapezoidal sum:
Using Equation (52),
The summands decay faster than in a geometric series so that
similar to Equation (60). Altogether, the truncation error decreases double exponentially with increasing N. Therefore we can request at very little cost a safety factor of $m=10$ or more in the error bound,
which ensures that truncation contributes almost nothing to the overall error. For the same reason we must not care about the non-strict (≲) estimates in Equations (60) and (62).

$${\Delta}_{\mathrm{tr}}^{-}\tilde{Y}=\left|{\int}_{-\infty}^{-N}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}k\phantom{\rule{0.166667em}{0ex}}{\varphi}^{\prime}\left(k\right)cos(\dots )g(\dots )\right|<{\int}_{-\infty}^{-N}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}k\phantom{\rule{0.166667em}{0ex}}\left|{\varphi}^{\prime}\left(k\right)\right|$$

$${\Delta}_{\mathrm{tr}}^{-}\tilde{Y}<\varphi (-N)\lesssim N{\mathrm{e}}^{\eta (-N)}$$

$${\Delta}_{\mathrm{tr}}^{+}\tilde{Y}\simeq \left|\sum _{k=N+1}^{\infty}{b}_{k}g(\dots )\right|$$

$$\Delta}_{\mathrm{tr}}^{+}\tilde{Y}<\sum _{k=N+1+\nu}^{\infty}{\varphi}^{\prime}\left(k\right)\frac{\pi N}{{\mathrm{e}}^{\eta \left(k\right)}-1}\lesssim \sum _{k=N+1}^{\infty}\pi N{\mathrm{e}}^{-\eta \left(k\right)$$

$${\Delta}_{\mathrm{tr}}^{+}\tilde{Y}<\pi N{\mathrm{e}}^{-\eta (+N)}$$

$${\Delta}_{\mathrm{tr}}\tilde{Y}/\tilde{Y}<\delta /m$$

To make use of Equation (64), we need a lower bound for $\tilde{Y}$. From the data shown in Figure 2, we can infer that the lowest $\tilde{Y}$ that needs to be computed numerically is at $\beta =0.1$, $Y=V$; its value is little above ${\tilde{Y}}_{0}:=2\xb7{10}^{-20}$. The choice Equation (58) ensures the asymptotic behavior $\eta \left(x\right)\to \pm q{\mathrm{e}}^{hx}$ for $x\to \pm \infty $. Thence Equation (64) is satisfied by

$$h=\frac{1}{N}ln\left(\frac{1}{q}ln\frac{(\pi +1)mN}{\delta {\tilde{Y}}_{0}}\right)$$

#### 5.5. Iterative Integration

The numeric integration is performed by computing the trapezoidal sum (50) in iterations $n=0,1,\dots $ with increasing mesh size ${N}_{n}$ and decreasing steps ${h}_{n}$,
In
is used, and ${h}_{n}$ is set according to Equation (65).

$${\tilde{Y}}_{n}:=\sum _{k=-{N}_{n}}^{{N}_{n}}{b}_{k}^{n}g\left(\frac{{a}_{k}^{n}}{\omega}\right)$$

`libkww`, the simple iteration scheme
$${N}_{n}={2}^{n}{N}_{0}$$

To estimate the floating-point error, we also need the sum of absolute terms
The discretization error is estimated by comparing the present with the previous result,
The non-strict less-than symbol in this equation is the weakest point of this entire work, opening the door for uncontrolled errors. We therefore depend on heuristic evidence that discretization errors almost never exceed a few δ (Section 6.4). The success criterion is thus
If the latter inequality is fulfilled, the algorithm terminates and returns ${\tilde{Y}}_{n}$. Otherwise, when n reaches a limit ${n}_{\mathrm{lim}}$, the iteration exits with an error code.

$${\tilde{T}}_{n}:=\sum _{k=-{N}_{n}}^{{N}_{n}}\left|{b}_{k}^{n}\right|g\left(\frac{{a}_{k}^{n}}{\omega}\right)$$

$${\Delta}_{\mathrm{di}}\tilde{Y}\lesssim \left|{\tilde{Y}}_{n}-{\tilde{Y}}_{n-1}\right|$$

$${\Delta}_{\mathrm{fp}}\tilde{Y}+{\Delta}_{\mathrm{di}}\tilde{Y}\lesssim \u03f5{\tilde{T}}_{n}+\left|{\tilde{Y}}_{n}-{\tilde{Y}}_{n-1}\right|\le \delta {\tilde{Y}}_{n}$$

#### 5.6. Special Case $\mathbf{\beta}\to \mathbf{2}$

Figure 3 shows ${Q}_{\beta}\left(\omega \right)$ for representative values of β. In the limit $\beta =2$, the cosine transform is just a Gaussian,
whereas for $\beta \lesssim 2$ it has a power-law tail
This qualitative change is also evident from the high ω expansion (21), which becomes useless at $\beta =2$ where $sin(k\beta \pi /2)=0$ for all k. All this is not a problem, but in the ω range between the two series expansions, the numeric quadrature fails to reach the required accuracy because of cancellation. This problem can be remediated to a certain degree by transforming not ${f}_{\beta}\left(t\right)$ but the difference ${f}_{\beta}\left(t\right)-{f}_{2}\left(t\right)$. The result is then added to the analytic transform ${Q}_{2}\left(\omega \right)$. In our implementation, this is done for $1.75<\beta <2$. Even then, for $\beta >1.9$ the integration fails for some ω.

$${Q}_{2}\left(\omega \right)=\frac{\sqrt{\pi}}{2}exp\left(-{\omega}^{2}/4\right)$$

$${Q}_{2-\overline{\beta}}\left(\omega \right)\simeq sin(\overline{\beta}\pi /2)\Gamma (2-\overline{\beta}){\omega}^{-3+\overline{\beta}}\mathrm{for}\text{}\omega \gg 1$$

**Figure 3.**Red lines: Cosine transform ${Q}_{\beta}\left(\omega \right)$ close to the Gaussian limit $\beta \to 2$. Black line: Gaussian $\sqrt{\pi /4}exp(-{\omega}^{2}/4)$.

## 6. Implementation

#### 6.1. Download and Installation

Routines for the computation of ${Q}_{\beta}\left(\omega \right)$, ${V}_{\beta}\left(\omega \right)$ and ${P}_{\beta}\left(\omega \right)$ have been implemented in form of a small library

`libkww`. In order to ensure maximum portability, the programming language C has been chosen. The source code is published under the terms of the GNU General Public License (GPL); other licenses can be negotiated when needed. The source distribution is available as a tar archive. Version 3.0 is deposited as supplementary material to this article. Updates can be found on our institute’s application server at http://apps.jcns.fz-juelich.de/kww; changes are documented in the file`CHANGE_LOG`, which is part of the source distribution.The build procedure is automatized with GNU autotools; the distribution contains all files needed to build the library and some test programs with the standard command sequence

`./configure`,`make`,`sudo make install`. The source code resides in the subdirectory`lib/`. The build process normally produces a static and a dynamic version of the library`libkww`, and installs it to the appropriate location. Besides, a header file`kww.h`is copied to the appropriate`include`directory. Subdirectory`test/`contains programs and scripts used for fine-tuning and testing. Subdirectory`doc/`provides a manual page`kww`(3) in plain old documentation (POD) format. The tools pod2man and pod2html are required to translate it into Unix manual (*roff) and HTML formats.#### 6.2. Application Programming Interface, Error Handling

The application programming interface (API) for computing ${Q}_{\beta}\left(\omega \right)$, ${V}_{\beta}\left(\omega \right)$ and ${P}_{\beta}\left(\omega \right)$ can be summarized as follows:

The letters#include <kww.h> double kwwc (double omega, double beta);double kwws (double omega, double beta);double kwwp (double omega, double beta);

`c`and`s`stand for cosine and sine transform, respectively;`p`stands for the primitive of the cosine transform.If β is outside the allowed range $0.1\le \beta \le 2$, an error message is written to

`stderr`, and`exit`is called with`errno EDOM`. For the cosine transform, the range $1.9<\beta <2.0$ is allowed but not supported: failures of the numeric integration in this range will not be considered bugs. If the numeric integration fails in the non-supported range, kwwc simply returns 0.A failure of the numeric integration in the supported β range is considered a bug. An error message is written to

`stderr`, and`exit`is called with`errno ENOSYS`. Such failures should be reported to the author who will try to fix them by fine tuning the double exponential transform, or by slightly increasing δ. If it turns out that the insufficient signal-to-noise ratio of`long double`versus`double`does not permit to fully exclude occasional failures at isolated $\omega ,\beta $, then the error handling will be changed in future releases. At any moment, the`man`page provides the authoritative documentation.#### 6.3. Low-level Functions

In a few special cases ($\omega =0$, or $\beta =2$ for the cosine transform), the analytically known return value is computed immediately. If $\omega <0$, the absolute value is taken; for the

`kwws`and`kwwp`, a flag is set so that the functions can ultimately return $Y\left(\omega \right)=\pm Y\left(\right|\omega \left|\right)$ for $\omega \gtrless 0$. In the following, as everywhere else in this text, we consider only $\omega >0$.The domain limits ${\tilde{\omega}}^{\mathrm{L},\mathrm{H}}$ are hardcoded in functions

and similar fordouble kwwc_lim_low( double b ); double kwwc_lim_hig( double b );

`kwws`and`kwwp`. If $\omega \le {\tilde{\omega}}_{\mathrm{L}}\left(\beta \right)$ or $\omega \ge {\tilde{\omega}}_{\mathrm{H}}\left(\beta \right)$, the appropriate series expansion is tried. If it returns an error code (return value below 0) the computation falls back to numeric integration. If ω lies between ${\tilde{\omega}}_{\mathrm{L}}$ and ${\tilde{\omega}}_{\mathrm{H}}$, the numeric integration is invoked from the outset.Series expansions and numeric integration are implemented by the functions

and similar fordouble kwwc_low( double w, double b );double kwwc_mid( double w, double b );double kwwc_hig( double w, double b );

`kwws`and`kwwp`. For test purposes, these low-level functions can also be called directly.Since the algorithms for all three functions are very similar, they are implemented jointly: The above functions are no more than thin wrappers around the core functions

where the actual computations are carried out, following the algorithms described above (Section 4.4, Section 5.5), with $\mathtt{kind}=1-2\nu $.double kww__low( double w, double b, int kappa, int mu);double kww__mid( double w, double b, int kind, int mu);double kww__hig( double w, double b, int kappa, int mu);

#### 6.4. Diagnostic Variables and Test Programs

For optimizing and testing the program, it is important to know which algorithm is chosen for given $\omega ,\beta $, and how many terms need to be summed. This information is provided by two global variables in the source file

`kww.c.`Programs linked with`libkww`can access them using extern declarations:The variableextern int kww_algorithm; extern int kww_num_of_terms;

`kww_algorithm`is set to 1, 2, or 3, to indicate whether the low-ω expansion, the numeric integration, or the high-ω expansion has been used. The variable`kww_num_of_terms`counts the evaluations of ${f}_{\beta}$.The test program

`runkww`(source code`runkww.c`in directory`test/`) allows to call the high-level functions of Section 6.2 and the low-level functions of Section 6.3 from the command line. If the program is called without arguments, it prints a help text. Besides the function values ${Q}_{\beta}\left(\omega \right)$ or ${V}_{\beta}\left(\omega \right)$,`runkww`also prints the diagnostic variables described above.The script

`kww_findlims.rb`, written in the Ruby programming language, uses bisection to determine the limits ${\omega}^{\mathrm{L},\mathrm{H}}$ where the series expansion first fails.The program

`kww_countterms`tests the numeric integration within a hardcoded β range and for ω within the limits ${\tilde{\omega}}^{\mathrm{L},\mathrm{H}}$, and prints the average number of evaluations of ${f}_{\beta}$. It has been used to optimize the parameters p and q of the kernel η of the double-exponential transform ϕ (Section 5.3).The script

`kww_checks.rb`performs scans in ω at fixed β, or vice versa, and detects points where the used algorithm or the number of function evaluations has changed. It then checks the continuity of $Y=Q,V,P$ across this border. Results of numerous test runs confirm that violations of monotonicity are extremely rare and never exceed a few δ.## Acknowledgments

I thank S. Busch, T. Franosch, D. Korolkov, and T. Voigtmann for feedback on early manuscript versions, and W. Van Herck for carefully checking the final text.

## References

- Dishon, M.; Weiss, G.H.; Bendler, J.T. Stable Law Densities and Linear Relaxation Phenomena. J. Res. N. B. S
**1985**, 90, 27–40. [Google Scholar] [CrossRef] - Chung, S.H.; Stevens, J.R. Time-dependent correlation and the evaluation of the stretched exponential or Kohlrausch-Williams-Watts function. Am. J. Phys.
**1991**, 59, 1024–1029. [Google Scholar] [CrossRef] - Cardona, M.; Chamberlin, R.V.; Marx, W. The history of the stretched exponential function. Ann. Phys. (Leipzig)
**2007**, 16, 842–845. [Google Scholar] [CrossRef] - Böhmer, R.; Ngai, K.L.; Angell, C.A.; Plazek, D.J. Nonexponential relaxations in strong and fragile glass formers. J. Chem. Phys.
**1993**, 99, 4201–4210. [Google Scholar] [CrossRef] - Phillips, J.C. Anomalous glass transitions and stretched exponential relaxation in fused salts and polar organic compounds. Phys. Rev. E
**1996**, 53, 1732–1739. [Google Scholar] [CrossRef] - Ngai, K.L. Relaxation and Diffusion in Complex Systems; Springer: New York, NY, USA, 2011. [Google Scholar]
- Wiebel, S.; Wuttke, J. Structural relaxation and mode coupling in a non-glassforming liquid: depolarized light scattering in benzene. New J. Phys.
**2002**, 4, 56. [Google Scholar] [CrossRef] - Torre, R.; Bartolini, P.; Righini, R. Structural relaxation in supercooled water by time-resolved spectroscopy. Nature
**2004**, 428, 296–299. [Google Scholar] [CrossRef] [PubMed] - Turton, D.A.; Wynne, K. Crossover from Stretched to Compressed Exponential Relaxations in a Polymer-Based Sponge Phase. J. Chem. Phys.
**2009**, 131, 201101. [Google Scholar] [CrossRef] [PubMed][Green Version] - Berberan-Santos, M.N.; Bodunov, E.N.; Valeur, B. Mathematical functions for the analysis of luminescence decays with underlying distributions 1. Kohlrausch decay function (stretched exponential). Chem. Phys.
**2005**, 315, 171–182. [Google Scholar] - Phillies, G.D.J.; Peczak, P. The ubiquity of stretched-exponential forms in polymer dynamics. Macromolecules
**2002**, 21, 214–220. [Google Scholar] [CrossRef] - Nakamura, H.K.; Sasai, M.; Takano, M. Scrutinizing the squeezed exponential kinetics observed in the folding simulation of an off-lattice Go-like protein model. Chem. Phys.
**2004**, 307, 259–267. [Google Scholar] [CrossRef] - Falus, P.; Borthwick, M.A.; Narayanan, S.; Sandy, A.R.; Mochrie, S.G.J. Crossover from Stretched to Compressed Exponential Relaxations in a Polymer-Based Sponge Phase. Phys. Rev. Lett.
**2006**, 97, 066102. [Google Scholar] [CrossRef] [PubMed] - Hamm, P.; Helbing, J.; Bredenbeck, J. Stretched versus compressed exponential kinetics in α-helix folding. Chem. Phys.
**2006**, 323, 54–65. [Google Scholar] [CrossRef] - Xi, H.; Franzen, S.; Guzman, J.I.; Mao, S. Degradation of magnetic tunneling junctions caused by pinhole formation and growth. J. Magn. Magn. Mat.
**2007**, 319, 60–63. [Google Scholar] [CrossRef] - Laherrère, J.; Sournette, D. Stretched exponential distributions in nature and economy: “fat tails” with characteristic scales. Eur. Phys. J. B
**1998**, 2, 525–539. [Google Scholar] [CrossRef] - Davies, J.A. The individual success of musicians, like that of physicists, follows a stretched exponential distribution. Eur. Phys. J. B
**2002**, 27, 445–447. [Google Scholar] [CrossRef] - Sinha, S.; Raghavendra, S. Hollywood blockbusters and long-tailed distributions—An empirical study of the popularity of movies. Eur. Phys. J. B
**2004**, 42, 293–296. [Google Scholar] [CrossRef] - Götze, W.; Sjögren, L. The glass transition singularity. Z. Phys. B
**1987**, 65, 415–427. [Google Scholar] [CrossRef] - Fuchs, M. The Kohlrausch law as a limit solution to mode coupling equations. J. Non-Cryst. Solids
**1994**, 172–174, 241–247. [Google Scholar] [CrossRef] - Metzler, R.; Klafter, J. From stretched exponential to inverse power-law: fractional dynamics, Cole¨CCole relaxation processes, and beyond. J. Non-Cryst. Solids
**2002**, 305, 81–87. [Google Scholar] [CrossRef] - Götze, W. Complex Dynamics of Glass-Forming Liquids. A Mode-Coupling Theory; Oxford University Press: Oxford, UK, 2009. [Google Scholar]
- Anderssen, R.S.; Husain, S.A.; Loy, R.J. The Kohlrausch function: properties and applications. ANZIAM J.
**2004**, 45, C800–C861. [Google Scholar] - Husain, S.A.; Anderssen, R.S. Modelling the relaxation modulus of linear viscoelasticity using Kohlrausch functions. J. Non-Newton. Fluid Mech.
**2005**, 125, 159–170. [Google Scholar] [CrossRef] - Williams, G.; Watts, D.C. Non-symmetrical dielectric relaxation behaviour arising from a simple empirical decay function. Trans. Faraday Soc.
**1970**, 66, 80–85. [Google Scholar] [CrossRef] - Williams, G.; Watts, D.C.; Dev, S.B.; North, A.M. Further considerations of non symmetrical dielectric relaxation behaviour arising from a simple empirical decay function. Trans. Faraday Soc.
**1971**, 67, 1323–1335. [Google Scholar] [CrossRef] - Lindsey, C.P.; Patterson, G.D. Detailed comparison of the Williams¨C-Watts and Cole-¨CDavidson functions. J. Chem. Phys.
**1980**, 73, 3348–3347. [Google Scholar] [CrossRef] - Montroll, E.W.; Bendler, J.T. On Lévy (or stable) distributions and the Williams-Watts model of dielectric relaxation. J. Stat. Phys.
**1984**, 34, 129–162. [Google Scholar] [CrossRef] - Macdonald, J.R. Accurate fitting of immittance spectroscopy frequency-response data using the stretched exponential model. J. Non-Cryst. Solids
**1997**, 212, 95–116. [Google Scholar] [CrossRef] - Alvarez, F.; Alegría, A.; Colmenero, J. Relationship between the time-domain Kohlrausch-Williams-Watts and frequency-domain Havriliak-Negami relaxation functions. Phys. Rev. B
**1991**, 44, 7306–7312. [Google Scholar] [CrossRef] - Alvarez, F.; Alegría, A.; Colmenero, J. Interconnection between frequency-domain Havriliak-Negami and time-domain Kohlrausch-Williams-Watts relaxation functions. Phys. Rev. B
**1993**, 47, 125–130. [Google Scholar] [CrossRef] - Copson, E.T. Asymptotic Expansions; Cambridge University Press: Cambridge, UK, 1965. [Google Scholar]
- Bleistein, N.; Handelsman, R.A. Asymptotic Expansion of Integrals; Dover Publications: London, UK, 1986. [Google Scholar]
- Wintner, A. The singularities of Cauchy¡¯s distributions. Duke Math. J.
**1941**, 8, 678–681. [Google Scholar] [CrossRef] - Tuck, E.O. A Simple “Filon-trapezoidal” rule. Math. Comput.
**1967**, 21, 239–241. [Google Scholar] [CrossRef] - Mori, M.; Sugihara, M. The double-exponential transformation in numerical analysis. J. Comp. Appl. Math.
**2001**, 127, 287–296. [Google Scholar] [CrossRef] - Mori, M. Discovery of the double exponential transformation and its developments. Publ. RIMS, Kyoto Univ.
**2005**, 41, 897–935. [Google Scholar] [CrossRef] - Ooura, T.; Mori, M. The double exponential formula for oscillatory functions over the half infinite interval. J. Comp. Appl. Math.
**1991**, 38, 353–360. [Google Scholar] [CrossRef] - Ooura, T.; Mori, M. A robust double exponential formula for Fourier-type integrals. J. Comp. Appl. Math.
**1999**, 112, 229–241. [Google Scholar] [CrossRef] - Kubo, R. The fluctuation-dissipation theorem. Rep. Progr. Phys.
**1966**, 29, 255–284. [Google Scholar] [CrossRef] - Doster, W.; Busch, S.; Gaspar, A.M.; Appavou, M.S.; Wuttke, J.; Scheer, H. Dynamical transition of protein-hydration water. Phys. Rev. Lett.
**2010**, 104, 098101. [Google Scholar] [CrossRef] [PubMed] - Scarborough, J.B. Numerical Mathematical Analysis; John Hopkins Press: Baltimore, ML, USA, 1930; The statement about usual truncation errors in asymptotic series is on p. 158 of the 2nd edition (1950), and on p. 164 of the 5th edition (1962). [Google Scholar]
- Charlier, C.L. Die Mechanik des Himmels. Zweiter Band; Veit & Comp.: Leipzig, Germany, 1907. [Google Scholar]
- NIST Digital Library of Mathematical Functions. Available online: http://dlmf.nist.gov, 7.2.5 and 7.7.3 (accessed on 20 November 2012).
- GNU Scientific Library, version GSL-1.15 of 6 May 2011, chapter 7.9. Available online: http://www.gnu.org/software/gsl/manual/html_node/Dawson-Function.html (accessed on 20 November 2012).

## Appendix

## A. Description of Relaxation in Time and Frequency

The use of the Fourier transform to describe dynamic susceptibilities and scattering experiments has its foundations in linear response theory. In this appendix, the relations between response functions, relaxation functions, susceptibilities, correlation functions, and scattering laws shall be briefly summarized.

The linear response $B\left(t\right)$ to a perturbation $A\left(t\right)$ can be written as
Consider first the momentary perturbation $A\left(t\right)=\delta \left(t\right)$. The response is $B\left(t\right)=R\left(t\right)$. Therefore, the memory kernel R is identified as the response function.

$$B\left(t\right)={\int}_{-\infty}^{t}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}{t}^{\prime}\phantom{\rule{0.166667em}{0ex}}R(t-{t}^{\prime})\phantom{\rule{0.166667em}{0ex}}A\left({t}^{\prime}\right)$$

Consider next a perturbation $A\left(t\right)={\mathrm{e}}^{\eta t}\Theta (-t)$ that is slowly switched on and suddenly switched off (Θ is the Heaviside step function, η is sent to ${0}^{+}$ at the end of the calculation). For $t>0$, one obtains $B\left(t\right)=\Phi \left(t\right)$ where Φ is the negative primitive of the response function
Since Φ describes the time evolution after an external perturbation has been switched off, it is called the relaxation function. Kohlrausch’s stretched exponential function is a frequently used approximation for $\Phi \left(t\right)$.

$$R\left(t\right)=-{\partial}_{t}\Phi \left(t\right)$$

Consider finally a periodic perturbation that is switched on adiabatically, $A\left(t\right)=exp(-i\omega t+\eta t)$, implying again the limit $\eta \to {0}^{+}$. Introducing the dynamic susceptibility
the response can be written $B\left(t\right)=\chi \left(\omega \right)A\left(t\right)$. To avoid the differentiation (74) in the integrand, it is more convenient to transform the relaxation function,
This is Equation (4), the starting point of the present work.

$$\chi \left(\omega \right):={\int}_{0}^{\infty}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}t\phantom{\rule{0.166667em}{0ex}}{\mathrm{e}}^{i(\omega +i\eta )t}\phantom{\rule{0.166667em}{0ex}}R\left(t\right)$$

$$F\left(\omega \right):={\int}_{0}^{\infty}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}t\phantom{\rule{0.166667em}{0ex}}{\mathrm{e}}^{i\omega t}\phantom{\rule{0.166667em}{0ex}}\Phi \left(t\right)$$

Partial integration yields a simple relation between χ and F:
In consequence, the imaginary part of the susceptibility, which typically describes the loss peak in a spectroscopic experiment, is given by the real part of the Fourier transform of the relaxation function, $Im\phantom{\rule{3.33333pt}{0ex}}\eta =\omega Re\phantom{\rule{3.33333pt}{0ex}}F\left(\omega \right)$.

$$\chi \left(\omega \right)=\Phi \left(0\right)+i\omega F\left(\omega \right)$$

Up to this point, the only physical input has been Equation (73). To make a connection with correlation functions, more substantial input is needed. Using the full apparatus of statistical mechanics (Poisson brackets, Liouville equation, Boltzmann distribution, Yvon’s theorem), it is found [40] that for classical systems
Pair correlation functions are typically measured in scattering experiments. For instance, inelastic neutron scattering at wavenumber q measures the scattering law $S(q,\omega )$, which is the Fourier transform of the density correlation function,
In contrast to Equations (4) and (75), this is a normal, two-sided Fourier transform. If we let $\langle \rho {(q,t)}^{*}\rho (q,0)\rangle ={\Phi}_{q}\left(t\right)$, then the scattering law $S(q,\omega )$ is

$$\langle A\left(t\right)B\left(0\right)\rangle ={k}_{\mathrm{B}}T\Phi \left(t\right)$$

$$S(q,\omega )=\frac{1}{2\pi}{\int}_{-\infty}^{\infty}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}t\phantom{\rule{0.166667em}{0ex}}{\mathrm{e}}^{i\omega t}\langle \rho {(q,t)}^{*}\rho (q,0)\rangle $$

$$S(q,\omega )=\frac{1}{\pi}\mathrm{Re}\phantom{\rule{0.277778em}{0ex}}{F}_{q}\left(\omega \right)$$

## B. Convolution with a Resolution Function

In an inelastic scattering experiment, the observed spectrum is usually well approximated as a convolution
of the physical spectrum S with the instrumental resolution R. Since the observed spectrum and the observed resolution are both given as histograms on a discrete ω mesh, the convolution integral is normally computed as a sum
This is a reasonable approximation as long as both S and R vary slowly from one ω channel to the next. As for R, this condition should be of no concern: in a well designed spectrometer, the channel width is chosen considerably smaller than the width of R.

$${S}_{R}\left(\omega \right)={\int}_{-\infty}^{+\infty}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}{\omega}^{\prime}\phantom{\rule{0.166667em}{0ex}}R\left({\omega}^{\prime}\right)S(\omega -{\omega}^{\prime})$$

$${S}_{R}\left({\omega}_{i}\right)\simeq \sum _{j}\Delta {\omega}_{j}R\left({\omega}_{j}\right)S({\omega}_{i}-{\omega}_{j})$$

However, the condition is not always fulfilled for S. Typical resolution functions have shapes between Gaussian and Lorentzian. If S is the Fourier transform of a stretched exponential with $\beta <1$, then the top of S can be much sharper than R, while the wings of S exceed those of R and cause noticeable quasielastic scattering (see, e.g., Figure 1 in [41]). In such a case, discrete values, especially the value $S\left(0\right)$, are not representative for entire ω channels. Instead of Equation (82), one needs to compute
The integration must not be carried out explicitly, since

$${S}_{R}\left({\omega}_{i}\right)\simeq \sum _{j}R\left({\omega}_{j}\right){\int}_{-\Delta {\omega}_{j}/2}^{+\Delta {\omega}_{j}/2}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}{\omega}^{\prime}\phantom{\rule{0.166667em}{0ex}}S({\omega}_{i}-{\omega}_{j}+{\omega}^{\prime})$$

`libkww`provides a function`kwwp`that directly yields the primitive Equation (7) of ${Q}_{\beta}\left(\omega \right)=\pi S\left(\omega \right)$, without passing through an evaluation of ${Q}_{\beta}$. In consequence, fit programs should compute resolution-broadened Kohlrausch–Williams–Watts spectra as
$$\pi {S}_{R}\left({\omega}_{i}\right)\simeq \sum _{j}R\left({\omega}_{j}\right)\left[P({\omega}_{i}-{\omega}_{j}+\Delta {\omega}_{j}/2)-P({\omega}_{i}-{\omega}_{j}-\Delta {\omega}_{j}/2)\right]$$

## C. Truncation Error in Small-ω Expansion

In this appendix, an upper bound for the truncation error of the small-ω expansion (14) is derived, improving upon a weaker and unproven estimate in [2]. We consider the cosine transform, and write the Taylor expansion with Lagrange remainder as
with $0\le \xi \le \omega $. Going back to the definitions (5) and (4), we have
The coefficients ${Q}_{\beta}^{\left(k\right)}\left(0\right)$ in Equation (85) are zero for odd k. Therefore we are free to choose n even. In this case, the upper bound derived in Equation (86) equals $|{Q}_{\beta}^{\left(n\right)}\left(0\right)|$ so that we have
In conclusion, the truncation error is not larger than the first neglected term. This proof can be easily transcribed for the sine transform ${V}_{\beta}$, and for the primitive of ${Q}_{\beta}$,

$${Q}_{\beta}\left(\omega \right)=\sum _{k=0}^{n-1}{Q}_{\beta}^{\left(k\right)}\left(0\right)\frac{{\omega}^{k}}{k!}+{Q}_{\beta}^{\left(n\right)}\left(\xi \right)\frac{{\omega}^{n}}{n!}$$

$$\begin{array}{ccc}\left|{Q}_{\beta}^{\left(n\right)}\left(\xi \right)\right|\hfill & =& \left|\mathrm{Re}{F}_{\beta}^{\left(n\right)}\left(\xi \right)\right|\hfill \\ & \le & \left|{F}_{\beta}^{\left(n\right)}\left(\xi \right)\right|\hfill \\ & =& {\displaystyle \left|\frac{{\mathrm{d}}^{n}}{\mathrm{d}{\xi}^{n}}{\int}_{0}^{\infty}\phantom{\rule{0.166667em}{0ex}}\mathrm{d}t\phantom{\rule{0.166667em}{0ex}}{\mathrm{e}}^{i\xi t}{\mathrm{e}}^{-{t}^{\beta}}\right|}\hfill \\ & =& {\displaystyle \left|{\int}_{0}^{\infty}\phantom{\rule{0.166667em}{0ex}}\mathrm{d}t\phantom{\rule{0.166667em}{0ex}}{\left(it\right)}^{n}{\mathrm{e}}^{i\xi t}{\mathrm{e}}^{-{t}^{\beta}}\right|}\hfill \\ & \le & {\displaystyle {\int}_{0}^{\infty}\phantom{\rule{0.166667em}{0ex}}\mathrm{d}t\phantom{\rule{0.166667em}{0ex}}\left|{\left(it\right)}^{n}{\mathrm{e}}^{i\xi t}{\mathrm{e}}^{-{t}^{\beta}}\right|}\hfill \\ & =& {\displaystyle {\int}_{0}^{\infty}\phantom{\rule{0.166667em}{0ex}}\mathrm{d}t\phantom{\rule{0.166667em}{0ex}}{t}^{n}{\mathrm{e}}^{-{t}^{\beta}}}\hfill \\ & =& \left|{F}_{\beta}^{\left(n\right)}\left(0\right)\right|\hfill \end{array}$$

$$\left|{Q}_{\beta}^{\left(n\right)}\left(\xi \right)\frac{{\omega}^{n}}{n!}\right|\le \left|{Q}_{\beta}^{\left(n\right)}\left(0\right)\frac{{\omega}^{n}}{n!}\right|$$

$${P}_{\beta}\left(\omega \right)=\sum _{k=0}^{n-1}{Q}_{\beta}^{\left(k\right)}\left(0\right)\frac{{\omega}^{k+1}}{(k+1)!}+{Q}_{\beta}^{\left(n\right)}\left(\xi \right)\frac{{\omega}^{n+1}}{(n+1)!}$$

## D. Truncation Error in Large-ω Expansion

In this appendix, an upper bound for the truncation error of the large-ω expansion (21) is derived. The following two unproven statements of [2] turn out to be wrong: (i) the most accurate results are obtained by truncating the summation before the smallest term; and (ii) the truncation error is less than twice the first neglected term.

We specialize again to the cosine transform ${Q}_{\beta}\left(\omega \right)$. If we choose $\beta =4/3$ the oscillatory factor $sin(k\beta \pi /2)$ in Equation (21) is zero for $k=3$. If the statements of [2] were correct, then we could stop the summation at $k=2$ with a truncation error of zero for all values of ω. This is obviously wrong. A correct truncation criterion can only be based on the amplitudes ${B}_{k}$; it must disregard the oscillating prefactor $sin(k\beta \pi /2)$.

But even after omitting oscillatory factors the two statements are unfounded. In [2] they are underlaid by a reference to a specific page in a book on numerical analysis [42]. However, that page only says “the error committed is usually less than twice the first neglected term”, followed by a reference to a specific page in a 1907 book on Celestial Mechanics [43]. Going back to this source, we find a rigorous theorem, which however holds only under very restrictive conditions not fulfilled here.

Therefore we have to restart from scratch. We will simplify an argument of Wintner [34], and generalize it to cover not only the convergent case $\beta \le 1$ but also the asymptotic expansion for $\beta >1$.

Substituting $s=\omega t$, the Fourier integral (4) takes the form
We consider the cosine transform ${Q}_{\beta}\left(\omega \right)=\mathrm{Re}{F}_{\beta}\left(\omega \right)$, which we rewrite as ${Q}_{\beta}\left(\omega \right)=G\left({\omega}^{-\beta}\right)/\omega $, introducing the functions
and
The Taylor expansion of $G\left(x\right)$, including the Lagrange remainder, reads
with $0\le \xi \le x$ and
Now, we choose an integration path C in the complex plane consisting of two line segments, s and $s{\mathrm{e}}^{i\varphi}$, and two arcs, $r{\mathrm{e}}^{i\phi}$ and $R{\mathrm{e}}^{i\phi}$, with $0<r\le s\le R<\infty $ and $0\le \phi \le \varphi \le \pi /2$ as shown in Figure 4. The integral of γ along this path is zero:
The contributions of the two arcs tend to 0 as $r\to 0$ and $R\to \infty $. Hence the contributions of the two line segments have equal modulus. This allows us to obtain the following bounds:
At this point we choose ϕ as in Equation (33), which ensures $cos\left(\varphi \beta \right)\ge 0$. The bound
is independent of ξ. The integral is the same as in Equation (11). So we obtain bounds for the truncation error of $G\left(x\right)$
and of ${Q}_{\beta}\left(\omega \right)$,
By taking the imaginary part instead of the real part in Equation (90) the argument is readily adapted to the sine transform, and the same bound Equation (98) is obtained.

$${F}_{\beta}\left(\omega \right)={\omega}^{-1}{\int}_{0}^{\infty}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}s\phantom{\rule{0.166667em}{0ex}}exp\left(is-{\omega}^{-\beta}{s}^{\beta}\right)$$

$$G\left(x\right):=\mathrm{Re}\phantom{\rule{0.166667em}{0ex}}{\int}_{0}^{\infty}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}s\phantom{\rule{0.166667em}{0ex}}\gamma (s,x,0)$$

$$\gamma (s,x,a):={s}^{a}exp\left(is-x{s}^{\beta}\right)$$

$$G\left(x\right)=\sum _{k=0}^{n-1}{G}^{\left(k\right)}\left(0\right)\frac{{x}^{k}}{k!}+{G}^{\left(n\right)}\left(\xi \right)\frac{{x}^{n}}{n!}$$

$${G}^{\left(k\right)}\left(\xi \right)={(-1)}^{k}\phantom{\rule{0.166667em}{0ex}}\mathrm{Re}\phantom{\rule{0.166667em}{0ex}}{\int}_{0}^{\infty}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}s\phantom{\rule{0.166667em}{0ex}}\gamma (s,\xi ,k\beta )$$

$${\int}_{C}\phantom{\rule{0.166667em}{0ex}}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}z\phantom{\rule{0.166667em}{0ex}}\gamma (z,x,a)=0$$

$$\begin{array}{ccc}\left|{G}^{\left(n\right)}\left(\xi \right)\right|\hfill & =& {\displaystyle \left|{(-1)}^{n}\phantom{\rule{0.166667em}{0ex}}\mathrm{Re}\phantom{\rule{0.166667em}{0ex}}{\int}_{0}^{\infty}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}s\phantom{\rule{0.166667em}{0ex}}\gamma (s,\xi ,n\beta )\right|}\hfill \\ & \le & {\displaystyle \left|{\int}_{0}^{\infty}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}s\phantom{\rule{0.166667em}{0ex}}\gamma (s,\xi ,n\beta )\right|}\hfill \\ & =& {\displaystyle \left|{\int}_{0}^{\infty}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}s\phantom{\rule{0.166667em}{0ex}}\gamma (s{\mathrm{e}}^{i\varphi},\xi ,n\beta )\right|}\hfill \\ & \le & {\displaystyle {\int}_{0}^{\infty}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}s\phantom{\rule{0.166667em}{0ex}}\left|\gamma (s{\mathrm{e}}^{i\varphi},\xi ,n\beta )\right|}\hfill \\ & =& {\displaystyle {\int}_{0}^{\infty}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}s\phantom{\rule{0.166667em}{0ex}}\left|{s}^{n\beta}{\mathrm{e}}^{i\varphi n\beta}exp\left(is{\mathrm{e}}^{i\varphi}-\xi {s}^{\beta}{\mathrm{e}}^{i\varphi \beta}\right)\right|}\hfill \\ & =& {\displaystyle {\int}_{0}^{\infty}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}s\phantom{\rule{0.166667em}{0ex}}{s}^{n\beta}exp\left(-ssin\varphi -\xi {s}^{\beta}cos\left(\varphi \beta \right)\right)}\hfill \end{array}$$

$$\left|{G}^{\left(n\right)}\left(\xi \right)\right|\le {\int}_{0}^{\infty}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}s\phantom{\rule{0.166667em}{0ex}}{s}^{n\beta}exp\left(-ssin\varphi \right)$$

$$\left|{G}^{\left(n\right)}\left(\xi \right)\right|\le \frac{\Gamma (n\beta +1)}{{(sin\varphi )}^{n\beta +1}}$$

$${r}_{n}=\frac{1}{\omega}\frac{\Gamma (n\beta +1)}{{(sin\varphi )}^{n\beta +1}}\frac{{\omega}^{-n\beta}}{n!}=\frac{{B}_{n}{\omega}^{-n\beta -1}}{{(sin\varphi )}^{n\beta +1}}=\frac{{u}_{n}}{{(sin\varphi )}^{n\beta +1}}$$

**Figure 4.**Integration path C in the complex plane used to compute an upper bound for ${G}^{\left(k\right)}\left(\xi \right)$.

For the complementary primitive of Q, we make use of ${G}^{\left(0\right)}\left(0\right)$ to write
so that we can use the same bound for $|{G}^{\left(n\right)}\left(\xi \right)|$ as before in Equation (97). This yields a bound for the truncation error of $\overline{P}$,

$${\overline{P}}_{\beta}\left(\omega \right)={\int}_{\omega}^{\infty}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}{\omega}^{\prime}\phantom{\rule{0.166667em}{0ex}}\frac{G\left({\omega}^{\prime -\beta}\right)}{{\omega}^{\prime}}=\sum _{k=1}^{n-1}{G}^{\left(k\right)}\left(0\right)\frac{{\omega}^{-k\beta}}{k!\phantom{\rule{0.166667em}{0ex}}k\beta}+{G}^{\left(n\right)}\left(\xi \right)\frac{{\omega}^{-n\beta}}{n!\phantom{\rule{0.166667em}{0ex}}n\beta}$$

$${r}_{n}=\frac{\Gamma (n\beta +1)}{{(sin\varphi )}^{n\beta +1}}\frac{{\omega}^{-n\beta}}{n!\phantom{\rule{0.166667em}{0ex}}n\beta}=\frac{{B}_{n}{\omega}^{-n\beta}}{n\beta {(sin\varphi )}^{n\beta +1}}=\frac{{u}_{n}}{{(sin\varphi )}^{n\beta +1}}$$

## E. Analytic Solutions for $\mathbf{\beta}=\mathbf{1},\mathbf{2}$

Just for reference, let us note the analytic solutions for $\beta =1,2$:
with the Dawson’s integral [44]
available in the GNU Scientific Library [45]. Analytic solutions also exist for $\beta =1/2$; they involve Fresnel integrals and the Faddeeva function (complex complementary error function) [25].

$$\begin{array}{cccccc}{Q}_{1}\left(\omega \right)\hfill & =\hfill & {\displaystyle \frac{1}{\pi}\frac{1}{1+{\omega}^{2}},\phantom{\rule{1.em}{0ex}}}\hfill & {Q}_{2}\left(\omega \right)\hfill & =\hfill & {\displaystyle \frac{\sqrt{\pi}}{2}exp\left(-\frac{{\omega}^{2}}{4}\right)}\hfill \\ {V}_{1}\left(\omega \right)\hfill & =\hfill & {\displaystyle \frac{1}{\pi}\frac{\omega}{1+{\omega}^{2}},\phantom{\rule{1.em}{0ex}}}\hfill & {V}_{2}\left(\omega \right)\hfill & =\hfill & {\displaystyle {F}_{\text{Dawson}}\left(\frac{\omega}{2}\right)}\hfill \\ {P}_{1}\left(\omega \right)\hfill & =\hfill & {\displaystyle \frac{1}{\pi}\text{arctan}\left(\omega \right),\phantom{\rule{1.em}{0ex}}}\hfill & {P}_{2}\left(\omega \right)\hfill & =\hfill & {\displaystyle \frac{\pi}{2}\phantom{\rule{0.166667em}{0ex}}\text{erf}\left(\frac{\omega}{2}\right)}\hfill \end{array}$$

$${F}_{\text{Dawson}}\left(x\right):=exp(-{x}^{2}){\int}_{0}^{x}\phantom{\rule{-0.166667em}{0ex}}\mathrm{d}t\phantom{\rule{0.166667em}{0ex}}exp\left({t}^{2}\right)$$

© 2012 by the author; licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution license (http://creativecommons.org/licenses/by/3.0/).