Next Article in Journal
An Intelligent Optimization System Using Neural Networks and Soft Computing for the FMM Etching Process
Previous Article in Journal
Disaster in the Headlines: Quantifying Narrative Variation in Global News Using Topic Modeling and Statistical Inference
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Efficient Application of the Voigt Functions in the Fourier Transform

by
Sanjar M. Abrarov
1,2,3,
Rehan Siddiqui
2,3,4,*,
Rajinder K. Jagpal
2,4 and
Brendan M. Quine
1,3,4
1
Thoth Technology Inc., Algonquin Radio Observatory, Achray Road, RR6, Pembroke, ON K8A 6W7, Canada
2
Epic College of Technology, 5670 McAdam Rd., Mississauga, ON L4Z 1T2, Canada
3
Department Earth and Space Science and Engineering, York University, 4700 Keele St., Toronto, ON M3J 1P3, Canada
4
Department Physics and Astronomy, York University, 4700 Keele St., Toronto, ON M3J 1P3, Canada
*
Author to whom correspondence should be addressed.
Mathematics 2025, 13(13), 2048; https://doi.org/10.3390/math13132048
Submission received: 21 May 2025 / Revised: 14 June 2025 / Accepted: 18 June 2025 / Published: 20 June 2025
(This article belongs to the Section E: Applied Mathematics)

Abstract

:
In this work, we develop a method for rational approximation of the Fourier transform (FT) based on the real and imaginary parts of the complex error function w ( z ) = e z 2 ( 1 erf ( i z ) ) = K ( x , y ) + i L ( x , y ) , z = x + i y , where K ( x , y ) and L ( x , y ) are known as the Voigt and imaginary Voigt functions, respectively. In contrast to our previous rational approximation of the FT, the expansion coefficients in this method are not dependent on the values of a sampled function. As the values of the Voigt functions remain the same, this approach can be used for rapid computation with help of look-up tables. Mathematica codes with some examples are presented.

1. Introduction

