rvs_uniform Interface

public interface rvs_uniform

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


Module Procedures

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

Type IntentOptional Attributes Name
integer(kind=int8), intent(in) :: scale

Return Value integer(kind=int8)

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

Arguments

Type IntentOptional Attributes Name
integer(kind=int16), intent(in) :: scale

Return Value integer(kind=int16)

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

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(in) :: scale

Return Value integer(kind=int32)

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

Arguments

Type IntentOptional Attributes Name
integer(kind=int64), intent(in) :: scale

Return Value integer(kind=int64)

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

Arguments

Type IntentOptional Attributes Name
real(kind=sp), intent(in) :: scale

Return Value real(kind=sp)

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

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: scale

Return Value real(kind=dp)

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

Arguments

Type IntentOptional Attributes Name
complex(kind=sp), intent(in) :: scale

Return Value complex(kind=sp)

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

Arguments

Type IntentOptional Attributes Name
complex(kind=dp), intent(in) :: scale

Return Value complex(kind=dp)

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

Arguments

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Type IntentOptional Attributes Name
complex(kind=dp), intent(in) :: loc
complex(kind=dp), intent(in) :: scale
integer, intent(in) :: array_size

Return Value complex(kind=dp), (array_size)