nll_closed: Create a taper setup for an Eigen sparse matrix

Description Usage Arguments Value Examples

View source: R/0functions.R

Description

Generate the storage information we'll need to create a sparse eigen matrix

Usage

1
nll_closed(x, d, z, n)

Arguments

x

A double that represents rho, which is the scaling parameter of the exponential covariance function

d

A matrix that is a symmetric distance matrix.

z

A vec that contains the finite number of observations

n

A double that indicates the number of rows/cols of the matrix.

Value

A double

Examples

1
2
3
data(anom1962)
d = rdist_earth1(head(loc))
nll_arma(20, d, z, n)

coatless/pims_bigdata documentation built on May 13, 2019, 8:46 p.m.