|
fortran-lapack
|
Compute the exponential of a square matrix. More...
Public Member Functions | |
| pure real(sp) function, dimension(:,:), allocatable | la_s_expm_fun (a, order) |
Matrix exponential, function form: pure, stops on error. | |
| real(sp) function, dimension(:,:), allocatable | la_s_expm_fun_err (a, order, err) |
| Matrix exponential, function form with a state return flag. | |
| pure real(dp) function, dimension(:,:), allocatable | la_d_expm_fun (a, order) |
Matrix exponential, function form: pure, stops on error. | |
| real(dp) function, dimension(:,:), allocatable | la_d_expm_fun_err (a, order, err) |
| Matrix exponential, function form with a state return flag. | |
| pure complex(sp) function, dimension(:,:), allocatable | la_c_expm_fun (a, order) |
Matrix exponential, function form: pure, stops on error. | |
| complex(sp) function, dimension(:,:), allocatable | la_c_expm_fun_err (a, order, err) |
| Matrix exponential, function form with a state return flag. | |
| pure complex(dp) function, dimension(:,:), allocatable | la_z_expm_fun (a, order) |
Matrix exponential, function form: pure, stops on error. | |
| complex(dp) function, dimension(:,:), allocatable | la_z_expm_fun_err (a, order, err) |
| Matrix exponential, function form with a state return flag. | |
Compute the exponential of a square matrix.
This function computes \( E = e^{A} \) for a real or complex square matrix \( A \), by scaling and squaring with a Pade approximant.
| [in] | A | The input square matrix of size \( [n, n] \). |
| [in] | order | (Optional) Order of the Pade approximant. Default is 10. |
| [out] | err | (Optional) A state return flag. Without it the function is pure, and an error stops execution. |
err is pure; the form with err is not, because a pure function cannot return an error argument. | pure complex(sp) function, dimension(:,:), allocatable la_matrix_functions::expm::la_c_expm_fun | ( | complex(sp), dimension(:,:), intent(in) | a, |
| integer(ilp), intent(in), optional | order ) |
Matrix exponential, function form: pure, stops on error.
| [in] | a | Input matrix a[n,n] |
| [in] | order | [optional] Order of the Pade approximant |
| complex(sp) function, dimension(:,:), allocatable la_matrix_functions::expm::la_c_expm_fun_err | ( | complex(sp), dimension(:,:), intent(in) | a, |
| integer(ilp), intent(in), optional | order, | ||
| type(la_state), intent(out) | err ) |
Matrix exponential, function form with a state return flag.
| [in] | a | Input matrix a[n,n] |
| [in] | order | [optional] Order of the Pade approximant |
| [out] | err | State return flag |
| pure real(dp) function, dimension(:,:), allocatable la_matrix_functions::expm::la_d_expm_fun | ( | real(dp), dimension(:,:), intent(in) | a, |
| integer(ilp), intent(in), optional | order ) |
Matrix exponential, function form: pure, stops on error.
| [in] | a | Input matrix a[n,n] |
| [in] | order | [optional] Order of the Pade approximant |
| real(dp) function, dimension(:,:), allocatable la_matrix_functions::expm::la_d_expm_fun_err | ( | real(dp), dimension(:,:), intent(in) | a, |
| integer(ilp), intent(in), optional | order, | ||
| type(la_state), intent(out) | err ) |
Matrix exponential, function form with a state return flag.
| [in] | a | Input matrix a[n,n] |
| [in] | order | [optional] Order of the Pade approximant |
| [out] | err | State return flag |
| pure real(sp) function, dimension(:,:), allocatable la_matrix_functions::expm::la_s_expm_fun | ( | real(sp), dimension(:,:), intent(in) | a, |
| integer(ilp), intent(in), optional | order ) |
Matrix exponential, function form: pure, stops on error.
| [in] | a | Input matrix a[n,n] |
| [in] | order | [optional] Order of the Pade approximant |
| real(sp) function, dimension(:,:), allocatable la_matrix_functions::expm::la_s_expm_fun_err | ( | real(sp), dimension(:,:), intent(in) | a, |
| integer(ilp), intent(in), optional | order, | ||
| type(la_state), intent(out) | err ) |
Matrix exponential, function form with a state return flag.
| [in] | a | Input matrix a[n,n] |
| [in] | order | [optional] Order of the Pade approximant |
| [out] | err | State return flag |
| pure complex(dp) function, dimension(:,:), allocatable la_matrix_functions::expm::la_z_expm_fun | ( | complex(dp), dimension(:,:), intent(in) | a, |
| integer(ilp), intent(in), optional | order ) |
Matrix exponential, function form: pure, stops on error.
| [in] | a | Input matrix a[n,n] |
| [in] | order | [optional] Order of the Pade approximant |
| complex(dp) function, dimension(:,:), allocatable la_matrix_functions::expm::la_z_expm_fun_err | ( | complex(dp), dimension(:,:), intent(in) | a, |
| integer(ilp), intent(in), optional | order, | ||
| type(la_state), intent(out) | err ) |
Matrix exponential, function form with a state return flag.
| [in] | a | Input matrix a[n,n] |
| [in] | order | [optional] Order of the Pade approximant |
| [out] | err | State return flag |