The Faddeeva function or Kramp function is a scaled
complex
Complex commonly refers to:
* Complexity, the behaviour of a system whose components interact in multiple ways so possible interactions are difficult to describe
** Complex system, a system composed of many components which may interact with each ...
complementary
error function,
:
It is related to the
Fresnel integral
250px,
Plots of and . The maximum of is about . If the integrands of and were defined using instead of , then the image would be scaled vertically and horizontally (see below).
The Fresnel integrals and are two transcendental functions n ...
, to
Dawson's integral, and to the
Voigt function
The Voigt profile (named after Woldemar Voigt) is a probability distribution given by a convolution of a Cauchy distribution, Cauchy-Lorentz distribution and a Normal distribution, Gaussian distribution. It is often used in analyzing data from spe ...
.
The function arises in various physical problems, typically relating to electromagnetic responses in complicated media.
* problems involving small-amplitude waves propagating through
Maxwellian plasmas, and in particular appears in the plasma's
permittivity
In electromagnetism, the absolute permittivity, often simply called permittivity and denoted by the Greek letter ''ε'' (epsilon), is a measure of the electric polarizability of a dielectric. A material with high permittivity polarizes more in ...
from which
dispersion relation
In the physical sciences and electrical engineering, dispersion relations describe the effect of dispersion on the properties of waves in a medium. A dispersion relation relates the wavelength or wavenumber of a wave to its frequency. Given t ...
s are derived, hence it is sometimes referred to as the plasma dispersion function
[ (although this name is sometimes used instead for the rescaled function defined by ''Fried and Conte'', 1961]).
* the infrared permittivity
In electromagnetism, the absolute permittivity, often simply called permittivity and denoted by the Greek letter ''ε'' (epsilon), is a measure of the electric polarizability of a dielectric. A material with high permittivity polarizes more in ...
functions of amorphous oxides have resonances (due to phonons) that are sometimes too complicated to fit using simple harmonic oscillators. The Brendel–Bormann oscillator model
The Brendel–Bormann oscillator model is a mathematical formula for the frequency dependence of the complex-valued relative permittivity, sometimes referred to as the dielectric function. The model has been used to fit to the complex refractive in ...
uses an infinite superposition of oscillators having slightly different frequencies, with a Gaussian distribution. The integrated response can be written in terms of the Faddeeva function.
* the Faddeeva function is also used in the analysis of electromagnetic waves of the type used in AM radio. Groundwaves are vertically polarised waves propagating over a lossy ground with finite resistivity and permittivity.
* the Faddeeva function also describes the changes of the neutron cross section
In nuclear physics, the concept of a neutron cross section is used to express the likelihood of interaction between an incident neutron and a target nucleus. The neutron cross section σ can be defined as the area in cm2 for which the number of ...
s of materials as temperature is varied.
Properties
Real and imaginary parts
The decomposition into real and imaginary parts is usually written
:,
where ''V'' and ''L'' are called the real and imaginary ''Voigt functions'', since ''V(x,y)'' is the Voigt profile
The Voigt profile (named after Woldemar Voigt) is a probability distribution given by a convolution of a Cauchy-Lorentz distribution and a Gaussian distribution. It is often used in analyzing data from spectroscopy or diffraction.
Definition ...
(up to prefactors).
Sign inversion
For sign-inverted arguments, the following both apply:
:
and
:
where * denotes complex conjugate.
Relation to the complementary error function
The Faddeeva function evaluated on imaginary arguments equals the scaled complementary error function ():
:,
where erfc is the complementary error function
In mathematics, the error function (also called the Gauss error function), often denoted by , is a complex function of a complex variable defined as:
:\operatorname z = \frac\int_0^z e^\,\mathrm dt.
This integral is a special (non-elementar ...
. For large real ''x'':
:
Derivative
In some applications, it is necessary to know not only the original values of the Faddeeva function, but also its derivative (e.g. in Non-linear least squares regression in spectroscopy). Its derivative is given by:
:
This expression can also be broken down further in terms of changes in the real and imaginary part of the Faddeeva function and . Basically, this requires knowledge about the real and imaginary part of the product . Making use of the above definition , the derivative can therefore be split into partial derivatives with respect to and as follows:
:and
:and
A practical example for the use of these partial derivatives can be found here
Here is an adverb that means "in, on, or at this place". It may also refer to:
Software
* Here Technologies, a mapping company
* Here WeGo (formerly Here Maps), a mobile app and map website by Here Technologies, Here
Television
* Here TV (form ...
.
Integral representation
The Faddeeva function occurs as
:
meaning that it is a convolution of a Gaussian with a simple pole.
History
The function was tabulated by Vera Faddeeva
Vera Faddeeva (russian: Вера Николаевна Фаддеева; Vera Nikolaevna Faddeeva; 1906–1983) was a Soviet mathematician. Faddeeva published some of the earliest work in the field of numerical linear algebra. Her 1950 work, ''Com ...
and N. N. Terentyev in 1954. It appears as nameless function ''w(z)'' in ''Abramowitz and Stegun
''Abramowitz and Stegun'' (''AS'') is the informal name of a 1964 mathematical reference work edited by Milton Abramowitz and Irene Stegun of the United States National Bureau of Standards (NBS), now the ''National Institute of Standards and ...
'' (1964), formula 7.1.3. The name Faddeeva function was apparently introduced by G. P. M. Poppe and C. M. J. Wijers in 1990; previously, it was known as Kramp's function (probably after Christian Kramp).
Early implementations used methods by Walter Gautschi
Walter Gautschi (born December 11, 1927) is a Swiss- American mathematician, known for his contributions to numerical analysis. He has authored over 200 papers in his
area and published four books.
Born in Basel, he has a Ph.D. in mathematics fr ...
(1969–70; ACM Algorithm 363) or by J. Humlicek (1982). A more efficient algorithm was proposed by Poppe and Wijers (1990; ACM Algorithm 680). J.A.C. Weideman (1994) proposed a particularly short algorithm that takes no more than eight lines of MATLAB
MATLAB (an abbreviation of "MATrix LABoratory") is a proprietary multi-paradigm programming language and numeric computing environment developed by MathWorks. MATLAB allows matrix manipulations, plotting of functions and data, implementa ...
code. Zaghloul and Ali pointed out deficiencies of previous algorithms and proposed a new one (2011; ACM Algorithm 916).[M. R. Zaghloul and A. N. Ali, ACM Transactions on Mathematical Software 38(2)15 (2011)] Another algorithm has been proposed by M. Abrarov and B.M. Quine (2011/2012).
Implementations
Two software implementations, which are free for non-commercial use only, were published in ACM Transactions on Mathematical Software
''ACM Transactions on Mathematical Software'' (''TOMS'') is a quarterly scientific journal that aims to disseminate the latest findings of note in the field of numeric, symbolic, algebraic, and geometric computing applications. It is one of the old ...
(TOMS) as Algorithm 680 (in Fortran, later translated into C) and Algorithm 916 by Zaghloul and Ali (in MATLAB
MATLAB (an abbreviation of "MATrix LABoratory") is a proprietary multi-paradigm programming language and numeric computing environment developed by MathWorks. MATLAB allows matrix manipulations, plotting of functions and data, implementa ...
).
A free and open source
Free and open-source software (FOSS) is a term used to refer to groups of software consisting of both free software and open-source software where anyone is freely licensed to use, copy, study, and change the software in any way, and the source ...
C or C++ implementation derived from a combination of Algorithm 680 and Algorithm 916 (using different algorithms for different ''z'') is also available under the MIT License
The MIT License is a permissive free software license originating at the Massachusetts Institute of Technology (MIT) in the late 1980s. As a permissive license, it puts only very limited restriction on reuse and has, therefore, high license comp ...
,[Faddeeva Package]
free/open-source C++ implementation, accessed 13 October 2012. and is maintained as a library package ''libcerf''.
This implementation is also available as a plug-in for Matlab,[ ]GNU Octave
GNU Octave is a high-level programming language primarily intended for scientific computing and numerical computation. Octave helps in solving linear and nonlinear problems numerically, and for performing other numerical experiments using a langu ...
,[ and in ]Python
Python may refer to:
Snakes
* Pythonidae, a family of nonvenomous snakes found in Africa, Asia, and Australia
** ''Python'' (genus), a genus of Pythonidae found in Africa and Asia
* Python (mythology), a mythical serpent
Computing
* Python (pro ...
via Scipy
SciPy (pronounced "sigh pie") is a free and open-source Python library used for scientific computing and technical computing.
SciPy contains modules for optimization, linear algebra, integration, interpolation, special functions, FFT, ...
as scipy.special.wofz
(which was originally the TOMS 680 code, but was replaced due to copyright concerns).
See also
*
References
{{reflist
Gaussian function
Analytic functions