|
subroutine | invert_matrix_d (a, a_inverse, eval_error, option, improve) |
| Compute the inverse of the n by n real matrix a using the LAPACK library.
|
|
subroutine | invert_matrix_z (a, a_inverse, eval_error, option) |
| Compute the inverse of the n by n complex matrix a using the LAPACK library.
|
|
Definition at line 70 of file mathlib.F.
◆ invert_matrix_d()
subroutine mathlib::invert_matrix::invert_matrix_d |
( |
real(kind=dp), dimension(:, :), intent(in) |
a, |
|
|
real(kind=dp), dimension(:, :), intent(out) |
a_inverse, |
|
|
real(kind=dp), intent(out) |
eval_error, |
|
|
character(len=1), intent(in), optional |
option, |
|
|
logical, intent(in), optional |
improve |
|
) |
| |
Compute the inverse of the n by n real matrix a using the LAPACK library.
- Parameters
-
a | ... |
a_inverse | ... |
eval_error | ... |
option | ... |
improve | ... |
- Date
- 23.03.1999
- Variables
- a : Real matrix to be inverted (input).
- a_inverse: Inverse of the matrix a (output).
- a_lu : LU factorization of matrix a.
- a_norm : Norm of matrix a.
- error : Estimated error of the inversion.
- r_cond : Reciprocal condition number of the matrix a.
- trans : "N" => invert a
- "T" => invert transpose(a)
- Author
- MK
- Version
- 1.0
- Note
- NB add improve argument, used to disable call to dgerfs
Definition at line 644 of file mathlib.F.
◆ invert_matrix_z()
subroutine mathlib::invert_matrix::invert_matrix_z |
( |
complex(kind=dp), dimension(:, :), intent(in) |
a, |
|
|
complex(kind=dp), dimension(:, :), intent(out) |
a_inverse, |
|
|
real(kind=dp), intent(out) |
eval_error, |
|
|
character(len=1), intent(in), optional |
option |
|
) |
| |
Compute the inverse of the n by n complex matrix a using the LAPACK library.
- Parameters
-
a | ... |
a_inverse | ... |
eval_error | ... |
option | ... |
- Date
- 08.06.2009
- Variables
- a : Complex matrix to be inverted (input).
- a_inverse: Inverse of the matrix a (output).
- a_lu : LU factorization of matrix a.
- a_norm : Norm of matrix a.
- error : Estimated error of the inversion.
- r_cond : Reciprocal condition number of the matrix a.
- trans : "N" => invert a
- "T" => invert transpose(a)
- Author
- MK
- Version
- 1.0
Definition at line 800 of file mathlib.F.
The documentation for this interface was generated from the following file: