Processing math: 100%

beta Function

public pure elemental function beta(a, b) result(rst)

Computes the beta function.

The beta function is related to the gamma function by the following relationship. β(a,b)=Γ(a)Γ(b)Γ(a+b).

See Also

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: a

The first argument of the function.

real(kind=real64), intent(in) :: b

The second argument of the function.

Return Value real(kind=real64)

The value of the beta function at a and b.


Contents