The Voigt/complex error function (second version)

The function file fadf.m computes the Voigt/complex error function with high accuracy
2,7K téléchargements
Mise à jour 10 juil. 2016

Afficher la licence

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]).

[1] S. M. Abrarov and B. M. Quine, Appl. Math. Comput., 218 (2011) 1894-1902.
[2] S. M. Abrarov and B. M. Quine, arXiv:1205.1768v1 (2012).
[3] W. Gautschi, SIAM J. Numer. Anal., 7 (1970) 187-198.
[4] T. M. Karbach, G. Raven and M. Schiller, arXiv:1407.0748v1 (2014).

Citation pour cette source

Sanjar Abrarov (2024). The Voigt/complex error function (second version) (, MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2009b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
En savoir plus sur Physics dans Help Center et MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version

Minor corrections in comment lines are made..
The second version of the function file 'fadf.m' provides improvement in accuracy at small imaginary argument.

Added screenshot showing the real (blue)and imaginary (red) parts of the Faddeeva function. The real part is known as the Voigt function.