grid_tools
1.9.0
|
Private Member Functions | |
subroutine | expmat (n, a, b, detb) |
Evaluate the exponential, B, of a matrix, A, of degree n. More... | |
subroutine | expmatd (n, a, b, bd, detb, detbd) |
Like expmat, but for the 1st derivatives also. More... | |
subroutine | expmatdd (n, a, b, bd, bdd, detb, detbd, detbdd) |
Like expmat, but for the 1st and 2nd derivatives also. More... | |
|
private |
Evaluate the exponential, B, of a matrix, A, of degree n.
Apply the iterated squaring method, m times, to the approximation to exp(A/(2**m)) obtained as a Taylor expansion of degree L See Fung, T. C., 2004, Int. J. Numer. Meth. Engng, 59, 1273–1286.
[in] | n | order of square matrix A |
[in] | a | input matrix A |
[out] | b | matrix B, the exponential of matrix A |
[out] | detb | determinant of matrix B |
|
private |
Like expmat, but for the 1st derivatives also.
[in] | n | order of square matrix A |
[in] | a | input matrix A |
[out] | b | matrix B, the exponential of matrix A |
[out] | bd | derivative of B wrt elements of A |
[out] | detb | determinant of matrix B |
[out] | detbd | derivative of detb wrt elements of A |
|
private |
Like expmat, but for the 1st and 2nd derivatives also.
[in] | n | order of the matrix A |
[in] | a | input matrix A |
[out] | b | matrix B, exponential of matrix A |
[out] | bd | derivative of B wrt elements of A |
[out] | bdd | 2nd derivative of B wrt elements of A |
[out] | detb | determinant of matrix B |
[out] | detbd | derivative of detb wrt elements of A |
[out] | detbdd | 2nd derivative of detb wrt elements of A |