Convert the support of a given function 1-D or 2-D function from fromGrid
to toGrid
.
Both grids need to be sorted. This is an interpolation/convenience function.
ConvertSupport(
fromGrid,
toGrid,
mu = NULL,
Cov = NULL,
phi = NULL,
isCrossCov = FALSE
)
vector of points with input grid to interpolate from
vector of points with the target grid to interpolate on
any vector of function to be interpolated
a square matrix supported on fromGrid * fromGrid, to be interpolated to toGrid * toGrid.
any matrix, each column containing a function to be interpolated
logical, indicating whether the input covariance is a cross-covariance. If so then the output is not made symmetric.