Rcpp_Wendland-class | R Documentation |
Rcpp class which serves as an interface to the C++ implementation of the generalized Wendland covariance function.
Parts of the covariance function require C and C++ dependencies. This Rcpp class serves as an interface to these dependencies.
wend <- new("Rcpp_Wendland")
: Creates an instance of the Rcpp_Wendland class.
wend$setParameters(range, sill, kappa, mu, nugget)
: Set Parameters
wend$setEpsTol(eps)
: set numeric precision.
wend$setIntegrator(abstol, reltol, intervals=0, qag_key=0)
wend$setInterpolatorLinear(num_points, interp_type=0)
wend$compute(d)
: Compute for single value.
wend$computeVector(d)
: Compute for numeric vector.
wend$computeMatrix(d)
: Compute for numeric matrix.
wend$computeMSparse(d)
: Compute for dgCMatrix from Matrix.
wend$computeSpam(index, values)
: Compute for spam object, turned into triplet form using spam::triplet
.
Thomas Caspar Fischer
Dirk Eddelbuettel (2013) Seamless R and C++ Integration with Rcpp. Springer, New York
cov.wendland
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.