mc_expm | R Documentation |
Given a matrix U
the function mc_expm
returns the exponential-matrix expm(U) and some auxiliares
matrices to compute its derivatives. This function is based on
the eigen-value decomposition it means that it is very slow.
mc_expm(U, n = dim(U)[1], sparse = FALSE, inverse = FALSE)
U |
A matrix. |
n |
A number specifing the dimension of the matrix U. Default
|
sparse |
Logical defining the class of the output matrix. If
|
inverse |
Logical defining if the inverse will be computed or not. |
A list with Ω = expm(U) its inverse (if
inverse = TRUE
) and auxiliares matrices to compute the
derivatives.
Wagner Hugo Bonat
expm
, eigen
,
link[mcglm]{mc_dexp_gold}
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.