stdlib_stats_distribution_uniform Module


Uses

  • module~~stdlib_stats_distribution_uniform~~UsesGraph module~stdlib_stats_distribution_uniform stdlib_stats_distribution_uniform module~stdlib_random stdlib_random module~stdlib_stats_distribution_uniform->module~stdlib_random module~stdlib_kinds stdlib_kinds module~stdlib_stats_distribution_uniform->module~stdlib_kinds module~stdlib_error stdlib_error module~stdlib_stats_distribution_uniform->module~stdlib_error module~stdlib_random->module~stdlib_kinds module~stdlib_random->module~stdlib_error module~stdlib_optval stdlib_optval module~stdlib_random->module~stdlib_optval iso_c_binding iso_c_binding module~stdlib_kinds->iso_c_binding iso_fortran_env iso_fortran_env module~stdlib_kinds->iso_fortran_env module~stdlib_error->iso_fortran_env module~stdlib_error->module~stdlib_optval module~stdlib_optval->module~stdlib_kinds

Used by

  • module~~stdlib_stats_distribution_uniform~~UsedByGraph module~stdlib_stats_distribution_uniform stdlib_stats_distribution_uniform module~stdlib_stats_distribution_exponential stdlib_stats_distribution_exponential module~stdlib_stats_distribution_exponential->module~stdlib_stats_distribution_uniform module~stdlib_stats_distribution_normal stdlib_stats_distribution_normal module~stdlib_stats_distribution_normal->module~stdlib_stats_distribution_uniform

Contents


Interfaces

public interface cdf_uniform

