rvs_exp Interface

public interface rvs_exp

Version experimental

Exponential Distribution Random Variates (Specification)


Module Procedures

private impure function rvs_exp_0_rsp() result(res)

Arguments

None

Return Value real(kind=sp)

private impure elemental function rvs_exp_rsp(lambda) result(res)

Arguments

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

Return Value real(kind=sp)

private impure elemental function rvs_exp_rdp(lambda) result(res)

Arguments

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

Return Value real(kind=dp)

private impure elemental function rvs_exp_csp(lambda) result(res)

Arguments

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

Return Value complex(kind=sp)

private impure elemental function rvs_exp_cdp(lambda) result(res)

Arguments

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

Return Value complex(kind=dp)

private impure function rvs_exp_array_rsp(lambda, array_size) result(res)

Arguments

Type IntentOptional Attributes Name
real(kind=sp), intent(in) :: lambda
integer, intent(in) :: array_size

Return Value real(kind=sp), (array_size)

private impure function rvs_exp_array_rdp(lambda, array_size) result(res)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: lambda
integer, intent(in) :: array_size

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

private impure function rvs_exp_array_csp(lambda, array_size) result(res)

Arguments

Type IntentOptional Attributes Name
complex(kind=sp), intent(in) :: lambda
integer, intent(in) :: array_size

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

private impure function rvs_exp_array_cdp(lambda, array_size) result(res)

Arguments

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

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