popval Interface

public interface popval

returns a new vector with val deleted from the input vector. only the first val is deleted if there are more vals in the input vector.


Contents


Module Procedures

private pure function popval_i1(vec, val) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=i1), intent(in), dimension(:), allocatable:: vec
integer(kind=i1), intent(in) :: val

Return Value integer(kind=i1),dimension(:), allocatable

private pure function popval_i2(vec, val) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=i2), intent(in), dimension(:), allocatable:: vec
integer(kind=i2), intent(in) :: val

Return Value integer(kind=i2),dimension(:), allocatable

private pure function popval_i4(vec, val) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=i4), intent(in), dimension(:), allocatable:: vec
integer(kind=i4), intent(in) :: val

Return Value integer(kind=i4),dimension(:), allocatable

private pure function popval_i8(vec, val) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=i8), intent(in), dimension(:), allocatable:: vec
integer(kind=i8), intent(in) :: val

Return Value integer(kind=i8),dimension(:), allocatable

private pure function popval_r4(vec, val) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=r4), intent(in), dimension(:), allocatable:: vec
real(kind=r4), intent(in) :: val

Return Value real(kind=r4),dimension(:), allocatable

private pure function popval_r8(vec, val) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=r8), intent(in), dimension(:), allocatable:: vec
real(kind=r8), intent(in) :: val

Return Value real(kind=r8),dimension(:), allocatable

private pure function popval_r16(vec, val) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=r16), intent(in), dimension(:), allocatable:: vec
real(kind=r16), intent(in) :: val

Return Value real(kind=r16),dimension(:), allocatable

private pure function popval_c4(vec, val) result(res)

Arguments

TypeIntentOptionalAttributesName
complex(kind=r4), intent(in), dimension(:), allocatable:: vec
complex(kind=r4), intent(in) :: val

Return Value complex(kind=r4),dimension(:), allocatable

private pure function popval_c8(vec, val) result(res)

Arguments

TypeIntentOptionalAttributesName
complex(kind=r8), intent(in), dimension(:), allocatable:: vec
complex(kind=r8), intent(in) :: val

Return Value complex(kind=r8),dimension(:), allocatable

private pure function popval_c16(vec, val) result(res)

Arguments

TypeIntentOptionalAttributesName
complex(kind=r16), intent(in), dimension(:), allocatable:: vec
complex(kind=r16), intent(in) :: val

Return Value complex(kind=r16),dimension(:), allocatable

private pure function popval_str(vec, val) result(res)

Arguments

TypeIntentOptionalAttributesName
character, intent(in), dimension(:), allocatable:: vec
character, intent(in) :: val

Return Value character,dimension(:), allocatable