
Compute the cross-covariance matrix between observed and new locations
Source:R/func_calibrate.R
gen_Jt.RdEvaluates the exponential GP kernel between observed and new locations,
giving the \(N \times N_{\text{new}}\) cross-covariance block \(J_t\).
The nugget does not enter a cross-covariance, even when a new location
coincides with an observed one; this matches FFBS_predict_exact.
Arguments
- input
Numeric matrix. Coordinates of observed locations (\(N \times d\)).
- input_new
Numeric matrix or vector. Coordinates of new locations (\(N_{\text{new}} \times d\)).
- phi_para
Numeric scalar. Range parameter of the exponential kernel.
- gp_sigma2
Numeric scalar. Marginal variance of the kernel. Defaults to
1.1.- gp_tau2
Numeric scalar. Nugget variance. Not used; kept for compatibility. Defaults to
1e-4.