From f93a66f44e3d8942b671eed6ae6b697e3330e109 Mon Sep 17 00:00:00 2001 From: conrad Date: Tue, 7 Feb 2023 14:33:53 +1000 Subject: [PATCH] mention optional use of fftw3 --- docs.html | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 56 insertions(+), 2 deletions(-) diff --git a/docs.html b/docs.html index 401c326e..09de813a 100644 --- a/docs.html +++ b/docs.html @@ -14484,9 +14484,17 @@ The optional n argument specifies the transform length: If n is not specified, the transform length is the same as the length of the input vector
-
  • Caveat: the transform is fastest when the transform length is a power of 2, eg. 64, 128, 256, 512, 1024, ...
  • +
  • +By default, an internal FFT algorithm based on KISS FFT is used; +the FFTW3 library can be optionally used instead by defining ARMA_USE_FFTW3 before including the armadillo header:
    -
  • The implementation of the transform in this version is preliminary; it is not yet fully optimised
  • + +#define ARMA_USE_FFTW3 +
    #include <armadillo> +
    + +
    +
  • Caveat: the transform is fastest when the transform length is a power of 2, eg. 64, 128, 256, 512, 1024, ...

  • Examples: @@ -18949,6 +18957,51 @@ Disable the use of the HDF5 library; overrides ARMA_USE_HDF5 +ARMA_USE_FFTW3 + + +   + + +Enable use of the FFTW3 library by fft() and ifft(); +you will need to link with the FFTW3 library (eg. -lfftw3) + + + + +   + + +   + + +   + + + + +ARMA_DONT_USE_FFTW3 + + +   + + +Disable the use of the FFTW3 library; overrides ARMA_USE_FFTW3 + + + + +   + + +   + + +   + + + + ARMA_DONT_USE_STD_MUTEX @@ -19625,6 +19678,7 @@ List of additions and changes for each version:
  • Version 12.0: