stdlib_math Module


Uses

  • module~~stdlib_math~~UsesGraph module~stdlib_math stdlib_math module~stdlib_kinds stdlib_kinds module~stdlib_math->module~stdlib_kinds iso_fortran_env iso_fortran_env module~stdlib_kinds->iso_fortran_env

Contents


Interfaces

public interface clip

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

    Arguments

    Type IntentOptional AttributesName
    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 AttributesName
    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 AttributesName
    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 AttributesName
    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 AttributesName
    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 AttributesName
    real(kind=dp), intent(in) :: x
    real(kind=dp), intent(in) :: xmin
    real(kind=dp), intent(in) :: xmax

    Return Value real(kind=dp)

  • private elemental function clip_qp(x, xmin, xmax) result(res)

    Arguments

    Type IntentOptional AttributesName
    real(kind=qp), intent(in) :: x
    real(kind=qp), intent(in) :: xmin
    real(kind=qp), intent(in) :: xmax

    Return Value real(kind=qp)