stdlib_stats_distribution_exponential Module



Interfaces

public interface cdf_exp

Version experimental

Exponential Cumulative Distribution Function (Specification)

  • private elemental function cdf_exp_rsp(x, lambda) result(res)

    Arguments

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

    Return Value real(kind=sp)

  • private elemental function cdf_exp_rdp(x, lambda) result(res)

    Arguments

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

    Return Value real(kind=dp)

  • private elemental function cdf_exp_csp(x, lambda) result(res)

    Arguments

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

    Return Value real(kind=sp)

  • private elemental function cdf_exp_cdp(x, lambda) result(res)

    Arguments

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

    Return Value real(kind=dp)

public interface pdf_exp

Version experimental

Exponential Distribution Probability Density Function (Specification)

  • private elemental function pdf_exp_rsp(x, lambda) result(res)

    Arguments

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

    Return Value real(kind=sp)

  • private elemental function pdf_exp_rdp(x, lambda) result(res)

    Arguments

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

    Return Value real(kind=dp)

  • private elemental function pdf_exp_csp(x, lambda) result(res)

    Arguments

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

    Return Value real(kind=sp)

  • private elemental function pdf_exp_cdp(x, lambda) result(res)

    Arguments

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

    Return Value real(kind=dp)

public interface rvs_exp

Version experimental

Exponential Distribution Random Variates (Specification)

  • 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)