Files
2025-10-25 03:02:53 +03:00

34 lines
973 B
Markdown

[sf.cmath.beta]
# 29 Numerics library [[numerics]](./#numerics)
## 29.7 Mathematical functions for floating-point types [[c.math]](c.math#sf.cmath.beta)
### 29.7.6 Mathematical special functions [[sf.cmath]](sf.cmath#beta)
#### 29.7.6.4 Beta function [sf.cmath.beta]
[🔗](#lib:beta)
`floating-point-type beta(floating-point-type x, floating-point-type y);
float betaf(float x, float y);
long double betal(long double x, long double y);
`
[1](#1)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/numerics.tex#L10092)
*Effects*: These functions compute
the beta function
of their respective argumentsx and y[.](#1.sentence-1)
[2](#2)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/numerics.tex#L10099)
*Returns*: B(x,y),
where B is given by Formula [29.24](#eq:sf.cmath.beta),x is x andy is y[.](#2.sentence-1)
B(x,y)=Γ(x)Γ(y)Γ(x+y) , for x>0, y>0(29.24)