mc_derivative_expm: Derivative of exponential-matrix function

View source: R/mc_derivative_expm.R

mc_derivative_expmR Documentation

Derivative of exponential-matrix function

Description

Compute the derivative of the exponential-matrix covariance link function.

Usage

mc_derivative_expm(dU, UU, inv_UU, Q, n = dim(UU)[1], sparse = FALSE)

Arguments

dU

A matrix.

UU

A matrix.

inv_UU

A matrix.

Q

A numeric vector.

n

A numeric.

sparse

Logical.

Details

Many arguments required by this function are provide by the link[mcglm]{mc_dexpm}. The argument dU is the derivative of the U matrix with respect to the models parameters. It should be computed by the user.

Value

A matrix with the derivative of the exponential matrix covariance link function. The returned object is intended for internal use only.

Author(s)

Wagner Hugo Bonat

See Also

expm, link[mcglm]{mc_dexp_gold} and link[mcglm]{mc_dexpm}.


mcglm documentation built on Jan. 9, 2026, 1:07 a.m.