clip Interface

public interface clip

Module Procedures

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

Arguments

Type IntentOptional Attributes Name
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

Type IntentOptional Attributes Name
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

Type IntentOptional Attributes Name
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

Type IntentOptional Attributes Name
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

Type IntentOptional Attributes Name
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

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: x
real(kind=dp), intent(in) :: xmin
real(kind=dp), intent(in) :: xmax

Return Value real(kind=dp)