aux_matern: Mean of a (Matern) covariance function (Internal use)

View source: R/RcppExports.R

aux_maternR Documentation

Mean of a (Matern) covariance function (Internal use)

Description

This is an auxiliary function for internal use. It helps to numerically integrate a covariance function evaluated at a grid of points within a polygon and speed-up the computations.

Usage

aux_matern(dist, sigsq, phi, nu)

Arguments

dist

a numeric matrix representing the distance between spatial entities.

sigsq

the \sigma^2 parameter from the Matern covariance function.

phi

the \phi parameter from the Matern covariance function, controls the range of the spatial dependence.

nu

the \nu parameter from the Matern covariance function, controls the differentiability of the process.

Value

The mean of mat_cov(dist, sigsq, phi, nu).


lcgodoy/smile documentation built on Nov. 20, 2024, 12:17 a.m.