remove_value Module Subroutine

public pure module subroutine remove_value(arr, val)

Remove all instances of the value val from the array arr

Arguments

Type IntentOptional Attributes Name
integer, intent(inout), allocatable :: arr(:)
integer, intent(in) :: val