set_residual Subroutine

private subroutine set_residual(this, evpdim)

Setter for the residual vector, allocates and manually initialises the residual (= starting) vector using a uniform distribution on (-1, 1) for both the real and imaginary parts. Relies on the LAPACK routine zlarnv.

Arguments

TypeIntentOptionalAttributesName
class(arpack_t), intent(inout) :: this

type instance

integer, intent(in) :: evpdim

dimension of the eigenvalue problem


Contents

None