#include "Basic/VectorNumT.hpp"
#include "Basic/FFT.hpp"
#include "Arrays/Array.hpp"
#include "Core/fftn.hpp"
#include <math.h>
Functions | |
int | FFTn (int ndim, const VectorInt &dims, VectorDouble &Re, VectorDouble &Im, int iSign, double scaling) |
Array | evalCovFFTTimeSlice (const VectorDouble &hmax, double time, int N, const std::function< std::complex< double >(VectorDouble, double)> &funcSpectrum) |
Array | evalCovFFTSpatial (const VectorDouble &hmax, int N, const std::function< double(const VectorDouble &)> &funcSpectrum) |
Array evalCovFFTSpatial | ( | const VectorDouble & | hmax, |
int | N, | ||
const std::function< double(const VectorDouble &)> & | funcSpectrum | ||
) |
Array evalCovFFTTimeSlice | ( | const VectorDouble & | hmax, |
double | time, | ||
int | N, | ||
const std::function< std::complex< double >(VectorDouble, double)> & | funcSpectrum | ||
) |
perform the FFT transform for a First-Order Space Time evolution equation
hmax | Maximum spatial distances (Dimension: spatial ndim) |
time | Time of the covariance slice |
N | Discretization number (in each spatial dimension) |
funcSpectrum | External adequate spectrum evaluation function |
int FFTn | ( | int | ndim, |
const VectorInt & | dims, | ||
VectorDouble & | Re, | ||
VectorDouble & | Im, | ||
int | iSign, | ||
double | scaling | ||
) |
Calculate the FFT in a space of dimension N