curvatures_gaussian {nimblewomble}R Documentation

Posterior samples of rates of change (gradients and curvatures) for the Matern kernel with \nu\to\infty producing the squared exponential kernel.

Description

For internal use only.

Usage

curvatures_gaussian(dists.1, dists.2, dists.3, z, phi, sigma2)

Arguments

dists.1

distance matrix generated from coordinates

dists.2

distance of grid from coordinates

dists.3

delta = coordinate - grid

z

posterior samples of Z(s)

phi

posterior samples of \phi

sigma2

posterior samples of \sigma^2

Value

A matrix of posterior samples for the gradient and curvatures. For internal use only.

Author(s)

Aritra Halder <aritra.halder@drexel.edu>,
Sudipto Banerjee <sudipto@ucla.edu>

Examples

## Not run: 
#####################
# Internal use only #
#####################
# Example usage inside of nimblewomble::sprates()
 CG = compileNimble(curvatures_gaussian)
 sprates = CG(dists.1 = distM,
              dists.2 = dist.2,
              dists.3 = dist.3,
              z = z,
              phi = phi,
              sigma2 = sigma2)

## End(Not run)

[Package nimblewomble version 0.1.0 Index]