I have not implemented a gp_*_cov_rfft2_rng
method yet. But one could probably use normal_rng
together with the gp_inv_rfft2
transform transform to generate samples (see here for details).
Are you thinking of filling in missing values (e.g., interpolation), forecasting (e.g., in a time series setting), or a different problem? I can add something to the list of examples if of interest.
It looks like the main difference is the choice of boundary condition for the basis functions (Dirichlet in the linked paper and periodic with the FFT). But I need to read the Hilbert space approximation paper more carefully.
Will do!
Ah, I missed this one. I wasn’t aware of the non-equispaced fast Fourier transform and will have a look into your paper.
Getting the NUFFT into Eigen and then wrapping in Stan might be an option. But that is probably a more involved long-term project.