Unverified 提交 686811ca authored 作者: Adriano M. Yoshino's avatar Adriano M. Yoshino 提交者: GitHub

Fix docstrings reference for the betainc_grad function (#412)

上级 b9687668
...@@ -1357,13 +1357,13 @@ betainc = BetaInc(upgrade_to_float_no_complex, name="betainc") ...@@ -1357,13 +1357,13 @@ betainc = BetaInc(upgrade_to_float_no_complex, name="betainc")
def betainc_grad(p, q, x, wrtp: bool): def betainc_grad(p, q, x, wrtp: bool):
"""Gradient of the regularized lower gamma function (P) wrt to the first """
argument (k, a.k.a. alpha). Gradient of the regularized incomplete beta function wrt to the first
argument `p` (aka alpha) or the second argument `q` (aka beta),
Adapted from STAN `grad_reg_lower_inc_gamma.hpp` depending on whether `wrtp` is true.
Reference: Gautschi, W. (1979). A computational procedure for incomplete gamma functions. Reference: Boik, R. J., & Robison-Cox, J. F. (1998). Derivatives of the incomplete beta function.
ACM Transactions on Mathematical Software (TOMS), 5(4), 466-481. Journal of Statistical Software, 3(1), 1-20.
""" """
def _betainc_der(p, q, x, wrtp, skip_loop): def _betainc_der(p, q, x, wrtp, skip_loop):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论