mc_dexp_gold: Exponential-matrix and its derivatives

Description Usage Arguments Value Author(s) See Also Examples

View source: R/mc_dexp_gold.R

Description

Given a matrix M and its derivative dM the function dexp_gold returns the exponential-matrix expm(M) and its derivative. This function is based on the expm function. It is not really used in the package, but I keep this function to test my own implementation based on eigen values decomposition.

Usage

1
mc_dexp_gold(M, dM)

Arguments

M

A matrix.

dM

A matrix.

Value

A list with two elements: expm(M) and its derivatives.

Author(s)

Wagner Hugo Bonat

See Also

expm, eigen.

Examples

1
2
3
M <- matrix(c(1,0.8,0.8,1), 2,2)
dM <- matrix(c(0,1,1,0),2,2)
mcglm::mc_dexp_gold(M = M, dM = dM)

wbonat/mcglm documentation built on June 23, 2020, 11:06 a.m.