stdlib_stats_distribution_gamma Module



Interfaces

public interface cdf_gamma

Version experimental

Gamma Distribution Cumulative Distribution Function (Specification)

  • private impure elemental function gamma_dist_cdf_rsp(x, shape, rate, loc) result(res)

    Arguments

    Type IntentOptional Attributes Name
    real(kind=sp), intent(in) :: x
    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_cdf_rdp(x, shape, rate, loc) result(res)

    Arguments

    Type IntentOptional Attributes Name
    real(kind=dp), intent(in) :: x
    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_cdf_csp(x, shape, rate, loc) result(res)

    Arguments

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

    Return Value real(kind=sp)

  • private impure elemental function gamma_dist_cdf_cdp(x, shape, rate, loc) result(res)

    Arguments

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

    Return Value real(kind=dp)

  • private impure elemental function gamma_dist_cdf_impure_rsp(x, shape, rate, err, loc) result(res)

    Arguments

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

    Return Value real(kind=sp)

  • private impure elemental function gamma_dist_cdf_impure_rdp(x, shape, rate, err, loc) result(res)

    Arguments

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

    Return Value real(kind=dp)

  • private impure elemental function gamma_dist_cdf_impure_csp(x, shape, rate, err, loc) result(res)

    Arguments

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

    Return Value real(kind=sp)

  • private impure elemental function gamma_dist_cdf_impure_cdp(x, shape, rate, err, loc) result(res)

    Arguments

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

    Return Value real(kind=dp)

public interface pdf_gamma

Version experimental

Gamma Distribution Probability Density Function (Specification)

  • private elemental function gamma_dist_pdf_rsp(x, shape, rate, loc) result(res)

    Arguments

    Type IntentOptional Attributes Name
    real(kind=sp), intent(in) :: x
    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 elemental function gamma_dist_pdf_rdp(x, shape, rate, loc) result(res)

    Arguments

    Type IntentOptional Attributes Name
    real(kind=dp), intent(in) :: x
    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 elemental function gamma_dist_pdf_csp(x, shape, rate, loc) result(res)

    Arguments

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

    Return Value real(kind=sp)

  • private elemental function gamma_dist_pdf_cdp(x, shape, rate, loc) result(res)

    Arguments

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

    Return Value real(kind=dp)

  • private impure elemental function gamma_dist_pdf_impure_rsp(x, shape, rate, err, loc) result(res)

    Arguments

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

    Return Value real(kind=sp)

  • private impure elemental function gamma_dist_pdf_impure_rdp(x, shape, rate, err, loc) result(res)

    Arguments

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

    Return Value real(kind=dp)

  • private impure elemental function gamma_dist_pdf_impure_csp(x, shape, rate, err, loc) result(res)

    Arguments

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

    Return Value real(kind=sp)

  • private impure elemental function gamma_dist_pdf_impure_cdp(x, shape, rate, err, loc) result(res)

    Arguments

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

    Return Value real(kind=dp)

public interface rvs_gamma

Version experimental

Gamma Distribution Random Variates (Specification)

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