The forward and inverse Fourier transforms (FTs) can be defined in a symmetric form as [1,2]
F f ( t ) ( ν ) = f ( t ) e 2 π i ν t d t = f ^ ( ν )
and
F 1 f ^ ( ν ) ( t ) = f ^ ( ν ) e 2 π i ν t d ν = f ( t ) ,
respectively. In this work, we will consider only the forward FT (1) since due to symmetric form the approximations for the inverse FT (IFT) (2) can be readily obtained from the forward FT by change of the variables.
Equation (2) shows how the function f ^ ( ν ) is transformed from ν -domain (e.g., frequency domain) back to its original t-domain (e.g., time domain). More generally, however, the IFT is also applicable for transformation from t-domain to ν -domain. This can be written conveniently in a shorthand notation as
F 1 Ω ( t ) ( ν ) = Ω ^ 1 ( ν ) ,
where Ω ( t ) is an arbitrary function with t-domain.
There are relations between a function f ( t ) and its even f e v e n ( t ) and odd f o d d ( t ) components. In particular, the even and odd functions can be readily generated by using the following relations
f e v e n ( t ) = f ( t ) + f ( t ) 2
and
f o d d ( t ) = f ( t ) f ( t ) 2
such that
f ( t ) = f e v e n ( t ) + f o d d ( t ) .
Therefore, due to the linearity of the FT we can also state that
f ^ ( ν ) = f ^ e v e n ( ν ) + f ^ o d d ( ν ) .
Using Euler’s identity
e i x = cos ( x ) + i sin ( x ) ,
we can express Equation (1) as
F f ( t ) ( ν ) = f ( t ) cos ( 2 π ν t ) i sin ( 2 π ν t ) d t
Since an even function satisfies the condition
f e v e n ( t ) = f e v e n ( t ) ,
it follows that
f e v e n ( t ) cos ( 2 π ν t ) d t = 2 0 f e v e n ( t ) cos ( 2 π ν t ) d t
and
f e v e n ( t ) sin ( 2 π ν t ) d t = 0 .
Since an odd function satisfies the condition
f o d d ( t ) = f o d d ( t ) ,
we have
f o d d ( t ) cos ( 2 π ν t ) d t = 0
and
f o d d ( t ) sin ( 2 π ν t ) d t = 2 0 f o d d ( t ) sin ( 2 π ν t ) d t .
Consequently, from these relations and Equations (5) and (6) we get the following identities
F f e v e n ( t ) ( ν ) = 2 0 f e v e n ( t ) cos ( 2 π ν t ) d t = f ^ e v e n ( ν )
and
F f o d d ( t ) ( ν ) = 2 i 0 f o d d ( t ) sin ( 2 π ν t ) d t = f ^ o d d ( ν ) .
Equations (9) and (10) are of primary importance since they will be used in derivation of the new approximation of the FT.
In a recent publication, we developed a new methodology providing a rational approximation of the FT [3]. Specifically, the FT of a function f(t) can be approximated as a rational function consisting of low-order polynomials, 3 × 4, in form
f ^ ( ν ) m = 1 M α m + β m ν 2 κ m + λ m ν 2 + ν 4 i γ m ν + θ m ν 3 κ m + λ m ν 2 + ν 4 = m = 1 M α m i γ m ν + β m ν 2 i θ m ν 3 κ m + λ m ν 2 + ν 4 ,
where expansion coefficients are given by
α m = 1 8 M π 4 n = N N f e v e n ( n h ) e n h σ μ m 2 + σ 2 σ cos ( n h μ m ) + μ m sin ( n h μ m ) , β m = 1 2 M π 2 n = N N f e v e n ( n h ) e n h σ σ cos ( n h μ m ) μ m sin ( n h μ m ) ,
γ m = 1 4 M π 3 n = N N f o d d ( n h ) e n h σ σ 2 μ m 2 cos ( n h μ m ) + 2 σ μ m sin ( n h μ m ) , θ m = 1 M π n = N N f o d d ( n h ) e n h σ cos ( n h μ m ) , κ m = 1 16 π 4 μ m 2 + σ 2 2 , λ m = 1 2 π 2 σ 2 μ m 2 , μ m = π ( m 1 / 2 ) M h
and h, σ are fitting parameters.
It should be noted that in our previous publication [4], we de facto applied a rational approximation of the FT. Therefore, a new method of rational approximation, described in our paper [3], is just a generalization of a sampling and integration technique that we proposed earlier in [4] to derive rapid and high-accuracy rational approximations of the complex error function. Specifically, in our earlier publication [5], we found a very useful product-to-sum identity
n = 1 k cos x 2 n = 1 2 k 1 n = 1 2 k 1 cos n 1 / 2 2 k 1 x .
Since according to Euler’s formula for the sinc function (this formula is also attributed to Viète) [6,7]
sinc ( x ) = sin ( x ) x = n = 1 cos x 2 n ,
from Equation (12) it follows that [4]
sinc ( x ) = lim K 1 K n = 1 K cos n 1 / 2 K x ,
where K = 2 k 1 . Consequently, from this limit we can find the following approximation
sinc ( x ) 1 K n = 1 K cos n 1 / 2 K x , K 1
that can be used efficiently as a sampling function [4]. Since in this approximation the integer K is a finite number, we can regard this sampling function as an incomplete cosine expansion of the sinc function.
Applying the sampling function (13) together with a new method of rational approximation based on integration with exponential decay multiplier that we developed in [3,4], we can obtain the rational approximation (11) of the FT. Some examples of rational approximation (11) of the FT are shown in our work [3] and can be visualized by running a provided Matlab code (Matlab code can be copy-pasted from this link: https://arxiv.org/pdf/2001.07533).
There are many methods for rational approximations such as Padé approximation [8,9], minimax approximation [10,11], Remez algorithm [12,13], and so on. However, to the best of our knowledge, a method of rational approximation that we developed in [3] is new and has never been reported in scientific literature.
The small-order polynomials 3 × 4 in quotients of rational approximation (11) may be advantageous for numerical analysis with any kind of computations including matrix manipulations, integrations and differentiations. However, rational approximation (11) requires re-computation of the four expansion coefficients α m , β m , γ m , and θ m every time the sampled function f ( t ) changes. In this work, we propose a new method for rational approximation of the FT based on a sum of the real and imaginary parts of the complex error function [14,15,16]. Such a representation of rational approximation of the FT does not require re-computation when shape of the sampled function f ( t ) changes.

2. Preliminaries

The complex error function, also commonly known as the Faddeeva function, can be defined as [16,17]
w ( z ) = e z 2 1 + 2 i π 0 z e t 2 d t ,
where z = x + i y . Comparing Equation (14) with definition of the error function [14]
erf ( z ) = 2 π 0 z e t 2 d t
one can see that the complex error function can be expressed as [14,18]
w ( z ) = e z 2 1 erf ( i z ) .
Therefore, the complex error function w ( z ) can be considered as a reformulation of the error function erf ( z ) .
Complex error function satisfies the following relation
w ( z ) = 2 e z 2 w ( z ) .
It can be shown that the complex error function is a solution of the following differential equation
w ( z ) + 2 z w ( z ) = 2 i π ,
with initial condition
w ( 0 ) = 1 .
The complex error function w ( z ) is closely related to the complex probability function [15,16]
W ( z ) = i π e t 2 z t d t .
There is a direct relationship between these two functions. In particular, both functions are equal to each other on the upper half of the complex plane [15,16]
w ( z ) = W ( z ) , Im [ z ] > 0 .
Separating the real and imaginary parts of the complex probability function (17) as
W ( z ) = K ( x , y ) + i L ( x , y ) ,
results in
K ( x , y ) = y π e t 2 y 2 + ( x t ) 2 d t
and
L ( x , y ) = 1 π e t 2 ( x t ) y 2 + ( x t ) 2 d t ,
respectively.
The real part K ( x , y ) of the complex probability function is known as the Voigt function that is widely used in atmospheric physics to describe absorption and emission of atmospheric molecules [19,20,21].
The imaginary part L ( x , y ) is also used in various fields of physics and engineering [22,23]. It does not have a specific name. However, following Zaghloul and Ali [18], for convenience we will also refer to the function L ( x , y ) as the imaginary Voigt function.
It is not difficult to show that substituting the following identity [15]
y y 2 + ( x t ) 2 = 0 e y q cos ( x t ) q d q , y > 0 ,
into Equation (18), we obtain [15,24]
K ( x , y ) = 1 π e t 2 y y 2 + ( x t ) 2 d t = 1 π 0 e t 2 e y q cos ( x t ) q d t d q = 1 π 0 e y q e t 2 cos ( x t ) q d t d q
and since
e t 2 cos ( x t ) q d t = π e q 2 / 4 cos ( q x ) ,
we can write
K ( x , y ) = 1 π 0 e t 2 / 4 y t cos ( x t ) d t , y > 0 .
Similarly, substituting the identity
x t y 2 + ( x t ) 2 = 0 e y q sin ( q ( x t ) ) d q , y > 0 ,
into Equation (19) we get [24]
L ( x , y ) = 1 π e t 2 x t y 2 + ( x t ) 2 d t = 1 π 0 e t 2 e y q sin ( x t ) q d t d q = 1 π 0 e y q e t 2 sin ( x t ) q d t d q
and since
e t 2 sin ( x t ) q d t = π e q 2 / 4 sin ( q x ) ,
we have
L ( x , y ) = 1 π 0 e t 2 / 4 y t sin ( x t ) d t , y > 0 .
The sum of the equations above in terms of the real and imaginary parts yields [24]
K ( x , y ) + i L ( x , y ) = 1 π 0 e t 2 / 4 y t cos ( x t ) + i sin ( x t ) d t = 1 π 0 e t 2 / 4 y t e i x t d t = 1 π 0 e t 2 / 4 e ( y i x ) t d t = e ( y i x ) 2 1 erf ( y i x ) .
We can see now that this equation is consistent with Equation (15) of the complex error function w ( z ) .

3. Results and Discussion

3.1. Methodology

Consider the rectangular function (solitary rectangular function) that can be defined as
f r ( t ) = 1 , 1 / 2 < t < 1 / 2 , 1 / 2 , t = 1 / 2 , 0 , otherwise .
This function can be expressed by the following limit:
f r ( t ) = lim k 1 2 t 2 k + 1 .
Consequently, we can approximate the rectangular function by taking sufficiently large value of the parameter k.
Figure 1 shows the rectangular function and its approximation at k = 35 by dashed red and light blue colors, respectively. As we can see, at  k = 35 , Equation (23) approximates the rectangular function reasonably well. Therefore, we can use the following approximation:
f r ( t ) 1 ( 2 t ) 70 + 1
and apply it to perform numerically the FT.
Previously, we have used the following sampling function:
s ( t ) = h c π e t c 2 ,
where h and c are small fitting parameters, for high-accuracy approximation of the complex error function [25]. Thus, applying this sampling function over the points n h to approximation (24), the rectangular function can be approximated as
f r ( t ) n = N N s ( t n h ) f r ( n h ) = h c π n = N N e ( t n h c ) 2 f r ( n h ) = h c π n = N N e 2 n h c 2 t e t c 2 e n h c 2 f r ( n h )
Figure 2 shows the approximations of the rectangular function at different fitting parameters h and c. Specifically, the green curve corresponds to h = 0.065 , c = 0.035 , and N = 25 , the red curve corresponds to h = 0.05 , c = 0.03 , and N = 25 while the light blue curve corresponds to h = 0.02 , c = 0.025 , and N = 25 . The rectangular function is also shown by black dashed curve.
Since the rectangular function f r ( t ) is even, we can use Equation (9) for the FT. Thus, the substitution of approximation (26) into Equation (9) leads to
f ^ r ( ν ) 2 h c π 0 n = N N e t c 2 + 2 n h c 2 t e n h c 2 f r ( n h ) cos ( 2 π ν t ) d t = 2 h π 0 n = N N e t 2 + 2 n h c t e n h c 2 f r ( n h ) cos ( 2 π ν c t ) d t = h π 0 n = N N e t 2 4 n h c t e n h c 2 f r ( n h ) cos ( π ν c t ) d t .
Comparing the approximation above with Equation (21), one can see that the FT of the rectangular function (23) can be expressed in terms of the Voigt function
f ^ r ( ν ) h n = N N e n h c 2 f r ( n h ) K π ν c , n h c .
As a simple example for an odd function, we can consider the sawtooth function (solitary sawtooth function)
f s ( t ) = t f r ( t ) = t , 1 / 2 < t < 1 / 2 , 1 / 4 , t = 1 / 2 , 1 / 4 , t = 1 / 2 , 0 , otherwise .
Since this function can be express though the following limit
f s ( t ) = t lim k 1 ( 2 t ) 2 k + 1 ,
we can approximate it by multiplying t with Equation (24) as follows
f s ( t ) t 1 ( 2 t ) 70 + 1 .
Figure 1 shows the sawtooth function (28) and its approximation (29) by black and light green curves, respectively.
Applying the sampling function (25) over the points n h to approximation (29), we obtain
f s ( t ) n = N N s ( t n h ) f s ( n h ) = h c π n = N N e ( t n h c ) 2 f s ( n h ) = h c π n = N N e 2 n h c 2 t e t c 2 e n h c 2 f s ( n h ) .
Consequently, the FT of the sawtooth function (28) can be approximated as
f ^ s ( ν ) 2 i h c π 0 n = N N e t c 2 + 2 n h c 2 t e n h c 2 f s ( n h ) sin ( 2 π ν t ) d t = 2 i h π 0 n = N N e t 2 + 2 n h c t e n h c 2 f s ( n h ) sin ( 2 π ν c t ) d t = i h π 0 n = N N e t 2 4 n h c t e n h c 2 f s ( n h ) sin ( π ν c t ) d t .
Comparing this equation with the imaginary Voigt function (22), we can rearrange equation above as
f ^ s ( ν ) i h n = N N e n h c 2 f s ( n h ) L π ν c , n h c .
The applied methodology for the FTs of the rectangular and sawtooth functions (27) and (30) can be generalized to any even or odd functions as
f ^ e v e n ( ν ) h n = N N e n h c 2 f e v e n ( n h ) K π ν c , n h c
and
f ^ o d d ( ν ) i h n = N N e n h c 2 f o d d ( n h ) L π ν c , n h c .
Due to symmetric properties of the even and odd functions (see Equations (7) and (8)), the number of the summation terms in these approximations can be reduced by a factor of two.
Let us rearrange Equation (31) in the following form
f ^ e v e n ( ν ) h f e v e n ( 0 ) K ( π ν c , 0 ) + n = 1 N e n h c 2 f e v e n ( n h ) K π ν c , n h c + n = N 1 e n h c 2 f e v e n ( n h ) K π ν c , n h c .
Change of summation index as
n = N 1 e n h c 2 f e v e n ( n h ) K π ν c , n h c = n = 1 N e n h c 2 f e v e n ( n h ) K π ν c , n h c
leads to
f ^ e v e n ( ν ) h f e v e n ( 0 ) K ( π ν c , 0 ) + n = 1 N e n h c 2 f e v e n ( n h ) K π ν c , n h c + n = 1 N e n h c 2 f e v e n ( n h ) K π ν c , n h c .
Since according to Equation (7)
e n h c 2 = e n h c 2 ,
f e v e n ( n h ) = f e v e n ( n h ) ,
and since
K ( x , 0 ) = e x 2 K ( π ν c , 0 ) = e ( π ν c ) 2 ,
we can write
f ^ e v e n ( ν ) h f e v e n ( 0 ) e ( π ν c ) 2 + n = 1 N e n h c 2 f e v e n ( n h ) V k π ν c , n h c ,
where
V k π ν c , n h c = K π ν c , n h c + K π ν c , n h c
Equation (32) can be expanded as
f ^ o d d ( ν ) i h f o d d ( 0 ) L ( π ν c , 0 ) + n = 1 N e n h c 2 f o d d ( n h ) L π ν c , n h c + n = N 1 e n h c 2 f o d d ( n h ) L π ν c , n h c
Taking into consideration that
n = N 1 e n h c 2 f o d d ( n h ) L π ν c , n h c = n = 1 N e n h c 2 f o d d ( n h ) L π ν c , n h c
such that according to (8)
f o d d ( n h ) = f o d d ( n h )
and since
L ( π ν c , 0 ) = 0 ,
we can recast Equation (35) as given by
f ^ o d d ( ν ) i h n = 1 N e n h c 2 f o d d ( n h ) L π ν c , n h c + n = 1 N e n h c 2 f o d d ( n h ) L π ν c , n h c
or
f ^ o d d ( ν ) i h [ f o d d ( 0 ) L ( π ν c , 0 ) + n = 1 N e n h c 2 f o d d ( n h ) L π ν c , n h c L π ν c , n h c ]
or
f ^ o d d ( ν ) i h n = 1 N e n h c 2 f o d d ( n h ) V π ν c , n h c ,
where
V π ν c , n h c = L π ν c , n h c L π ν c , n h c .
At first glance, the FT Formulas (33) and (36) may appear computationally costly as they require user defined (external) function files. However, unlike Equation (11), the expansion coefficients V k ( π ν c , n h / c ) and V ( π ν c , n h / c ) , shown by Equations (34) and (37), respectively, do not require re-computations every time when we change the sampled function f ( t ) to any other function. Since the values V k ( π ν c , n h / c ) and V ( π ν c , n h / c ) always remain the same regardless of the shape of the sampled function, these values can be precomputed in form of the look-up tables. Such implementation makes computation rapid as the required values V k ( π ν c , n h / c ) and V ( π ν c , n h / c ) can be instantly picked up from the computer memory during computation of the FT. Furthermore, many algorithms, based on rational approximations, have been developed for rapid and high-accuracy computation of the Voigt/complex error function [26,27,28,29,30,31,32,33,34,35,36]. Therefore, the proposed technique can also be used as an alternative for rational approximation (11) of the FT.

3.2. Numerical Results

The FT of the rectangular function can be readily found by integration as
f ^ r ( ν ) = f r ( t ) e 2 π i ν t d t = 1 / 2 1 / 2 e 2 π i ν t d t = sinc ( π ν ) .
Similarly, we can find the FT of the sawtooth function as follows
f ^ s ( ν ) = f s ( t ) e 2 π i ν t d t = t f r ( t ) e 2 π i ν t d t = 1 / 2 1 / 2 t e 2 π i ν t d t = i π ν cos ( π ν ) sin ( π ν ) 2 π 2 ν 2 ,
We can use these analytical results for comparison with numerical FTs computed by using Equations (33) and (36).
Figure 3 shows numerical FTs of rectangular and the sawtooth functions by light green and magenta curves, respectively. Equations (38) and (39) are also shown by dashed black curves.
Figure 4 illustrates the absolute differences Δ r and Δ s between Equations (38) and (39) and numerical FT approximations (33) and (36) at h = 0.02 , c = 0.025 and N = 25 by blue and red curves, respectively. As we can see from this numerical examples, despite the abrupt behavior of the rectangular and sawtooth functions f r ( t ) and f s ( t ) at t 1 , 2 = ± 1 / 2 , the FT approximations (27) and (30) can provide reasonable accuracies.
The accuracy of the FT can be significantly better for the well-behaved functions. As an example, consider a function
g ( t ) = e ( 6 π t ) 2 sin ( 32 t ) e 7 π t 2 .
The first term of this function is even
g e v e n ( t ) = g ( t ) + g ( t ) 2 = e ( 6 π t ) 2
while its second term is odd
g o d d ( t ) = g ( t ) g ( t ) 2 = sin ( 32 t ) e ( 7 π t ) 2 .
Figure 5 shows the functions g ( t ) , g e v e n ( t ) and g o d d ( t ) by blue, red, and green colors, respectively.
The FTs of even and odd components (41) and (42) can be obtained analytically. In particular, substituting Equations (41) and (42) into FT Formulas (9) and (10) yields
g ^ e v e n ( ν ) = e ν 6 2 6 π
and
g ^ o d d ( ν ) = i 1 14 π e 16 + π ν 7 π 2 e 64 ν 49 π 1 .
Figure 6 depicts the absolute errors Δ e v e n and Δ o d d between Equations (43), (44) and corresponding FT approximations (33) and (36) at h = 0.004 , c = 0.0045 , and N = 30 by the blue and red colors, respectively. As we can see, the absolute differences do not exceed 0.00035 and 0.0005 for the functions and g ^ e v e n ( ν ) and g ^ o d d ( ν ) , respectively, over the wide interval of ν .
It should be noted that further decreases in the values h, c and increases in the integer N can significantly improve the accuracy. For example, in our previous work [3] we have shown numerical examples where the FT of well-behavior functions can provide absolute difference 10 10 .

3.3. Trigonometric Forms

As previously mentioned, Equations (31), (32) and their variations (33), (36) can be used to implement a rational approximation of the FT. We can also show how to represent these equations in trigonometric forms.
The real part of Equation (16) gives
K ( x , y ) = 2 e x 2 + y 2 cos ( 2 x y ) K ( x , y )
Therefore, Equation (34) can be further simplified as
V k π ν c , n h c = K π ν c , n h c + 2 e ( π ν c ) 2 + n h c cos π ν c , n h c K π ν c , n h c = 2 e ( π ν c ) 2 + n h c cos π ν c , n h c .
leading to
f ^ e v e n ( ν ) h e π ν c 2 f e v e n ( 0 ) + 2 n = 1 N f e v e n ( n h ) cos ( 2 π ν n h )
in accordance with Equation (33).
The imaginary part of Equation (16) provides
L ( x , y ) = 2 e x 2 + y 2 sin ( 2 x y ) + L ( x , y )
Substituting this equation into approximation (37) yields
V π ν c , n h c = L π ν c , n h c 2 e ( π ν c ) 2 + n h c 2 sin ( 2 π ν n h ) L π ν c , n h c = 2 e ( π ν c ) 2 + n h c 2 sin ( 2 π ν n h ) .
This results in
f ^ o d d ( ν ) 2 i h e ( π ν c ) 2 n = 1 N f o d d ( n h ) sin ( 2 π ν n h )
according to Equation (36).
As we can see, Equations (45) and (46) represent trigonometric versions of Equations (33) and (36), respectively. Although the objective of this work is a development of the FT based on rational approximation of the Voigt functions rather than an accelerated computation, it would be interesting to note that despite trigonometric representations, Equations (45) and (46) do not have any advantage over Equations (33) and (36) since all required values V k ( π ν c , n h / c ) and V ( π ν c , n h / c ) as well as cos ( 2 π ν n h ) and sin ( 2 π ν n h ) can be precomputed and saved in computer memory in form of look-up tables. Therefore, both pairs of Equations (33) and (36) or (45) and (46) can be equally used with same computational speed and accuracy at given fitting parameters h, c, and N.
Combining Equations (3), (4), (5), (45), and (46) together, we obtain
f ^ ( ν ) h e ( π ν c ) 2 [ f ( 0 ) + n = 1 N f ( n h ) + f ( n h ) cos ( 2 π ν n h ) i f ( n h ) f ( n h ) sin ( 2 π ν n h ) ]
or
f ^ ( ν ) h e ( π ν c ) 2 f ( 0 ) + n = 1 N f ( n h ) e 2 π i ν n h + f ( n h ) e 2 π i ν n h .
We can see that Equation (47) resembles the discrete Fourier transfer (DFT) [1,2]. However, unlike the DFT, Equation (47) provides non-periodic output (solitary pulse) due to exponential multiplier e ( π ν c ) 2 acting like the Hamming window that sometimes may be introduced to eliminate periodicity in time or frequency domains. Remarkably, this exponential multiplier in Equation (47) was not introduced but appeared naturally in derivation.
Similar to the traditional DFT, the real and imaginary parts of the functions e 2 π i ν n h and e 2 π i ν n h in Equation (47) are harmonic. Consequently, due to presence of these harmonics, we can construct the butterfly diagram for implementation of the fast Fourier transform (FFT) (see chapters 3–5 in [1] showing how the functions e 2 π i ν n h and e 2 π i ν n h can be used to implement FFT if we choose 1 / h = N + 1 ).
In Formula (47), the exponential multiplier e ( π ν c ) 2 does not attenuate the higher frequency components in the FT when the values h, c, and N are properly chosen (this keeps the shape of the solitary pulse undistorted). As we can see from Figure 7a, with  h = 0.004 and N = 30 at c = 0.001 the absolute difference Δ e v e n does not exceed 0.00011 (blue curve) while at c = 0.002 its value increases and exceeds 0.00014 (red curve). However, this does not mean that the smaller value of the fitting parameter c leads to a better result. The higher frequency components contribute to additional spikes in the function replica, calculated according to Equation (47). These equidistantly spanned spikes can be seen from Figure 7b illustrating the function replica at c = 0.001 and c = 0.002 by blue and red curves, respectively. Generally, the best accuracy without undesirable spikes may be obtained when both values c and h are small enough and close to each other and when the integer N is sufficiently large.
Accuracy analysis can be focused on optimization of the fitting parameters h, c and N. Our empirical results show that the Gibbs phenomenon [37,38], occurring as a result of sampling (see oscillations in Figure 2), decreases when h c . However, this does not imply that the best optimization in the rational approximation of the FT can be achieved precisely at h = c since, apart from the sampling, this process also involves integration with respect to the variable ν . Therefore, absolute differences Δ e v e n , Δ o d d for the rational approximation of the FT are functions of four parameters h, c, N, and ν . A slight difference between two small parameters h and c gives us some flexibility in optimization. Furthermore, more complete accuracy analysis should also include consideration of the rational approximations that are used for computing the Voigt functions. Highly accurate algorithms for computation of the Voigt functions require a combination of several different methods of approximations for efficient domain-to-domain coverage over the complex plane (see [26,27,28,29,30,31,32,33,34,35] and literature therein for implementation of different methods of rational approximations). Consequently, optimization and more rigorous numerical analysis on accuracy requires a separate consideration and, therefore, it is beyond the scope of this work.
Thus, based on the results described above the following key results obtained in this study may be highlighted as
  • It is shown that the FT can be expressed in terms of the Voigt functions;
  • Expansion coefficients in rational approximation of the FT always remains the same;
  • Precomputed values of the Voigt functions can be stored in a computer memory in form of the look-up tables;
  • Application of the precomputed values in the look-up tables can be used for more efficient computation of the FT;
  • There is a trigonometric form of the FT based on the Voigt functions.
Figure 8 illustrates a flowchart of the FT by using the look-up tables that can be computed with help of the Voigt functions. Initially, an input function f ( t ) undergoes sampling. After that the discrete sampled function is passed to the module in which the FT occurs. The FT module is linked to the look-up tables and the entire process can be controlled by providing the corresponding fitting parameters. Once the FT is completed, its signal is still discrete. Therefore, at the final stage the interpolation (if required) can be used to fill the gaps between all adjacent points. After interpolation the output function becomes continues. The abbreviations CF and DF shown in the flowchart are for the continuous and discrete functions, respectively.
Examples of the numerical FTs based on Equations (33) and (36) can be validated by running the Mathematica codes, shown in the next section.

4. Mathematica Codes

4.1. Complex Error Function

To compute the complex error function w ( z ) , we can use, for example, the algorithm provided in our work [32]. To cover the entire complex plane with high accuracy of computation, we used only three approximations. We will use four cells to define each equation and to distribute them accordingly on the complex plane.
The first cell below is to define Equation (7) from [32].
Clear[a0, b0, c0, \[CapitalOmega], w1];
         
(* Fitting parameters *)
         
H = 0.25; \[Stigma] = 2.75; M = 25; maxN = 23;
         
(* Expansion coefficients, 1st set *)
         
a0[m_] := a0[m] = ((Sqrt[Pi]*(m - 1/2))/(2*M^2*H))*
  Sum[E^(\[Stigma]^2/4 - n^2*H^2)*Sin[(Pi*(m - 1/2)*
      (n*H + \[Stigma]/2))/(M*H)], {n, -maxN, maxN}];
         
 b0[m_] := b0[m] = (-(I/(M*Sqrt[Pi])))*
    Sum[E^(\[Stigma]^2/4 - n^2*H^2)*Cos[(Pi*(m - 1/2)*
      (n*H + \[Stigma]/2))/(M*H)], {n, -maxN, maxN}];
         
c0[m_] := c0[m] = (Pi*(m - 1/2))/(2*M*H);
         
(* Equation~(7) from Ref. [29] *)
         
\[CapitalOmega][z_] := \[CapitalOmega][z] = Sum[(a0[m] + b0[m]*z)/
  (c0[m]^2 - z^2), {m, 1, M - 2}];
         
 w1[z_] := \[CapitalOmega][z + I*(\[Stigma]/2)];
The second cell is required to instantiate Equation (8) from [32].
Clear[a1, b1, c1, d1, w2];
         
(* Expansion coefficients, 2nd set *)
         
a1[m_] := a1[m] = b0[m]*(((Pi*(m - 1/2))/(2*M*H))^2 -
  (\[Stigma]/2)^2) + I*a0[m]*\[Stigma];
         
b1[m_] := b1[m] = b0[m];
         
c1[m_] := c1[m] = (((Pi*(m - 1/2))/(2*M*H))^2 +
  (\[Stigma]/2)^2)^2;
         
d1[m_] := d1[m] = 2*((Pi*(m - 1/2))/(2*M*H))^2 -
  \[Stigma]^2/2;
   
(* Equation~(8) from Ref. [29] *)
        
w2[z_] := E^(-z^2) + z*Sum[(a1[m] - b1[m]*z^2)/
   (c1[m] - d1[m]*z^2 + z^4), {m, 1, M - 2}];
This third cell is required to define Equation (9) from [32].
Clear[w3];
         
(* Equation~(9) from Ref. [29] *)
w3[z_] := I/(Sqrt[Pi]*(z - 1/(2*(z - 1/(z - 3/
  (2*(z - 2/(z - 5/(2*(z - 3/(z - 7/(2*(z - 4/
    z - 9/(2*(z - 5/(z - 11/(2*z))))))))))))))))));
Once these three equations are instantiated, we need to distribute them correspondingly on the complex plane. The fourth cell below contains code to accomplish this task.
Clear[wUp, w];
         
(* Complex error function for upper complex plane *)
         
wUp[z_] := If[Abs[z] > 8, w3[z],
  If[Im[z] > 0.05*Abs[Re[z]], w1[z], w2[z]]];
         
(* Complex error function for entire complex plane *)
        
w[z_] := If[Im[z] >= 0, wUp[z],
  Conjugate[2*E^-Conjugate[z]^2 - wUp[Conjugate[z]]]];
Now, the code for computation of the complex error function is ready to use.
It should be noted that another Mathematica code for high-accuracy computation of the complex error function can be downloaded from [36]. This code was written by Jan Mangaldan on the bases of three rational approximations described in our publication [33].

4.2. Fourier Transform

The Mathematica codes below consist of six cells. The code shown in the first cell below defines the Voigt function K ( x , y ) and imaginary Voigt function L ( x , y ) , the rectangular function f r ( t ) and the sawtooth function f s ( t ) .
Clear[K,L,fr,fs];
         
          (* Defining K(x,y) and L(x,y) functions *)
         
K[x_, y_] := Re[w[x + I*y]];
L[x_, y_] := Im[w[x + I*y]];
        
