ReduceDimension Subroutine

public subroutine ReduceDimension(this, dim, ReducedMat, solver_parameters_in)

When we want to only compute the first n eigenvalues of a matrix, this routine will project out the higher eigenvalues.

Arguments

Type IntentOptional 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.


Contents