mc_dexp_gold | R Documentation |
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.
mc_dexp_gold(M, dM)
M |
A matrix. |
dM |
A matrix. |
A list with two elements: expm(M) and its derivatives.
Wagner Hugo Bonat
expm
, eigen
.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.