lme4 (version 0.3-2)

pdgradient: Evaluated the pdmatrix gradient

Description

This function is generic. It returns the gradient of the positive definite matrix represented by x with respect to the parameters of x.

Usage

pdgradient(x)

Arguments

x
An object of a suitable class, usually one of the classes that inherit from pdMat.

Value

  • A numeric array of dimension c(dim(x), length(coef(x))) that is the gradient of the pdmatrix represented by x with respect to the parameters of x.

See Also

pdgradNumeric