Provides small binomial coefficients.
More...
|
namespace | regina |
| Contains the entire Regina calculation engine.
|
|
namespace | regina::detail |
| Contains implementation details and common functionality for Regina's dimension-agnostic classes.
|
|
|
constexpr int | regina::binomSmall (int n, int k) |
| Returns the binomial coefficient n choose k in constant time for small arguments (n ≤ 16).
|
|
constexpr long | regina::binomMedium (int n, int k) |
| Returns the binomial coefficient n choose k in linear time for medium-sized arguments (n ≤ 29).
|
|
Provides small binomial coefficients.
Copyright © 1999-2025, The Regina development team
This software is released under the GNU General Public License,
with some additional permissions; see the source code for details.
For further information, or to submit a bug or other problem, please contact
Ben Burton (
bab@maths.uq.edu.au).