A module for computing the eigenvalues of a matrix.
Compute the eigendecomposition of a matrix.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Matrix_ps), | intent(in) | :: | this |
The matrix to decompose. |
||
type(Matrix_ps), | intent(inout) | :: | eigenvalues |
Diagonal matrix of eigenvalues. |
||
type(Matrix_ps), | intent(inout), | optional | :: | eigenvectors_in |
The eigenvectors of a matrix. |
|
integer, | intent(in), | optional | :: | nvals_in |
The number of desired eigenvalues. |
|
type(SolverParameters_t), | intent(in), | optional | :: | solver_parameters_in |
Parameters for computing |
Apply an arbitrary matrix function defined by a matrix map as a
Type | Intent | Optional | Attributes | Name | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
type(Matrix_ps), | intent(in) | :: | this |
The matrix to apply the function to. |
||||||||||||||||
type(Matrix_ps), | intent(inout) | :: | ResultMat |
The transformed matrix |
||||||||||||||||
private function func(val) result(outval)The procedure to apply to each eigenvalue. Arguments
Return Value real(kind=NTREAL)The transformed value. |
||||||||||||||||||||
type(SolverParameters_t), | intent(in), | optional | :: | solver_parameters_in |
Parameters for computing |