Get uniform distribution cumulative distribution function (cdf) for integer, real and complex variables. (Specification)

  • private elemental function cdf_unif_iint8(x, loc, scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int8), intent(in) :: x
    integer(kind=int8), intent(in) :: loc
    integer(kind=int8), intent(in) :: scale

    Return Value real

  • private elemental function cdf_unif_iint16(x, loc, scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int16), intent(in) :: x
    integer(kind=int16), intent(in) :: loc
    integer(kind=int16), intent(in) :: scale

    Return Value real

  • private elemental function cdf_unif_iint32(x, loc, scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int32), intent(in) :: x
    integer(kind=int32), intent(in) :: loc
    integer(kind=int32), intent(in) :: scale

    Return Value real

  • private elemental function cdf_unif_iint64(x, loc, scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int64), intent(in) :: x
    integer(kind=int64), intent(in) :: loc
    integer(kind=int64), intent(in) :: scale

    Return Value real

  • private elemental function cdf_unif_rsp(x, loc, scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=sp), intent(in) :: x
    real(kind=sp), intent(in) :: loc
    real(kind=sp), intent(in) :: scale

    Return Value real(kind=sp)

  • private elemental function cdf_unif_rdp(x, loc, scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=dp), intent(in) :: x
    real(kind=dp), intent(in) :: loc
    real(kind=dp), intent(in) :: scale

    Return Value real(kind=dp)

  • private elemental function cdf_unif_csp(x, loc, scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    complex(kind=sp), intent(in) :: x
    complex(kind=sp), intent(in) :: loc
    complex(kind=sp), intent(in) :: scale

    Return Value real(kind=sp)

  • private elemental function cdf_unif_cdp(x, loc, scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    complex(kind=dp), intent(in) :: x
    complex(kind=dp), intent(in) :: loc
    complex(kind=dp), intent(in) :: scale

    Return Value real(kind=dp)

public interface pdf_uniform

Get uniform distribution probability density (pdf) for integer, real and complex variables. (Specification)

  • private elemental function pdf_unif_iint8(x, loc, scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int8), intent(in) :: x
    integer(kind=int8), intent(in) :: loc
    integer(kind=int8), intent(in) :: scale

    Return Value real

  • private elemental function pdf_unif_iint16(x, loc, scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int16), intent(in) :: x
    integer(kind=int16), intent(in) :: loc
    integer(kind=int16), intent(in) :: scale

    Return Value real

  • private elemental function pdf_unif_iint32(x, loc, scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int32), intent(in) :: x
    integer(kind=int32), intent(in) :: loc
    integer(kind=int32), intent(in) :: scale

    Return Value real

  • private elemental function pdf_unif_iint64(x, loc, scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int64), intent(in) :: x
    integer(kind=int64), intent(in) :: loc
    integer(kind=int64), intent(in) :: scale

    Return Value real

  • private elemental function pdf_unif_rsp(x, loc, scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=sp), intent(in) :: x
    real(kind=sp), intent(in) :: loc
    real(kind=sp), intent(in) :: scale

    Return Value real(kind=sp)

  • private elemental function pdf_unif_rdp(x, loc, scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=dp), intent(in) :: x
    real(kind=dp), intent(in) :: loc
    real(kind=dp), intent(in) :: scale

    Return Value real(kind=dp)

  • private elemental function pdf_unif_csp(x, loc, scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    complex(kind=sp), intent(in) :: x
    complex(kind=sp), intent(in) :: loc
    complex(kind=sp), intent(in) :: scale

    Return Value real(kind=sp)

  • private elemental function pdf_unif_cdp(x, loc, scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    complex(kind=dp), intent(in) :: x
    complex(kind=dp), intent(in) :: loc
    complex(kind=dp), intent(in) :: scale

    Return Value real(kind=dp)

public interface rvs_uniform

Get uniformly distributed random variate for integer, real and complex variables. (Specification)

  • private impure elemental function rvs_unif_0_rsp() result(res)

    Arguments

    None

    Return Value real(kind=sp)

  • private impure elemental function rvs_unif_1_iint8(scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int8), intent(in) :: scale

    Return Value integer(kind=int8)

  • private impure elemental function rvs_unif_1_iint16(scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int16), intent(in) :: scale

    Return Value integer(kind=int16)

  • private impure elemental function rvs_unif_1_iint32(scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int32), intent(in) :: scale

    Return Value integer(kind=int32)

  • private impure elemental function rvs_unif_1_iint64(scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int64), intent(in) :: scale

    Return Value integer(kind=int64)

  • private impure elemental function rvs_unif_1_rsp(scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=sp), intent(in) :: scale

    Return Value real(kind=sp)

  • private impure elemental function rvs_unif_1_rdp(scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=dp), intent(in) :: scale

    Return Value real(kind=dp)

  • private impure elemental function rvs_unif_1_csp(scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    complex(kind=sp), intent(in) :: scale

    Return Value complex(kind=sp)

  • private impure elemental function rvs_unif_1_cdp(scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    complex(kind=dp), intent(in) :: scale

    Return Value complex(kind=dp)

  • private impure elemental function rvs_unif_iint8(loc, scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int8), intent(in) :: loc
    integer(kind=int8), intent(in) :: scale

    Return Value integer(kind=int8)

  • private impure elemental function rvs_unif_iint16(loc, scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int16), intent(in) :: loc
    integer(kind=int16), intent(in) :: scale

    Return Value integer(kind=int16)

  • private impure elemental function rvs_unif_iint32(loc, scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int32), intent(in) :: loc
    integer(kind=int32), intent(in) :: scale

    Return Value integer(kind=int32)

  • private impure elemental function rvs_unif_iint64(loc, scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int64), intent(in) :: loc
    integer(kind=int64), intent(in) :: scale

    Return Value integer(kind=int64)

  • private impure elemental function rvs_unif_rsp(loc, scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=sp), intent(in) :: loc
    real(kind=sp), intent(in) :: scale

    Return Value real(kind=sp)

  • private impure elemental function rvs_unif_rdp(loc, scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=dp), intent(in) :: loc
    real(kind=dp), intent(in) :: scale

    Return Value real(kind=dp)

  • private impure elemental function rvs_unif_csp(loc, scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    complex(kind=sp), intent(in) :: loc
    complex(kind=sp), intent(in) :: scale

    Return Value complex(kind=sp)

  • private impure elemental function rvs_unif_cdp(loc, scale) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    complex(kind=dp), intent(in) :: loc
    complex(kind=dp), intent(in) :: scale

    Return Value complex(kind=dp)

  • private function rvs_unif_array_iint8(loc, scale, array_size) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int8), intent(in) :: loc
    integer(kind=int8), intent(in) :: scale
    integer, intent(in) :: array_size

    Return Value integer(kind=int8)(array_size)

  • private function rvs_unif_array_iint16(loc, scale, array_size) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int16), intent(in) :: loc
    integer(kind=int16), intent(in) :: scale
    integer, intent(in) :: array_size

    Return Value integer(kind=int16)(array_size)

  • private function rvs_unif_array_iint32(loc, scale, array_size) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int32), intent(in) :: loc
    integer(kind=int32), intent(in) :: scale
    integer, intent(in) :: array_size

    Return Value integer(kind=int32)(array_size)

  • private function rvs_unif_array_iint64(loc, scale, array_size) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int64), intent(in) :: loc
    integer(kind=int64), intent(in) :: scale
    integer, intent(in) :: array_size

    Return Value integer(kind=int64)(array_size)

  • private function rvs_unif_array_rsp(loc, scale, array_size) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=sp), intent(in) :: loc
    real(kind=sp), intent(in) :: scale
    integer, intent(in) :: array_size

    Return Value real(kind=sp)(array_size)

  • private function rvs_unif_array_rdp(loc, scale, array_size) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=dp), intent(in) :: loc
    real(kind=dp), intent(in) :: scale
    integer, intent(in) :: array_size

    Return Value real(kind=dp)(array_size)

  • private function rvs_unif_array_csp(loc, scale, array_size) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    complex(kind=sp), intent(in) :: loc
    complex(kind=sp), intent(in) :: scale
    integer, intent(in) :: array_size

    Return Value complex(kind=sp)(array_size)

  • private function rvs_unif_array_cdp(loc, scale, array_size) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    complex(kind=dp), intent(in) :: loc
    complex(kind=dp), intent(in) :: scale
    integer, intent(in) :: array_size

    Return Value complex(kind=dp)(array_size)

public interface shuffle

Fisher-Yates shuffle algorithm for a rank one array of integer, real and complex variables. (Specification)

  • private function shuffle_iint8(list) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int8), intent(in) :: list(:)

    Return Value integer(kind=int8)(size(list))

  • private function shuffle_iint16(list) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int16), intent(in) :: list(:)

    Return Value integer(kind=int16)(size(list))

  • private function shuffle_iint32(list) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int32), intent(in) :: list(:)

    Return Value integer(kind=int32)(size(list))

  • private function shuffle_iint64(list) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    integer(kind=int64), intent(in) :: list(:)

    Return Value integer(kind=int64)(size(list))

  • private function shuffle_rsp(list) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=sp), intent(in) :: list(:)

    Return Value real(kind=sp)(size(list))

  • private function shuffle_rdp(list) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=dp), intent(in) :: list(:)

    Return Value real(kind=dp)(size(list))

  • private function shuffle_csp(list) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    complex(kind=sp), intent(in) :: list(:)

    Return Value complex(kind=sp)(size(list))

  • private function shuffle_cdp(list) result(res)

    Arguments

    TypeIntentOptionalAttributesName
    complex(kind=dp), intent(in) :: list(:)

    Return Value complex(kind=dp)(size(list))