maxframe.tensor.special.beta#

maxframe.tensor.special.beta(a, b, out=None)[source]#

Beta function.

This function is defined in [1] as

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

where \(\Gamma\) is the gamma function.

Parameters:
  • a (array_like) – Real-valued arguments

  • b (array_like) – Real-valued arguments

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

Returns:

Value of the beta function

Return type:

scalar or ndarray

See also

gamma

the gamma function

betainc

the regularized incomplete beta function

betaln

the natural logarithm of the absolute value of the beta function

References