#include "gstlearn_export.hpp"
#include "Arrays/Array.hpp"
#include <math.h>
#include <complex>
#include <functional>
Functions | |
GSTLEARN_EXPORT int | FFTn (int ndim, const VectorInt &dims, VectorDouble &Re, VectorDouble &Im, int iSign=1, double scaling=1.) |
GSTLEARN_EXPORT Array | evalCovFFTTimeSlice (const VectorDouble &hmax, double time, int N, const std::function< std::complex< double >(VectorDouble, double)> &funcSpectrum) |
GSTLEARN_EXPORT Array | evalCovFFTSpatial (const VectorDouble &hmax, int N, const std::function< double(const VectorDouble &)> &funcSpectrum) |
GSTLEARN_EXPORT Array evalCovFFTSpatial | ( | const VectorDouble & | hmax, |
int | N, | ||
const std::function< double(const VectorDouble &)> & | funcSpectrum | ||
) |
GSTLEARN_EXPORT 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 |
GSTLEARN_EXPORT int FFTn | ( | int | ndim, |
const VectorInt & | dims, | ||
VectorDouble & | Re, | ||
VectorDouble & | Im, | ||
int | iSign, | ||
double | scaling | ||
) |
Calculate the FFT in a space of dimension N