The Voigt/complex error function (second version)
This program file computes the complex error function, also known as the Faddeeva function. The algorithmic implementation utilizes the approximations based on the Fourier expansion [1, 2] and the Laplace continued fraction [3] (see also optimized C++ code from RooFit package in the work [4]).
REFERENCES
[1] S. M. Abrarov and B. M. Quine, Appl. Math. Comput., 218 (2011) 1894-1902.
http://doi.org/10.1016/j.amc.2011.06.072
[2] S. M. Abrarov and B. M. Quine, arXiv:1205.1768v1 (2012).
http://arxiv.org/abs/1205.1768
[3] W. Gautschi, SIAM J. Numer. Anal., 7 (1970) 187-198.
http://www.jstor.org/stable/2949591
[4] T. M. Karbach, G. Raven and M. Schiller, arXiv:1407.0748v1 (2014).
http://arxiv.org/abs/1407.0748
Citation pour cette source
Sanjar Abrarov (2024). The Voigt/complex error function (second version) (https://www.mathworks.com/matlabcentral/fileexchange/47801-the-voigt-complex-error-function-second-version), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- Sciences > Physics >
- MATLAB > Mathematics > Elementary Math > Special Functions > Error Functions >
Tags
Remerciements
A inspiré : zetaf(z), Spectral Curvefitting of Dielectric Constants, voigt line shape fit, WITio
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
2.0.0.0 | Minor corrections in comment lines are made..
|
||
1.1.0.0 | Added screenshot showing the real (blue)and imaginary (red) parts of the Faddeeva function. The real part is known as the Voigt function. |
||
1.0.0.0 |