varVec {kergp}R Documentation

Generic Function: Variance of Gaussian Process at Specific Locations

Description

Generic function returning a variance vector

Usage


varVec(object, X, ...)

Arguments

object

Covariance kernel object.

X

A matrix with d columns, where d is the number of inputs of the covariance kernel. The n rows define a set of sites or locations.

...

Other arguments for methods.

Value

A numeric vector with length nrow(X) containing the variances K(\mathbf{x}, \mathbf{x}) for all the sites \mathbf{x}.


[Package kergp version 0.5.7 Index]