tmp/tmphcwjfha_/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Beta function <a id="sf.cmath.beta">[[sf.cmath.beta]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
double beta(double x, double y);
|
| 5 |
+
float betaf(float x, float y);
|
| 6 |
+
long double betal(long double x, long double y);
|
| 7 |
+
```
|
| 8 |
+
|
| 9 |
+
*Effects:* These functions compute the beta function of their respective
|
| 10 |
+
arguments `x` and `y`.
|
| 11 |
+
|
| 12 |
+
*Returns:* $$%
|
| 13 |
+
\mathsf{B}(x, y) =
|
| 14 |
+
\frac{ \Gamma(x) \, \Gamma(y) }
|
| 15 |
+
{ \Gamma(x+y) },
|
| 16 |
+
\quad \mbox{for $x > 0$,\, $y > 0$}$$ where x is `x` and y is
|
| 17 |
+
`y`.
|
| 18 |
+
|