# covVector.dx

0th

Percentile

##### Spatial covariance - Derivatives

Computes the gradient of the covariance vector c(x) computed by covMat1Mat2 with respect to x, for a given covariance structure.

Keywords
models, internal, optimize
##### Usage
covVector.dx(object, x, X, c)
##### Arguments
object

an object specifying the covariance structure.

x

a vector representing the specific location.

X

a matrix whose columns represent locations.

c

a vector containing the covariances between the location x and the set of locations specified in X (see covMat1Mat2).

##### Value

A vector of real numbers equal to the gradient of c as a function of x.

covMat1Mat2