(* Rectangular function *)
         
fr[t_] := 1/((2*t)^(2*35) + 1);
         
(* Sawtooth function *)
        
fs[t_] := t*fr[t];
The second cell below generates two look-up tables for the values V k ( π ν c , n h / c ) and V ( π ν c , n h / c ) . It also generates a list of grid points for the parameter ν .
Clear[lookUpTab1, lookUpTab2, nuList];
         
(* Parameters for computation *)
        
h = 0.02; c = 0.025; nMax = 25;
        
(* Computing two look-up tables *)
lookUpTab1 = Table[{K[Pi*\[Nu]*c, (n*h)/c] +
  K[Pi*\[Nu]*c, ((-n)*h)/c]}, {n, 1, nMax},
    {\[Nu], -2*Pi, 2*Pi, 0.1}];
         
lookUpTab2 = Table[{L[Pi*\[Nu]*c, (n*h)/c] -
  L[Pi*\[Nu]*c, ((-n)*h)/c]}, {n, 1, nMax},
    {\[Nu], -2*Pi, 2*Pi, 0.1}];
         
nuList = Table[\[Nu], {\[Nu], -2*Pi, 2*Pi, 0.1}];
The code in the following third cell is needed to format two look-up tables with values V k ( π ν c , n h / c ) and V ( π ν c , n h / c ) for plotting the graphs. It is also required to join V k ( π ν c , n h / c ) and V ( π ν c , n h / c ) values together with corresponding values of the parameter ν .
Clear[ftList1, ftList2];
        
(* Main computations by using look up tables *)
         
ftList1 = Flatten[h*(fr[0]/E^(Pi*nuList*c)^2 +
  Sum[(fr[n*h]*lookUpTab1[n]])/E^((n*h)/c)^2, {n, 1, nMax}])];
      
ftList2 = Flatten[h*Sum[(fs[n*h]*lookUpTab2[n]])/E^((n*h)/c)^2,
  {n, 1, nMax}]];
         
(* Arranging FT data lists *)
ftList1 = Table[{nuList[n]], ftList1[n]]}, {n, 1, Length[nuList]}];
 
ftList2 = Table[{nuList[n]], ftList2[n]]}, {n, 1, Length[nuList]}];
The code in the next fourth cell is required to generate the references in accordance with Equations (38) and (39).
Clear[ftRef1, ftRef2];
      
(* FT references *)
        
ftRef1 = Table[{\[Nu], Sinc[Pi*\[Nu]]}, {\[Nu], -2*Pi, 2*Pi, 0.1}];
     
ftRef2 = Table[{\[Nu], (Pi*\[Nu]*Cos[Pi*\[Nu]] - Sin[Pi*\[Nu]])/(2*
  Pi^2*\[Nu]^2)}, {\[Nu], -2*Pi, 2*Pi, 0.1}];
