zufft: Fast Fourier, Cosine and Sine Transforms

Computes discrete Fourier transforms (complex, real-to-complex and complex-to-real) and discrete cosine and sine transforms of types one to four over any axes of an array, with the fast Fourier transform (FFT) code of 'ducc0' (<https://github.com/mreineck/ducc>) bundled in the BSD-licensed subset that 'SciPy' uses. Transforms of any length run in O(n log n) time, real input uses true real transforms, and several threads can share one transform.

Version: 0.1.0
Depends: R (≥ 4.1)
Suggests: fftwtools, knitr, parallel, rmarkdown, testthat (≥ 3.0.0), withr
Published: 2026-10-22
DOI: 10.32614/CRAN.package.zufft (may not be active yet)
Author: Pedro Baltazar [aut, cre, cph], Martin Reinecke [ctb] (ducc0, bundled in src/ducc0), Peter Bell [ctb, cph] (ducc0, bundled in src/ducc0), Max-Planck-Society [cph] (ducc0, bundled in src/ducc0), Matteo Frigo [cph] (odd-sized DCT-IV in src/ducc0/fft/fft1d_impl.h), Massachusetts Institute of Technology [cph] (odd-sized DCT-IV in src/ducc0/fft/fft1d_impl.h), The TensorFlow Authors [cph] (helpers in src/ducc0/infra/threading.cc), SciPy Developers [cph] (fast-length search in src/zff_lengths.cpp, from SciPy)
Maintainer: Pedro Baltazar <pedrobtz at gmail.com>
BugReports: https://github.com/pedrobtz/zufft/issues
License: MIT + file LICENSE
Copyright: See inst/COPYRIGHTS.
zufft copyright details
URL: https://github.com/pedrobtz/zufft, https://pedrobtz.github.io/zufft/
NeedsCompilation: yes
SystemRequirements: C++17
Language: en-GB
Materials: README, NEWS
CRAN checks: zufft results

Documentation:

Reference manual: zufft.html , zufft.pdf
Vignettes: Migrating from fftwtools (source, R code)

Downloads:

Package source: zufft_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): zufft_0.1.0.tgz, r-oldrel (arm64): zufft_0.1.0.tgz, r-release (x86_64): zufft_0.1.0.tgz, r-oldrel (x86_64): zufft_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=zufft to link to this page.