ndarray
NumPy-friendly multidimensional arrays in C++
Loading...
Searching...
No Matches
Classes | Functions
Fourier Transforms

Fast fourier transforms using the FFTW library. More...

Classes

class  ndarray::FourierTransform< T, N >
 A wrapper for FFTW plans for fast Fourier transforms. More...
 

Functions

template<typename T , int N, int C>
void ndarray::shift (Vector< T, N > const &offset, Array< std::complex< T >, N, C > const &array, int const real_last_dim)
 Perform a Fourier-space translation transform.
 
template<typename T , int N, int C>
void ndarray::differentiate (int n, Array< std::complex< T >, N, C > const &array, int const real_last_dim)
 Numerically differentiate the array in Fourier-space in the given dimension.
 

Detailed Description

Fast fourier transforms using the FFTW library.

Function Documentation

◆ differentiate()

template<typename T , int N, int C>
void ndarray::differentiate ( int  n,
Array< std::complex< T >, N, C > const &  array,
int const  real_last_dim 
)

Numerically differentiate the array in Fourier-space in the given dimension.

◆ shift()

template<typename T , int N, int C>
void ndarray::shift ( Vector< T, N > const &  offset,
Array< std::complex< T >, N, C > const &  array,
int const  real_last_dim 
)

Perform a Fourier-space translation transform.