The code in the fifth cell below produces the graph shown in Figure 3.
(* Plotting the graphs from the data lists *)
     
ListPlot[{ftList1, ftRef1, ftList2, ftRef2}, PlotRange -> All,
  Joined -> True, PlotStyle -> {{Lighter[Green, 0], Thickness[0.005]},
    {Black, Dashed, Thickness[0.0025]}, {Lighter[Magenta, 0.5],
Thickness[0.005]}, {Black, Dashed, Thickness[0.0025]}},
  PlotRange -> {{-2*Pi, 2*Pi}, {-0.3, 1.1}},
    AxesLabel -> {"\[Nu]", None}]
Lastly, the code in following sixth cell applies the derived Formula (47) to generate the same Figure 3 without Voigt functions.
(* Plotting the graphs by using the FT formula (45) *)
     
f[t_] := fr[t] + fs[t];
        
ft[\[Nu]_] := (h*(f[0] + Sum[f[n*h]/E^(2*Pi*I*\[Nu]*n*h) +
    f[(-n)*h]*E^(2*Pi*I*\[Nu]*n*h), {n, 1, nMax}]))/
       E^(Pi*\[Nu]*c)^2;
        
Plot[{Re[ft[\[Nu]]], Sinc[Pi*\[Nu]], Im[ft[\[Nu]]],
  (Pi*\[Nu]*Cos[Pi*\[Nu]] - Sin[Pi*\[Nu]])/(2*(Pi*\[Nu])^2)},
    {\[Nu], -2*Pi, 2*Pi}, PlotRange -> All, PlotStyle ->
      {{Lighter[Green, 0], Thickness[0.005]}, {Black, Dashed,
Thickness[0.0025]}, {Lighter[Magenta, 0.5],
  Thickness[0.005]},{Black, Dashed, Thickness[0.0025]}},
    PlotRange -> {{-2*Pi, 2*Pi}, {-0.3, 1.1}},
      AxesLabel -> {"\[Nu]", None}]
The codes shown in this section can be copy-pasted directly into the Mathematica notebook.

5. Application

In this section, we show how to apply practically the results obtained above. Making change of the variable f f ^ 1 in Equation (47), we have
f ( t ) h e ( π c t ) 2 f ^ 1 ( 0 ) + n = 1 N f ^ 1 ( n h ) e 2 π i n h t + f ^ 1 ( n h ) e 2 π i n h t .
Approximation (48) requires complex numbers in computation. Therefore, its application is not optimal. However, this approximation can be significantly simplified. In particular, according to Equations (45) and (46), the series expansion (48) can also be expressed in form
f ( t ) h e ( π c t ) 2 f ^ e v e n 1 ( 0 ) + 2 n = 1 N f ^ e v e n 1 ( n h ) cos ( 2 π t n h ) i f ^ o d d 1 ( n h ) sin ( 2 π t n h ) .
Since
f ^ e v e n 1 ( ν ) = f ^ 1 ( ν )
and
f ^ o d d 1 ( ν ) = i f ^ 1 ( ν ) ,
from Equation (49) it follows that
f ( t ) h e ( π c t ) 2 f ^ 1 ( 0 ) + 2 n = 1 N f ^ 1 ( n h ) cos ( 2 π t n h ) + f ^ 1 ( n h ) sin ( 2 π t n h ) .
Consider as an example a real valued function
u ( t ) = g ( t ) g ( t )
that according to Equations (43) and (44) is given by
u ( t ) = e t 6 2 6 π e π t + 16 7 π 2 e 64 t 49 π 1 14 π .
Consequently, the IFT of the function (51) can be found by substituting this function into Equation (2). This substitution results in the following IFT
u ^ 1 ( ν ) = e ( 6 π ν ) 2 i e ( 7 π ν ) 2 sin ( 32 ν ) .
Finally, substituting Equation (52) into series expansion (50), we get
u ( t ) h e ( π c t ) 2 1 + 2 n = 1 N e ( 6 π n h ) 2 cos ( 2 π t n h ) e ( 7 π n h ) 2 sin ( 32 n h ) sin ( 2 π t n h ) .
Figure 9a shows Equation (51) and its approximation (53) by light blue and dashed-black curves respectively, computed at h = 0.004 , c = 0.004 and N = 30 . Figure 9b illustrates absolute difference Δ u ( t ) between Equation (51) and its approximation (53). From these results, we can see that a reasonable accuracy can be obtained even at a relatively small numbers of the summation terms. Specifically, with only N = 30 the absolute difference Δ u ( t ) does not exceed 0.0006 .
Equation (50) can be used as an efficient alternative to the traditional Fourier expansion series. In contrast to the Fourier expansion series, this approach is more flexible as it can be used to expand a solitary pulse. Moreover, by taking c = 0 we can use Equation (50) as a complete analog to the traditional Fourier expansion series.
Apart from the absolute difference, we can also evaluate accuracy of approximation (53) by using the relative error that can be defined as
ε = Approximation Reference Reference .
Figure 10 shows the relative error ε for the even and odd terms of Equation (51) by blue and red curves, respectively. As we can see from this figure, within the domain t [ 10 , 10 ] at h = 0.0008 , c = 0.0008 and N = 185 the relative error ε is smaller than the corresponding values of the original function (51) by several orders of the magnitude. Although beyond this domain the relative error rapidly increases, it is possible to extend the domain coverage by further reducing the parameters h, c and increasing the integer N. Therefore, it is a trade-off between the domain coverage and number of the summations terms N.
There is a point of uncertainty shown in Figure 10 by red empty circle located just above the origin. This point of uncertainty in ε appears due to division to zero as the odd term of Equation (51) equals zero when t = 0 .

6. Conclusions

An alternative method of rational approximation of the FT based on the real and imaginary parts of the complex error function (14) is developed. Unlike the rational approximation (11) of the FT, the expansion coefficients V k ( π ν c , n h / c ) and V ( π ν c , n h / c ) in this method do not depend on values of the sampled function f ( t ) . Since the values of the Voigt functions always remain the same, this approach can be used for rapid computation with help of look-up tables. We also show that this rational approximation of the FT can also be rearranged in a trigonometric form (47) with an exponential multiplier e ( π ν c ) 2 acting like the Hamming window that removes periodicity.

Author Contributions

S.M.A. wrote the manuscript and developed the codes. R.K.J., R.S. and B.M.Q. performed data analysis and verifications. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Acknowledgments

The authors wish to thank anonymous reviewers for their constructive comments and recommendations.

Conflicts of Interest

Authors Sanjar M. Abrarov and Brendan M. Quine were employed by the Thoth Technology Inc. The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
FTFourier transform
IFTInverse Fourier transform
DFTDiscrete Fourier transform
FFTFast Fourier transform
CFContinuous function
DFDiscrete function

References

  1. Hansen, E.W. Fourier Transforms: Principles and Applications; John Wiley & Sons: Hoboken, NJ, USA, 2014. [Google Scholar]
  2. Bracewell, R.N. The Fourier Transform and Its Applications, 3rd ed.; McGraw-Hill: New York, NY, USA, 2000. [Google Scholar]
  3. Abrarov, S.M.; Siddiqui, R.; Jagpal, R.K.; Quine, B.M. A rational approximation of the Fourier Transform by integration with exponential decay multiplier. Appl. Math. 2021, 12, 947–962. [Google Scholar] [CrossRef]
  4. Abrarov, S.M.; Quine, B.M. Sampling by incomplete cosine expansion of the sinc function: Application to the Voigt/complex error function. Appl. Math. Comput. 2015, 258, 425–435. [Google Scholar] [CrossRef]
  5. Quine, B.M.; Abrarov, S.M. Application of the spectrally integrated Voigt function to line-by-line radiative transfer modelling, J. Quantit. Spectrosc. Radiat. Transfer. 2013, 127, 37–48. [Google Scholar] [CrossRef]
  6. Kac, M. Statistical Independence in Probability, Analysis and Number Theory; Mathecal Association of America: Washington, DC, USA, 1959. [Google Scholar]
  7. Gearhart, W.B.; Shultz, H.S. The function sin(x)/x. Coll. Math. J. 1990, 21, 90–99. [Google Scholar] [CrossRef]
  8. Baker, G.A., Jr.; Gammel, J.L.; Wills, J.G. An investigation of the applicability of the Padé approximant method. J. Math. Anal. Appl. 1961, 2, 405–418. [Google Scholar] [CrossRef]
  9. Brezenski, C. Extrapolation algorithms and Padé approximations. Appl. Numer. Math. 1996, 20, 299–318. [Google Scholar] [CrossRef]
  10. Filip, S.-I.; Nakatsukasa, Y.; Trefethen, L.N.; Beckermann, B. Rational minimax approximation via adaptive barycentric representations. SIAM J. Sci. Comput. 2018, 40, A2427–A2455. [Google Scholar] [CrossRef]
  11. Nakatsukasa, Y.; Trefethen, L.N. An algorithm for real and complex rational minimax approximation. SIAM J. Sci. Comput. 2020, 42, A3157–A3179. [Google Scholar] [CrossRef]
  12. Pachón, R.; Trefethen, L.N. Barycentric-Remez algorithms for best polynomialap proximation in the chebfun system. BIT Numer. Math. 2009, 49, 721–741. [Google Scholar] [CrossRef]
  13. Hofreither, C. An algorithm for best rational approximation based on barycentric rational interpolation. Numer. Algor. 2021, 88, 365–388. [Google Scholar] [CrossRef]
  14. Abramowitz, M.; Stegun, I. Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables, 9th ed.; Dover: New York, NY, USA, 1972. [Google Scholar]
  15. Armstrong, B.H.; Nicholls, B.W. Emission, Absorption and Transfer of Radiation in Heated Atmospheres; Pergamon Press: New York, NY, USA, 1972. [Google Scholar]
  16. Schreier, F. The Voigt and complex error function: A comparison of computational methods. J. Quant. Spectrosc. Radiat. Transfer. 1992, 48, 743–762. [Google Scholar] [CrossRef]
  17. Armstrong, B.H. Spectrum line profiles: The Voigt function. J. Quant. Spectrosc. Radiat. Transfer. 1967, 7, 61–88. [Google Scholar] [CrossRef]
  18. Zaghloul, M.R.; Ali, A.N. Algorithm 916: Computing the Faddeyeva and Voigt functions. ACM Trans. Math. Soft. 2012, 38, 1–22. [Google Scholar] [CrossRef]
  19. Berk, A.; Hawes, F. Validation of MODTRAN®6 and its line-by-line algorithm. J. Quant. Spectrosc. Radiat. Transfer. 2017, 203, 542–556. [Google Scholar] [CrossRef]
  20. Pliutau, D.; Roslyakov, K. Bytran -|- spectral calculations for portable devices using the HITRAN database. Earth Sci. Inf. 2017, 10, 395404. [Google Scholar] [CrossRef]
  21. Pliutau, D. Combined “Abrarov/Quine-Schreier-Kuntz (AQSK)” algorithm for the calculation of the Voigt function. J. Quant. Spectrosc. Radiat. Transfer. 2021, 272, 107797. [Google Scholar] [CrossRef]
  22. Balazs, N.L.; Tobias, I. Semiclassical dispersion theory of lasers. Phil. Trans. R. Soc. A. 1969, 264, 1–29. [Google Scholar] [CrossRef]
  23. Chan, L.K.P. Equation of atomic resonance for solid-state optics. Appl. Opt. 1986, 25, 1728–1730. [Google Scholar] [CrossRef]
  24. Srivastava, H.M.; Miller, E.A. A unified presentation of the Voigt function. Astrophys. Space Sci. 1987, 135, 111–118. [Google Scholar] [CrossRef]
  25. Abrarov, S.M.; Quine, B.M. A new application of the Fourier transform for rational approximation of the complex error function. J. Math. Res. 2016, 8, 14–23. [Google Scholar] [CrossRef]
  26. Humlíček, J. An efficient method for evaluation of the complex probability function: The Voigt function and its derivatives. J. Quant. Spectrosc. Radiat. Transfer. 1979, 2, 309–313. [Google Scholar] [CrossRef]
  27. Weideman, J.A.C. Computation of the complex error function. SIAM J. Numer. Anal. 1994, 31, 1497–1518. [Google Scholar] [CrossRef]
  28. Wells, R.J. Rapid approximation to the Voigt/Faddeeva function and its derivatives. J. Quant. Spectrosc. Radiat. Transfer. 1999, 62, 29–48. [Google Scholar] [CrossRef]
  29. Letchworth, K.L.; Benner, D.C. Rapid and accurate calculation of the Voigt function. J. Quant. Spectrosc. Radiat. Transfer. 2007, 107, 173–192. [Google Scholar] [CrossRef]
  30. Schreier, F. Optimized implementations of rational approximations for the Voigt and complex error function. J. Quant. Spectrosc. Radiat. Transfer. 2011, 112, 1010–1025. [Google Scholar] [CrossRef]
  31. Schreier, F. The Voigt and complex error function: Humlíček’s rational approximation generalized. Month. Not. R. Astron. Soc. 2018, 479, 3068–3075. [Google Scholar] [CrossRef]
  32. Abrarov, S.M.; Quine, B.M.; Jagpal, R.K. A sampling-based approximation of the complex error function and its implementation without poles. Appl. Numer. Math. 2018, 129, 181–191. [Google Scholar] [CrossRef]
  33. Abrarov, S.M.; Quine, B.M. A rational approximation of the Dawson’s integral for efficient computation of the complex error function. Appl. Math. Comput. 2018, 321, 526–543. [Google Scholar] [CrossRef]
  34. Al Azah, M.; Chandler-Wilde, S.N. Computation of the complex error function using modified trapezoidal rules. SIAM J. Numer. Anal. 2021, 59, 2346–2367. [Google Scholar] [CrossRef]
  35. Thompson, I. Algorithm 1046: An improved recurrence method for the scaled complex error function. ACM Trans. Math. Soft. 2024, 50, 1–18. [Google Scholar] [CrossRef]
  36. Mangaldan, J. Evaluate the Faddeeva Function. Available online: https://tinyurl.com/2bmf9m4f (accessed on 21 March 2025).
  37. Hewitt, E.; Hewitt, R.E. The Gibbs-Wilbraham phenomenon: An episode in Fourier analysis. Arch. Hist. Exact Sci. 1979, 21, 129–160. [Google Scholar] [CrossRef]
  38. Jerri, A.J. The Gibbs Phenomenon in Fourier Analysis, Splines and Wavelet Approximations; Kluwer: Dordrecht, The Netherlands, 1998. [Google Scholar]
