A Module For Computing Matrix Exponentials and Logarithms.
Compute the exponential of a matrix.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Matrix_ps), | intent(in) | :: | InputMat | The input matrix |
||
type(Matrix_ps), | intent(inout) | :: | OutputMat | OutputMat = exp(InputMat) |
||
type(SolverParameters_t), | intent(in), | optional | :: | solver_parameters_in | Parameters for the solver |
Compute the exponential of a matrix using a pade approximation. Be warned, the pade method can result in a lot of intermediate fill.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Matrix_ps), | intent(in) | :: | InputMat | The input matrix |
||
type(Matrix_ps), | intent(inout) | :: | OutputMat | OutputMat = exp(InputMat) |
||
type(SolverParameters_t), | intent(in), | optional | :: | solver_parameters_in | Parameters for the solver |
Compute the exponential of a matrix using a taylor series expansion. This is only really useful if you have a very small spectrum, because quite a bit of scaling is required.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Matrix_ps), | intent(in) | :: | InputMat | The input matrix |
||
type(Matrix_ps), | intent(inout) | :: | OutputMat | OutputMat = exp(InputMat) |
||
type(SolverParameters_t), | intent(in), | optional | :: | solver_parameters_in | Parameters for the solver |
Compute the logarithm of a matrix.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Matrix_ps), | intent(in) | :: | InputMat | The input matrix |
||
type(Matrix_ps), | intent(inout) | :: | OutputMat | OutputMat = exp(InputMat) |
||
type(SolverParameters_t), | intent(in), | optional | :: | solver_parameters_in | Parameters for the solver |
Compute the logarithm of a matrix using a taylor series expansion.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Matrix_ps), | intent(in) | :: | InputMat | The input matrix |
||
type(Matrix_ps), | intent(inout) | :: | OutputMat | OutputMat = exp(InputMat) |
||
type(SolverParameters_t), | intent(in), | optional | :: | solver_parameters_in | Parameters for the solver |