rspde.matern.precision
is used for computing the
optimized version of the precision matrix of the
covariance-based rational SPDE approximation of a stationary Gaussian random
fields on \(R^d\) with a Matern covariance function
$$C(h) = \frac{\sigma^2}{2^{\nu-1}\Gamma(\nu)}(\kappa h)^\nu
K_\nu(\kappa h).$$
rspde.matern.precision.opt(
kappa,
nu,
tau,
rspde.order,
dim,
fem_matrices,
graph = NULL,
sharp,
type_rational_approx
)
The precision matrix
Range parameter of the covariance function.
Shape parameter of the covariance function.
Scale parameter of the covariance function.
The order of the rational approximation
The dimension of the domain
A list containing the FEM-related matrices. The list should contain elements C, G, G_2, G_3, etc.
The sparsity graph of the matrices. If NULL, only a vector of the elements will be returned, if non-NULL, a sparse matrix will be returned.
The sparsity graph should have the correct sparsity (costs more to perform a sparsity analysis) or an upper bound for the sparsity?
Which type of rational approximation should be used? The current types are "brasil", "chebfun" or "chebfunLB".