When we want to only compute the first n eigenvalues of a matrix, this routine will project out the higher eigenvalues.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Matrix_ps), | intent(inout) | :: | this |
The starting matrix. |
||
integer, | intent(in) | :: | dim |
The number of eigenvalues ot keep. |
||
type(Matrix_ps), | intent(inout) | :: | ReducedMat |
a dimxdim matrix with the same first n eigenvalues as the first. |
||
type(SolverParameters_t), | intent(in), | optional | :: | solver_parameters_in |
The solver parameters. |