![]() |
aGrUM 3.0.0
a C++ library for (probabilistic) graphical models
|
Inline implementation of pow functions with integers, faster than stl implementation. More...
#include <agrum/base/core/math/pow.h>Go to the source code of this file.
Namespaces | |
| namespace | gum |
| gum is the global namespace for all aGrUM entities | |
Functions | |
Integers Pow utility methods | |
| unsigned long | gum::intPow (unsigned long base, unsigned long exponent) |
| Specialized pow function with integers (faster implementation). | |
| uint64_t | gum::int2Pow (uint64_t exponent) |
| Specialized base 2 pow function with integer. | |
| void | gum::superiorPow (unsigned long card, unsigned long &num_bits, unsigned long &new_card) |
| Compute the superior and closest power of two of an integer. | |
Inline implementation of pow functions with integers, faster than stl implementation.
Definition in file pow_inl.h.