Description Usage Arguments Functions Examples
Similar to the NFFT, except the cosine/sine transform instead of the
FFT. Note that all values of x
must be in [0,1/2).
1 2 3 4 5 6 7 | nfct_1d(x, f_hat)
nfct_adjoint_1d(x, f, n)
nfst_1d(x, f_hat)
nfst_adjoint_1d(x, f, n)
|
x |
(real) vector of nodes of length |
f_hat |
(complex) vector of f_hat entries -
(of length |
f |
frequencies for adjoint, same length as |
n |
number of frequencies for transform, specified for adjoint. |
nfct_adjoint_1d
: The adjoint transform
nfst_1d
: The sine transform
nfst_adjoint_1d
: The adjoint sine transform
1 2 3 4 5 6 7 8 9 10 | set.seed(20190722)
x <- runif(19) * 0.5
f_hat = runif(14)
nfct_1d(x, f_hat)
nfst_1d(x, f_hat)
f <- nfct_1d(x, f_hat)
g <- nfst_1d(x, f_hat)
nfct_adjoint_1d(x,f,14)
nfst_adjoint_1d(x,g,14) # note the length!
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.