![]() |
aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
|
Implementation of pow functions with integers, faster than stl implementation. More...
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). | |
| unsigned long | gum::int2Pow (unsigned long 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. | |
Implementation of pow functions with integers, faster than stl implementation.
Definition in file pow.h.