Figure 1. Rectangular and sawtooth functions and their approximations. Rectangular and sawtooth functions are shown by dashed red and solid black lines. Even 1 / 2 t 70 + 1 and odd t / 2 t 70 + 1 functions are shown by blue and green curves.
Figure 1. Rectangular and sawtooth functions and their approximations. Rectangular and sawtooth functions are shown by dashed red and solid black lines. Even 1 / 2 t 70 + 1 and odd t / 2 t 70 + 1 functions are shown by blue and green curves.
Mathematics 13 02048 g001
Figure 2. The rectangular function (dashed black curve) and its approximations by sampling at h = 0.065 , c = 0.035 , N = 25 (green curve), h = 0.05 , c = 0.03 , N = 25 (red curve), and h = 0.02 , c = 0.025 , N = 25 (light blue curve).
Figure 2. The rectangular function (dashed black curve) and its approximations by sampling at h = 0.065 , c = 0.035 , N = 25 (green curve), h = 0.05 , c = 0.03 , N = 25 (red curve), and h = 0.02 , c = 0.025 , N = 25 (light blue curve).
Mathematics 13 02048 g002
Figure 3. Fourier transforms of the rectangular and sawtooth functions (dashed black curves) and their approximations (green and magenta curves, respectively).
Figure 3. Fourier transforms of the rectangular and sawtooth functions (dashed black curves) and their approximations (green and magenta curves, respectively).
Mathematics 13 02048 g003
Figure 4. Absolute differences between Equations (38) and (39) and their approximations. Blue curve corresponds to Equation (38), and red curve corresponds to Equation (39).
Figure 4. Absolute differences between Equations (38) and (39) and their approximations. Blue curve corresponds to Equation (38), and red curve corresponds to Equation (39).
Mathematics 13 02048 g004
Figure 5. Equation (40) and its even and odd components (blue, red, and green curves, respectively).
Figure 5. Equation (40) and its even and odd components (blue, red, and green curves, respectively).
Mathematics 13 02048 g005
Figure 6. Absolute differences between Equations (33), (36) and their approximations. Blue curve corresponds to Equation (33), red curve corresponds to Equation (36).
Figure 6. Absolute differences between Equations (33), (36) and their approximations. Blue curve corresponds to Equation (33), red curve corresponds to Equation (36).
Mathematics 13 02048 g006
Figure 7. Absolute differences (a) and function replica (b) at c = 0.001 (blue curves) and c = 0.002 (red curves). The parameters h = 0.004 and N = 30 are the same.
Figure 7. Absolute differences (a) and function replica (b) at c = 0.001 (blue curves) and c = 0.002 (red curves). The parameters h = 0.004 and N = 30 are the same.
Mathematics 13 02048 g007
Figure 8. Flowchart of the FT by using the look-up tables that can be precomputed with help of the Voigt functions. Input and output are continuous functions (CFs). Discrete functions (DFs) are used in the intermediate steps of the FT.
Figure 8. Flowchart of the FT by using the look-up tables that can be precomputed with help of the Voigt functions. Input and output are continuous functions (CFs). Discrete functions (DFs) are used in the intermediate steps of the FT.
Mathematics 13 02048 g008
Figure 9. (a) Equation (51) and its approximation (53), shown by light blue and dashed-black curves, respectively. (b) Absolute difference Δ u ( t ) between Equation (51) and its approximation (53). The following fitting parameters are used: h = 0.004 , c = 0.004 and N = 30 .
Figure 9. (a) Equation (51) and its approximation (53), shown by light blue and dashed-black curves, respectively. (b) Absolute difference Δ u ( t ) between Equation (51) and its approximation (53). The following fitting parameters are used: h = 0.004 , c = 0.004 and N = 30 .
Mathematics 13 02048 g009
Figure 10. Relative error ε for the even (blue) and odd (red) terms of Equation (51) computed at h = 0.0008 , c = 0.0008 and N = 185 . Open circle located at center of the red curve shows the uncertainty point appearing due to division to zero.
Figure 10. Relative error ε for the even (blue) and odd (red) terms of Equation (51) computed at h = 0.0008 , c = 0.0008 and N = 185 . Open circle located at center of the red curve shows the uncertainty point appearing due to division to zero.
Mathematics 13 02048 g010
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Abrarov, S.M.; Siddiqui, R.; Jagpal, R.K.; Quine, B.M. Efficient Application of the Voigt Functions in the Fourier Transform. Mathematics 2025, 13, 2048. https://doi.org/10.3390/math13132048

AMA Style

Abrarov SM, Siddiqui R, Jagpal RK, Quine BM. Efficient Application of the Voigt Functions in the Fourier Transform. Mathematics. 2025; 13(13):2048. https://doi.org/10.3390/math13132048

Chicago/Turabian Style

Abrarov, Sanjar M., Rehan Siddiqui, Rajinder K. Jagpal, and Brendan M. Quine. 2025. "Efficient Application of the Voigt Functions in the Fourier Transform" Mathematics 13, no. 13: 2048. https://doi.org/10.3390/math13132048

APA Style

Abrarov, S. M., Siddiqui, R., Jagpal, R. K., & Quine, B. M. (2025). Efficient Application of the Voigt Functions in the Fourier Transform. Mathematics, 13(13), 2048. https://doi.org/10.3390/math13132048

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop