mars.tensor.special.betainc

mars.tensor.special.betainc(a, b, x, out=None, **kwargs)[源代码]

Incomplete beta function.

Computes the incomplete beta function, defined as 1:

\[I_x(a, b) = \frac{\Gamma(a+b)}{\Gamma(a)\Gamma(b)} \int_0^x t^{a-1}(1-t)^{b-1}dt,\]

for \(0 \leq x \leq 1\).

参数
  • a (array-like) – Positive, real-valued parameters

  • b (array-like) – Positive, real-valued parameters

  • x (array-like) – Real-valued such that \(0 \leq x \leq 1\), the upper limit of integration

  • out (ndarray, optional) – Optional output array for the function values

返回

Value of the incomplete beta function

返回类型

array-like

参见

beta

beta function

betaincinv

inverse of the incomplete beta function

提示

The incomplete beta function is also sometimes defined without the gamma terms, in which case the above definition is the so-called regularized incomplete beta function. Under this definition, you can get the incomplete beta function by multiplying the result of the SciPy function by beta.

引用

1

NIST Digital Library of Mathematical Functions https://dlmf.nist.gov/8.17