34 lines
973 B
Markdown
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)
|