gmp_binomial()
function gmp_binomial(object|string|int $num, int $k): object
Computes a binomial coefficient.
Parameters:
$num(object|string|int)$k(int)
Returns: object
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how gmp_binomial is implemented in the compiler, see the internals page.