The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

Version: 1.0-9
Title: Fast FFT and DCT Based on the FFTW Library
Description: Provides a simple and efficient wrapper around the fastest Fourier transform in the west (FFTW) library http://www.fftw.org/.
Depends: R (≥ 3.0.0)
SystemRequirements: fftw3 (>= 3.1.2)
License: GPL-2
RoxygenNote: 6.0.1
NeedsCompilation: yes
Packaged: 2024-09-20 14:31:29 UTC; ligges
Author: Olaf Mersmann [aut], Sebastian Krey [ctb], Uwe Ligges [ctb, cre]
Maintainer: Uwe Ligges <ligges@statistik.tu-dortmund.de>
Repository: CRAN
Date/Publication: 2024-09-20 16:00:02 UTC

Calculate (inverse) DFT using the FFT method

Description

see title

Usage

FFT(x, ..., plan, inverse=FALSE)
IFFT(x, ..., plan, scale=TRUE)
DCT(x, ..., plan, type=1, inverse=FALSE)
IDCT(x, ..., plan, type=1, scale=TRUE)

Arguments

x

(complex) vector to process

...

ignored

plan

FFTW plan, can be missing

inverse

perform inverse transform, provided for fft compatibility.

scale

scale results

type

type of DCT

Author(s)

Olaf Mersmann <olafm@statistik.uni-dortmund.de>

See Also

planFFT

Examples

n <- 2**16
x <- rnorm(n)
p <- planFFT(n)
y <- FFT(x, plan=p)

Mod(x - IFFT(FFT(x)))

Create FFTW plan

Description

see title

Usage

planFFT(n, effort=0)
planDCT(n, type=1, effort=0)

Arguments

n

size of transform

type

type of DCT

effort

how hard fftw tries to find an optimal plan (0 to 3)

Author(s)

Olaf Mersmann <olafm@statistik.uni-dortmund.de>

See Also

FFT and IFFT

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.