fsml_exp_ppf Interface

public interface fsml_exp_ppf

Percent point function/quantile function for exponential distribution. Procedure uses bisection method. p should be between 0.0 and 1.0.

Calls

interface~~fsml_exp_ppf~~CallsGraph interface~fsml_exp_ppf fsml_exp_ppf proc~f_dst_exp_ppf f_dst_exp_ppf interface~fsml_exp_ppf->proc~f_dst_exp_ppf proc~f_dst_exp_ppf_core f_dst_exp_ppf_core proc~f_dst_exp_ppf->proc~f_dst_exp_ppf_core proc~s_err_print s_err_print proc~f_dst_exp_ppf->proc~s_err_print proc~s_err_warn s_err_warn proc~f_dst_exp_ppf->proc~s_err_warn proc~f_dst_exp_cdf_core f_dst_exp_cdf_core proc~f_dst_exp_ppf_core->proc~f_dst_exp_cdf_core proc~f_utl_r2c f_utl_r2c proc~s_err_print->proc~f_utl_r2c

Module Procedures

public impure function f_dst_exp_ppf(p, lambda, loc) result(x)

Impure wrapper function for f_dst_exp_ppf_core. Handles optional arguments and invalid values for arguments.

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: p

probability between 0.0 - 1.0

real(kind=wp), intent(in), optional :: lambda

lambda parameter, beta(scale) = 1/lambda = mu/mean

real(kind=wp), intent(in), optional :: loc

location parameter

Return Value real(kind=wp)

sample position