clip Interface

public interface clip

Contents


Module Procedures

private elemental function clip_int8(x, xmin, xmax) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int8), intent(in) :: x
integer(kind=int8), intent(in) :: xmin
integer(kind=int8), intent(in) :: xmax

Return Value integer(kind=int8)

private elemental function clip_int16(x, xmin, xmax) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int16), intent(in) :: x
integer(kind=int16), intent(in) :: xmin
integer(kind=int16), intent(in) :: xmax

Return Value integer(kind=int16)

private elemental function clip_int32(x, xmin, xmax) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int32), intent(in) :: x
integer(kind=int32), intent(in) :: xmin
integer(kind=int32), intent(in) :: xmax

Return Value integer(kind=int32)

private elemental function clip_int64(x, xmin, xmax) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int64), intent(in) :: x
integer(kind=int64), intent(in) :: xmin
integer(kind=int64), intent(in) :: xmax

Return Value integer(kind=int64)

private elemental function clip_sp(x, xmin, xmax) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=sp), intent(in) :: x
real(kind=sp), intent(in) :: xmin
real(kind=sp), intent(in) :: xmax

Return Value real(kind=sp)

private elemental function clip_dp(x, xmin, xmax) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=dp), intent(in) :: x
real(kind=dp), intent(in) :: xmin
real(kind=dp), intent(in) :: xmax

Return Value real(kind=dp)