Rcpp_Wendland: Class "Rcpp_Wendland"

Rcpp_Wendland-classR Documentation

Class "Rcpp_Wendland"

Description

Rcpp class which serves as an interface to the C++ implementation of the generalized Wendland covariance function.

Details

Parts of the covariance function require C and C++ dependencies. This Rcpp class serves as an interface to these dependencies.

Methods

Constructor

Constructor

wend <- new("Rcpp_Wendland"): Creates an instance of the Rcpp_Wendland class.

Get/Set methods

setParameters

wend$setParameters(range, sill, kappa, mu, nugget): Set Parameters

setEpsTol

wend$setEpsTol(eps): set numeric precision.

Integration options

setIntegratorQNG

wend$setIntegrator(abstol, reltol, intervals=0, qag_key=0)

Interpolation options

setInterpolator

wend$setInterpolatorLinear(num_points, interp_type=0)

Computation

compute

wend$compute(d): Compute for single value.

computeVector

wend$computeVector(d): Compute for numeric vector.

computeMatrix

wend$computeMatrix(d): Compute for numeric matrix.

computeMSparse

wend$computeMSparse(d): Compute for dgCMatrix from Matrix.

computeSpam

wend$computeSpam(index, values): Compute for spam object, turned into triplet form using spam::triplet.

Author(s)

Thomas Caspar Fischer

References

Dirk Eddelbuettel (2013) Seamless R and C++ Integration with Rcpp. Springer, New York

See Also

cov.wendland


GeneralizedWendland documentation built on June 22, 2022, 9:06 a.m.