Description Usage Arguments Details Value Author(s) Examples
1-D NFFT solver
1 | nfft_solver_1d(x, f, n, eps = 1e-12, iterations = 10)
|
x |
input vector (real, length |
f |
Outputted Fourier coefficients (complex, length |
n |
Number of coefficients for the inverse - must be even. |
eps |
convergence criterion |
iterations |
number of iterations for solve to run (at most) |
Unlike in the case of the equispaced Fourier transform, the adjoint is NOT the inverse of the non-equispaced Fourier transform. The solution must be found numerically.
vector of length n
of solutions f_hat.
Geoffrey Z. Thompson
1 2 3 4 5 6 7 8 | set.seed(20190722)
x = runif(8) - 0.5
f = 1:8
for(i in 1:8) f[i] = runif(1)*1i + runif(1)
x
f
nfft_solver_1d(x,f,16,1e-35,8)
nfft_1d(x, nfft_solver_1d(x,f,16,eps = 1e-35))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.