rvs_gamma Interface

public interface rvs_gamma

Version experimental

Gamma Distribution Random Variates (Specification)


Module Procedures

private impure elemental function gamma_dist_rvs_1_rsp(shape) result(res)

Arguments

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

Return Value real(kind=sp)

private impure elemental function gamma_dist_rvs_1_rdp(shape) result(res)

Arguments

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

Return Value real(kind=dp)

private impure elemental function gamma_dist_rvs_1_csp(shape) result(res)

Arguments

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

Return Value complex(kind=sp)

private impure elemental function gamma_dist_rvs_1_cdp(shape) result(res)

Arguments

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

Return Value complex(kind=dp)

private impure elemental function gamma_dist_rvs_rsp(shape, rate, loc) result(res)

Arguments

Type IntentOptional Attributes Name
real(kind=sp), intent(in) :: shape
real(kind=sp), intent(in) :: rate
real(kind=sp), intent(in), optional :: loc

Return Value real(kind=sp)

private impure elemental function gamma_dist_rvs_rdp(shape, rate, loc) result(res)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: shape
real(kind=dp), intent(in) :: rate
real(kind=dp), intent(in), optional :: loc

Return Value real(kind=dp)

private impure elemental function gamma_dist_rvs_csp(shape, rate, loc) result(res)

Arguments

Type IntentOptional Attributes Name
complex(kind=sp), intent(in) :: shape
complex(kind=sp), intent(in) :: rate
complex(kind=sp), intent(in), optional :: loc

Return Value complex(kind=sp)

private impure elemental function gamma_dist_rvs_cdp(shape, rate, loc) result(res)

Arguments

Type IntentOptional Attributes Name
complex(kind=dp), intent(in) :: shape
complex(kind=dp), intent(in) :: rate
complex(kind=dp), intent(in), optional :: loc

Return Value complex(kind=dp)

private function gamma_dist_rvs_array_rsp(shape, rate, array_size, loc) result(res)

Arguments

Type IntentOptional Attributes Name
real(kind=sp), intent(in) :: shape
real(kind=sp), intent(in) :: rate
integer, intent(in) :: array_size
real(kind=sp), intent(in), optional :: loc

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

private function gamma_dist_rvs_array_rdp(shape, rate, array_size, loc) result(res)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: shape
real(kind=dp), intent(in) :: rate
integer, intent(in) :: array_size
real(kind=dp), intent(in), optional :: loc

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

private function gamma_dist_rvs_array_csp(shape, rate, array_size, loc) result(res)

Arguments

Type IntentOptional Attributes Name
complex(kind=sp), intent(in) :: shape
complex(kind=sp), intent(in) :: rate
integer, intent(in) :: array_size
complex(kind=sp), intent(in), optional :: loc

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

private function gamma_dist_rvs_array_cdp(shape, rate, array_size, loc) result(res)

Arguments

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

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