'Rcpp' Bindings for the 'Faddeeva' Package

Access to a family of Gauss error functions for arbitrary complex arguments is provided via the 'Faddeeva' package by Steven G. Johnson (see < http://ab-initio.mit.edu/wiki/index.php/Faddeeva_Package> for more information).


Wrapper to the Faddeeva Package by Steven G. Johnson

What is Faddeeva?

The Faddeeva package provides C++ code to compute the various error functions of arbitrary complex arguments, in particular the Faddeeva function, error function, complementary error function, scaled complementary error function and imaginary error function as well as the Dawson function. With these, Voigt functions, Fresnel integrals and more can be computed.

Why this package?

The package was created to provide a fast implementation of the Voigt lineshape, formally defined as the convolution between a Lorentzian and a Gaussian. The imaginary part of the Faddeeva function, properly scaled, provides directly the result.

This package also results in a nice example for creating Rcpp wrappers for a small and self-contained C++ library, in this case a single header file along with a single code file.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("RcppFaddeeva")

0.2.2 by Baptiste AuguiƩ, 4 years ago


https://github.com/nano-optics/RcppFaddeeva


Report a bug at https://github.com/nano-optics/RcppFaddeeva/issues


Browse source code at https://github.com/cran/RcppFaddeeva


Authors: Baptiste AuguiƩ [aut, cre] , Dirk Eddelbuettel [aut] , Steven G. Johnson [aut, cph] (Author of Faddeeva) , Dennis Feehan [ctb]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports Rcpp, stats

Suggests testthat, knitr, rmarkdown

Linking to Rcpp


See at CRAN